Get GDELT Coverage Breakdown
gdelt_get_coverage_breakdownBreak down news coverage volume over time by source language or source country, returning a multi-series time series (one series per language or country). Shows which countries or languages drove early vs. late coverage — useful for tracing how a story propagated geographically or across language communities. Ranks every series by the sum of its values and returns limit of them per page (default 10, cap 75); when more remain it returns nextOffset — pass it back as offset with otherwise identical inputs for the next page. otherSeriesLabels names every series not on the page — pass any labels as the series input to get only those series, complete. Every series carries sum (its ranking key), pointCount, and peak; includePoints: false leaves out its data points for a lighter ranking. GDELT answers a timestep without matching coverage with 0 and leaves out a timestep its own data lacks; missingTimesteps counts those left out between the first and last returned. Each series whose name maps to one GDELT source code carries operator (sourcecountry: or sourcelang:) — add it to a gdelt_search_articles or gdelt_get_coverage_timeline query to read that source's articles or volume. Values are normalized: each point is the topic's share of that source's media output, not an absolute article count, so values from different sources do not add up to a share. Small media markets with concentrated coverage therefore rank above large markets with diverse output — a high value means the topic dominated that source's coverage, not that it published the most articles. Use breakdownBy "country" with the signal-detection chain to map geographic attention, or "language" to detect non-English media surges.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>",
"breakdownBy": "<breakdownBy>"
},
"name": "gdelt_get_coverage_breakdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum series per page (default 10, cap 75). Larger counts clamp with limitClamp; strict deployments reject them. | |
| query | Yes | Search query using GDELT syntax. Same operators as gdelt_search_articles: phrases, boolean OR in parentheses, sourcecountry:, sourcelang:, domain:, theme: (GKG theme identifiers come from gdelt_search_themes). | |
| offset | No | Zero-based series offset — into the ranked overview, or into the series named in series. Pass nextOffset from the preceding response, with otherwise identical inputs, to get the next page. | |
| series | No | Exact series labels to return instead of the ranked overview, e.g. ["Portuguese Volume Intensity", "Vietnamese Volume Intensity"]. Take them verbatim from otherSeriesLabels or topSeries[].label in a response, or from the label list an unknown_series error prints — labels, not operators, which go in query. Each one comes back complete under selectedSeries (its points left out only under includePoints: false), in the order requested (every series carrying it, when several do); a label that matches nothing is rejected rather than silently skipped. Omit to get the ranked overview. | |
| timespan | No | Time window relative to now, a number followed by its unit, minimum "15min"; other examples: "24h", "7d", "1m". Ignored when startDatetime/endDatetime are set. Maximum 3 months. | |
| smoothing | No | Trailing moving-average width in timesteps (0–30; 0 or 1 leaves values unsmoothed). Width N needs N source steps, omitting leading steps without a full window and potentially shifting peaks later. | |
| breakdownBy | Yes | Breakdown dimension: "language" for source language time series, "country" for source country time series. | |
| endDatetime | No | End datetime in GDELT format YYYYMMDDHHMMSS — exactly 14 digits, no separators (e.g. 20240131235959). Must pair with startDatetime; supplying only one of the two is rejected. The window may predate the last 3 months. The window must span at least 30 minutes, the shortest the GDELT DOC API accepts; a shorter one is answered from the server's local GKG mirror where one runs, and refused otherwise. | |
| includePoints | No | Whether each series carries its data points. false returns every series of topSeries or selectedSeries without data, keeping its label, operator, sum, pointCount, and peak; ranking, paging, otherSeriesLabels, and every other field are unchanged. Default true. | |
| startDatetime | No | Start datetime in GDELT format YYYYMMDDHHMMSS — exactly 14 digits, no separators (e.g. 20240101000000). Must pair with endDatetime; supplying only one of the two is rejected. The window may predate the last 3 months. The window must span at least 30 minutes, the shortest the GDELT DOC API accepts; a shorter one is answered from the server's local GKG mirror where one runs, and refused otherwise. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| notice | No | When the query's terms were joined by OR outside parentheses, the grouped query that ran. Guidance when the query matched no coverage in the window — how to broaden the query or extend the window — or, when this response is one page of several, which series it returned out of how many. Which timesteps GDELT left out of the breakdown (see missingTimesteps), and what smoothing omits. When the server's local GKG mirror answered (source: gkg_mirror), why, how its figures differ from the DOC API's, and how many matching articles a country breakdown left out for having no known source country. Absent when the query ran as given and the DOC API answered a complete, unsmoothed breakdown whose every series fit in one response. | |
| source | No | Where this answer came from: doc_api, the GDELT DOC API, or gkg_mirror, the server's local mirror of GDELT's Global Knowledge Graph, which answers when the DOC API refuses the request or returns nothing, and in its place when the startDatetime/endDatetime window is under the 30 minutes the DOC API accepts. Present on every answer while the server runs a mirror; absent otherwise. | |
| attempts | No | Each source tried for this call, in order. Present only when the DOC API did not answer with data and the mirror was consulted. | |
| coverage | No | Present only when the mirror answered less than the requested window. Every count, share, and article in this response comes from answeredStart through answeredEnd; nothing outside it, or in a missing slot, was counted. | |
| topSeries | No | The ranked overview: every series ranked by the sum of its values, those of this page in rank order, each with its points unless includePoints is false. Omitted when the series input selects series instead. | |
| limitClamp | No | Present only when the requested count exceeded the per-call cap: the call ran exactly as a call at the cap, and every count, notice, and continuation in this response reflects the applied value. | |
| nextOffset | No | Offset of the next page, for the same inputs. Absent when this page reaches the last series. | |
| totalCount | No | Total number of series GDELT returned, before paging. | |
| breakdownBy | No | Breakdown dimension used for this response. | |
| endDatetime | No | Echoed end datetime when provided (YYYYMMDDHHMMSS). | |
| staleResponse | No | Present only when the refetch of this exact request was refused, failed, or came back empty, and the response is GDELT's stored answer from fetchedAt instead. It holds nothing published after fetchedAt; a relative timespan covers the window ending at fetchedAt, not now. Absent on a live answer. | |
| startDatetime | No | Echoed start datetime when provided (YYYYMMDDHHMMSS). | |
| dateResolution | No | Temporal resolution of data points — 15min, hour, or day — as GDELT reports it, or else inferred from the spacing of the returned timesteps. Omitted when GDELT reports none and fewer than two distinct timesteps came back. | |
| effectiveQuery | No | The query the call ran, for use in follow-up calls: the query given or, when it only joins terms with OR outside parentheses, those terms as one group. | |
| selectedSeries | No | Complete, untruncated time series for the labels requested via the series input — those of this page, in the order requested, without their points under includePoints: false. Omitted when series was not supplied. | |
| missingTimesteps | No | Timesteps GDELT left out between the first and last timestep of the whole breakdown, across every series, at dateResolution — gaps in GDELT's data, not zero coverage, which GDELT returns as 0. The notice names each missing run. The same on every page, under series, and with or without points. Omitted when none are missing, and never reported for an answer from the local GKG mirror. | |
| otherSeriesLabels | No | Label of every ranked series not on this page, in rank order, on every overview page. Pass any of them to the series input to retrieve that series' complete data. Omitted when this page holds every series, or when the series input selects series instead. |