Endpoint Playground
Test Crawlora's GDELT Tone Chart API with realistic prefilled parameters. Generate a cURL request, inspect the expected structured JSON response, and open the full docs or pricing page when you are ready to integrate this public web data extraction endpoint into your application.
curl "https://api.crawlora.net/api/v1/gdelt/tonechart?query=<query>" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| query | string | Yes | GDELT query string. Same syntax as gdelt-search's query. | |
| country | string | No | Convenience source-country filter, appended to the query as sourcecountry:VALUE. | |
| language | string | No | Convenience source-language filter, appended to the query as sourcelang:VALUE. | |
| domain | string | No | Convenience domain filter, appended to the query as domain:VALUE. | |
| timespan | string | No | Relative time window ending now, e.g. 1h, 2d, 1w, 3m. Cannot be combined with from/to. | |
| from | string | No | Start of an absolute time window. Accepts YYYY-MM-DD, RFC3339, or GDELT's raw YYYYMMDDHHMMSS. Cannot be combined with timespan. | |
| to | string | No | End of an absolute time window. Same formats as from. |
{
"code": 200,
"msg": "OK",
"data": {
"query": "climate change",
"source_url": "https://api.gdeltproject.org/api/v2/doc/doc?format=json&mode=tonechart&query=climate+change",
"fetched_at": "2026-08-20T10:00:00Z",
"bins": [
{
"bin": -5,
"count": 12,
"top_articles": [
{
"url": "https://www.example.com/news/climate-report",
"title": "Climate report warns of rising sea levels"
}
]
}
]
}
}Public Playground
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
Return a sentiment (tone) histogram for a query's matching
{
"code": 200,
"msg": "OK",
"data": {
"query": "climate change",
"source_url": "https://api.gdeltproject.org/api/v2/doc/doc?format=json&mode=tonechart&query=climate+change",
"fetched_at": "2026-08-20T10:00:00Z",
"bins": [
{
"bin": -5,
"count": 12,
"top_articles": [
{
"url": "https://www.example.com/news/climate-report",
"title": "Climate report warns of rising sea levels"
}
]
}
]
}
}curl "https://api.crawlora.net/api/v1/gdelt/tonechart?query=<query>" \
-H "x-api-key: $CRAWLORA_API_KEY"