Gdelt Events
by daten.halowerk.com in Developer tools
Events and tone from the GDELT 2.0 event database for a country, region, actor or event type over the last 1-6 hours: counts by CAMEO category, average tone, Goldstein scale and sample events.
https://daten.halowerk.com/v1/gdelt-events- Price
- $0.005
- per call in USDC
- Uptime
- 96.3%
- last 30 days
- Response time
- 55 ms
- 155 ms slowest 5%
- Last check
- Passed
- 5 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://daten.halowerk.com/v1/gdelt-events
Each call costs $0.005 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://daten.halowerk.com/v1/gdelt-events
content-type: application/json
{
"country": "GM",
"hours": 2,
"max_events": 10
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
actor | string | No | |
adm1 | string | No | |
country | string | No | |
event_root_codes | array of string | No | |
events_tsv | string | No | |
hours | integer | No | Default: 2. |
max_events | integer | No | Default: 25. |
quad_classes | array of integer | No | |
url_keyword | string | No |
Example response
The provider's example. We can't check it without paying.
Example response, 166 lines
{
"limitations": [
"GDELT codes events automatically from news coverage; individual events can be mi… [truncated, 106 chars]",
"Tone is the average tone of the coding articles, not a measure of the event itse… [truncated, 83 chars]",
"Only the last six hours are scanned per call."
],
"result": {
"articles": 657,
"attribution": "Data: The GDELT Project, GDELT 2.0 Event Database (https://www.gdeltproject.org/… [truncated, 166 chars]",
"by_quad_class": [
{
"count": 140,
"label": "Verbal cooperation",
"quad_class": 1
},
{
"count": 17,
"label": "Material cooperation",
"quad_class": 2
},
{
"count": 13,
"label": "Verbal conflict",
"quad_class": 3
}
],
"by_root_code": [
{
"code": "04",
"count": 42,
"label": "Consult",
"mean_tone": 1.45
},
{
"code": "03",
"count": 35,
"label": "Express intent to cooperate",
"mean_tone": -1.01
},
{
"code": "05",
"count": 32,
"label": "Engage in diplomatic cooperation",
"mean_tone": 1.77
}
],
"events": [
{
"actor1": "MEDIA",
"actor2": null,
"added": "20261119121500",
"country": "GM",
"date": "20261119",
"event_code": "111",
"goldstein": -2,
"id": "1333986757",
"location": "Germany",
"mentions": 30,
"quad_class": 3,
"root_code": "11",
"root_label": "Disapprove",
"tone": -13.44,
"url": "https://2.boredpanda.com/mocking-fragile-white-population/?cexp_id=164969&_f=hom… [truncated, 105 chars]"
},
{
"actor1": "MINIST",
"actor2": "FRANKFURT",
"added": "20261119133000",
"country": "GM",
"date": "20261119",
"event_code": "010",
"goldstein": 0,
"id": "1333999449",
"location": "Munich, Bayern, Germany",
"mentions": 10,
"quad_class": 1,
"root_code": "01",
"root_label": "Make public statement",
"tone": 2.21,
"url": "https://www.bankingnews.gr/diethni/articles/912030/germany-u-turns-on-commerzban… [truncated, 134 chars]"
},
{
"actor1": null,
"actor2": "BUSINESS",
"added": "20261119130000",
"country": "GM",
"date": "20261119",
"event_code": "033",
"goldstein": 5.2,
"id": "1333992936",
"location": "Frankfurt, Brandenburg, Germany",
"mentions": 10,
"quad_class": 1,
"root_code": "03",
"root_label": "Express intent to cooperate",
"tone": 3.43,
"url": "https://knittingindustry.com/ttna-2027-calls-for-industry-participation/"
}
],
"events_matched": 179,
"events_scanned": 10705,
"files": [
{
"cached": false,
"events": 1085,
"file": "20261119133000.export.CSV.zip"
},
{
"events": 0,
"file": "20261119131500.export.CSV.zip",
"status": "not_yet_published"
},
{
"cached": false,
"events": 2055,
"file": "20261119130000.export.CSV.zip"
}
],
"filters": {
"actor": null,
"adm1": null,
"country": "GM",
"event_root_codes": null,
"quad_classes": null,
"url_keyword": null
},
"goldstein_mean": 2.36,
"method": "GDELT 2.0 event exports (15-minute files), deduplicated by GLOBALEVENTID, filter… [truncated, 113 chars]",
"tone": {
"max": 16,
"mean": -0.36,
"median": -0.76,
"min": -13.44
},
"top_locations": [
{
"count": 66,
"name": "Berlin, Berlin, Germany"
},
{
"count": 44,
"name": "Germany"
},
{
"count": 26,
"name": "Eslohe, Nordrhein-Westfalen, Germany"
}
],
"top_source_domains": [
{
"count": 29,
"domain": "express.co.uk"
},
{
"count": 25,
"domain": "dw.com"
},
{
"count": 25,
"domain": "en.interfax.com.ua"
}
]
},
"service": "gdelt-events",
"status": "success"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.005.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://daten.halowerk.com/v1/gdelt-events' \
-H 'content-type: application/json' \
--data-raw '{"country":"GM","hours":2,"max_events":10}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://daten.halowerk.com/v1/gdelt-events' \
-H 'content-type: application/json' \
--data-raw '{"country":"GM","hours":2,"max_events":10}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.005 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.005" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.005 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fdaten.halowerk.com%2Fv1%2Fgdelt-events&method=POST
const res = await pay("https://daten.halowerk.com/v1/gdelt-events", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"country": "GM",
"hours": 2,
"max_events": 10
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.005 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.005"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://daten.halowerk.com/v1/gdelt-events",
json={
"country": "GM",
"hours": 2,
"max_events": 10,
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 5 h ago | Passed | 402 | 128 ms | $0.005 |
| 15 h ago | Passed | 402 | 43 ms | $0.005 |
| 25 h ago | Passed | 402 | 150 ms | $0.005 |
| 38 h ago | Passed | 402 | 41 ms | $0.005 |
| 3 days ago | Timed out | - | - | - |
Show 10 older checks
| 5 days ago | Passed | 402 | 41 ms | $0.005 |
| 5 days ago | Passed | 402 | 127 ms | $0.005 |
| 6 days ago | Passed | 402 | 41 ms | $0.005 |
| 6 days ago | Passed | 402 | 40 ms | $0.005 |
| 7 days ago | Passed | 402 | 125 ms | $0.005 |
| 7 days ago | Passed | 402 | 38 ms | $0.005 |
| 7 days ago | Passed | 402 | 155 ms | $0.005 |
| 8 days ago | Passed | 402 | 40 ms | $0.005 |
| 8 days ago | Passed | 402 | 133 ms | $0.005 |
| 8 days ago | Passed | 402 | 43 ms | $0.005 |