Endpoint Playground
Test Crawlora's GDELT Timeline 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/timeline?query=<query>&metric=volume" \
-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. | |
| metric | string | No | volume | Timeline metric. lang and country return one series per language/country instead of one aggregate series. |
| 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. | |
| smooth | integer | No | Moving-window smoothing applied to the timeline, in steps. 0 disables smoothing. |
{
"code": 200,
"msg": "OK",
"data": {
"query": "climate change",
"metric": "volume",
"source_url": "https://api.gdeltproject.org/api/v2/doc/doc?format=json&mode=timelinevol&query=climate+change",
"fetched_at": "2026-08-20T10:00:00Z",
"series": [
{
"series": "climate change",
"points": [
{
"date": "2026-08-13T00:00:00Z",
"value": 0.42
},
{
"date": "2026-08-14T00:00:00Z",
"value": 0.51
}
]
}
]
}
}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 how a query's global news coverage has trended over
{
"code": 200,
"msg": "OK",
"data": {
"query": "climate change",
"metric": "volume",
"source_url": "https://api.gdeltproject.org/api/v2/doc/doc?format=json&mode=timelinevol&query=climate+change",
"fetched_at": "2026-08-20T10:00:00Z",
"series": [
{
"series": "climate change",
"points": [
{
"date": "2026-08-13T00:00:00Z",
"value": 0.42
},
{
"date": "2026-08-14T00:00:00Z",
"value": 0.51
}
]
}
]
}
}curl "https://api.crawlora.net/api/v1/gdelt/timeline?query=<query>" \
-H "x-api-key: $CRAWLORA_API_KEY"