# GDELT News Geographic Intelligence Endpoint

> GDELT News Geographic Intelligence Endpoint is a paid API for AI agents from gdelt-x402-api.planbdj.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Returns a geographic breakdown of news mentions for a given topic and timespan, mapping where in the world a story is being reported

## Facts

- Endpoint: POST https://gdelt-x402-api.planbdj.workers.dev/news/geographic
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gdelt-news-geographic-intelligence-endpoint-97920d62
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k24DS45EynZc1vGd4HnL9

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-geographic-intelligence-endpoint-97920d62 -d '<json body>'
```

Example prompt: Show me where in the world the earthquake story is being covered most heavily over the last 24 hours — I want a breakdown of locations with mention counts so I can see which countries are at the center of the news.

## When to prefer this

Choose this endpoint when you need to understand the geographic distribution of news coverage for a specific topic — i.e., which places on a map are being mentioned in conjunction with a story. Prefer this over general news search endpoints when the user's goal is spatial or cartographic (e.g., building a heatmap, identifying conflict zones, tracking disaster spread). It is ideal for AI agents that need structured lat/lng data with mention frequency rather than raw article text.

## Known failure modes

- Missing or empty topic parameter returns an error
- Invalid timespan format may produce empty or error response
- Very obscure topics may return zero location results
- Network timeouts possible if GDELT upstream is slow
- Payment failure via x402 will block the request before it reaches the API logic

## How this service works

AI-friendly JSON API for global news intelligence. Built on GDELT (free public source), optimized for AI agents — clean responses, 5 use-case endpoints, parallel-aggregated entity graphs, no rate limits, no API keys. Pay-per-query in USDC on Base mainnet via x402.

## Output

Returns a JSON array of location objects, each containing the place name, latitude, longitude, country code, and the number of times that location was mentioned in news coverage of the specified topic within the given timespan. Useful for building geographic heatmaps or understanding where a story is physically centered.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "topic"
     ],
     "properties": {
      "topic": {
       "type": "string",
       "description": "Search query"
      },
      "timespan": {
       "type": "string",
       "description": "Time window (default 24h)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "topic",
      "timespan",
      "locations"
     ],
     "properties": {
      "topic": {
       "type": "string"
      },
      "timespan": {
       "type": "string"
      },
      "locations": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "name",
         "lat",
         "lng",
         "mention_count"
        ],
        "properties": {
         "lat": {
          "type": "number"
         },
         "lng": {
          "type": "number"
         },
         "name": {
          "type": "string"
         },
         "country_code": {
          "type": "string"
         },
         "mention_count": {
          "type": "integer"
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "topic": "earthquake",
  "timespan": "24h",
  "locations": [
   {
    "lat": 37.09,
    "lng": -95.71,
    "name": "United States",
    "country_code": "",
    "mention_count": 42
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gdelt-news-geographic-intelligence-endpoint-97920d62/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gdelt-x402-api.planbdj.workers.dev](https://www.zero.xyz/host/gdelt-x402-api.planbdj.workers.dev/llms.txt)
