# GDELT News Intelligence API — Entity Graph

> GDELT News Intelligence API — Entity Graph is a paid API for AI agents from news-x402.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns an entity-centric graph of news coverage for a named person, organization, or location, including sentiment trend, top sources, and geographic mention distribution over a configurable time window.

## Facts

- Endpoint: POST https://news-x402.com/news/entity-graph
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gdelt-news-intelligence-api-entity-graph-5ef5f17f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qKaw0yTLrX8vLXnj9dUn4

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-intelligence-api-entity-graph-5ef5f17f -d '<json body>'
```

Example prompt: Pull up the GDELT entity graph for Elon Musk over the last 7 days — I want to see sentiment trends, which news outlets are covering him most, and where in the world the coverage is coming from.

## When to prefer this

Use this endpoint when you need a structured, aggregated view of how a specific named entity (person, org, or place) is covered across global news, including geographic spread and sentiment over time. Prefer this over raw news search when you want parallel-aggregated entity graphs rather than individual articles. Especially useful for monitoring reputation, tracking geopolitical coverage, or feeding downstream analysis pipelines.

## Known failure modes

- Missing required 'entity' query parameter — returns 400 or validation error
- Entity name too ambiguous or not found in GDELT — returns empty arrays or minimal results
- Invalid timespan format — defaults to 7d or returns error
- Payment not completed via x402/USDC — returns 402 Payment Required
- GDELT upstream data delay — results may lag real-time by minutes to hours

## 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

A JSON object containing the queried entity name, timespan, a chronological sentiment trend array (date + avg_tone scores), a ranked list of top news source domains with mention counts, and a list of top geographic locations with coordinates and mention counts.

## 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": [
      "entity"
     ],
     "properties": {
      "entity": {
       "type": "string",
       "description": "Person, organization, or location name"
      },
      "timespan": {
       "type": "string",
       "description": "Time window (default 7d)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "entity",
      "timespan",
      "sentiment_trend",
      "top_locations",
      "top_sources"
     ],
     "properties": {
      "entity": {
       "type": "string"
      },
      "timespan": {
       "type": "string"
      },
      "top_sources": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "domain",
         "mention_count"
        ],
        "properties": {
         "domain": {
          "type": "string"
         },
         "mention_count": {
          "type": "integer"
         }
        }
       }
      },
      "top_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"
         }
        }
       }
      },
      "sentiment_trend": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "date",
         "avg_tone"
        ],
        "properties": {
         "date": {
          "type": "string"
         },
         "avg_tone": {
          "type": "number"
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "entity": "Elon Musk",
  "timespan": "7d",
  "top_sources": [
   {
    "domain": "ft.com",
    "mention_count": 12
   }
  ],
  "top_locations": [
   {
    "lat": 37.09,
    "lng": -95.71,
    "name": "United States",
    "country_code": "",
    "mention_count": 30
   }
  ],
  "sentiment_trend": [
   {
    "date": "2026-04-30T00:00:00",
    "avg_tone": -1.5
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gdelt-news-intelligence-api-entity-graph-5ef5f17f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from news-x402.com](https://www.zero.xyz/host/news-x402.com/llms.txt)
