Export a run's matched items as CSV
curl --request GET \
--url https://gdeltcloud.com/api/v2/monitors/{id}/runs/{runId}/matches.csv \
--header 'Authorization: Bearer <token>'import requests
url = "https://gdeltcloud.com/api/v2/monitors/{id}/runs/{runId}/matches.csv"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gdeltcloud.com/api/v2/monitors/{id}/runs/{runId}/matches.csv', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"data": []
}Monitors
Export a run's matched items as CSV
Downloads a Monitor run’s retained matched items as UTF-8 CSV, one page of up to 100 rows per call: the frozen as-triggered fields, the current hydrated card, reconciliation status and run-level counts. Pass no cursor for the first rows, then send back the X-GDELT-Next-Cursor header of each export until a response arrives without it. X-GDELT-Export-Row-Count says how many rows a file holds, and row_number keeps each row’s place in the run. A call inside the run’s first 100 records is free; a call with a row past them costs 1 query unit, the price of the same page from the matches endpoint. The export may hold fewer rows than result_count when the writer reports matched_items_truncated=true.
GET
/
api
/
v2
/
monitors
/
{id}
/
runs
/
{runId}
/
matches.csv
Export a run's matched items as CSV
curl --request GET \
--url https://gdeltcloud.com/api/v2/monitors/{id}/runs/{runId}/matches.csv \
--header 'Authorization: Bearer <token>'import requests
url = "https://gdeltcloud.com/api/v2/monitors/{id}/runs/{runId}/matches.csv"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gdeltcloud.com/api/v2/monitors/{id}/runs/{runId}/matches.csv', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"data": []
}Authorizations
Query Parameters
⌘I

