# GDELT News Search via x402helper

> GDELT News Search via x402helper is a paid API for AI agents from x402helper.xyz, paid per call via x402, $0.009/call, status unknown (last checked 2026-10-31).

Fetches recent GDELT news articles filtered by topic, theme, country, language, and timespan, paid via x402 USDC micropayment.

## Facts

- Endpoint: GET https://x402helper.xyz/89e509/gdelt/news?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gdelt-news-search-via-x402helper-3ead3ff8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xwyTSCaTi8hVLeYN4k_AW

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability gdelt-news-search-via-x402helper-3ead3ff8
```

Example prompt: Can you pull up the latest GDELT news articles from the past week about sanctions, filtered to English-language sources, sorted by date descending, and give me up to 50 results?

## When to prefer this

Choose this endpoint when you need structured, filterable access to GDELT's global news index with support for theme, country, language, and tone sorting — especially when paying per-call via x402 USDC micropayments is acceptable and you want curated theme mappings rather than raw GDELT API access.

## Known failure modes

- Missing required 'input' wrapper causes 400 validation error
- Exceeding the 250-article limit returns a schema validation error
- Invalid country name not mapped to GDELT FIPS code returns empty results or error
- Invalid theme enum value causes request rejection
- Payment failure or insufficient USDC balance returns 402 Payment Required
- Network timeout on GDELT upstream returns 503 or empty result

## How this service works

X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.

## Output

A JSON object containing a list of news articles from the GDELT database matching the query parameters, including article metadata such as title, source, date, tone, and URL, along with a success flag.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "lang": {
       "type": "string",
       "default": null,
       "description": "Source-language filter by name (english, russian, arabic, ...)."
      },
      "sort": {
       "enum": [
        "datedesc",
        "dateasc",
        "relevance",
        "tonedesc",
        "toneasc"
       ],
       "type": "string",
       "default": null,
       "description": "Result ordering (default datedesc)."
      },
      "limit": {
       "type": "integer",
       "default": null,
       "maximum": 250,
       "minimum": 1,
       "description": "Max articles (default 30, GDELT cap 250)."
      },
      "query": {
       "type": "string",
       "default": null,
       "description": "Free-text topic (multi-word phrases are auto-quoted). Optional if a theme/country is given."
      },
      "theme": {
       "enum": [
        "protests",
        "terrorism",
        "conflict",
        "war",
        "inflation",
        "sanctions",
        "trade",
        "elections",
        "corruption",
        "cyber",
        "immigration",
        "refugees",
        "climate",
        "disaster",
        "epidemic",
        "energy",
        "economy",
        "diplomacy",
        "coup",
        "unrest"
       ],
       "type": "string",
       "default": null,
       "description": "Curated GDELT GKG theme filter (friendly name mapped to a GKG code)."
      },
      "country": {
       "type": "string",
       "default": null,
       "description": "Source-country filter by friendly name (United States, Russia, China, ...); mapped to the GDELT FIPS 10-4 code server-side."
      },
      "timespan": {
       "type": "string",
       "default": null,
       "description": "Lookback window: 15min, 24h, 3d, 1w, 1m (default 24h)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gdelt-news-search-via-x402helper-3ead3ff8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402helper.xyz](https://www.zero.xyz/host/x402helper.xyz/llms.txt)
