# GDELT News Intelligence API — Recent News Endpoint

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

Fetches recent global news articles on a given topic from the GDELT dataset, returning structured JSON with titles, URLs, sources, sentiment scores, and publication timestamps

## Facts

- Endpoint: POST https://gdelt-x402-api.planbdj.workers.dev/news/recent
- Price: $0.01/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-recent-news-endpoint-c05c2f57
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nLVmfXU2ix34ClcpDTE9H

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-recent-news-endpoint-c05c2f57 -d '<json body>'
```

Example prompt: Find me the most recent global news articles about bitcoin from the past 24 hours, including sentiment scores for each article.

## When to prefer this

Choose this endpoint when you need structured, machine-readable recent news data with sentiment scores across global sources, especially for AI agent workflows that require pay-per-query pricing with no API key setup, no rate limits, and clean JSON responses. Prefer it over scraping news sites directly or using subscription-based news APIs when you need lightweight, on-demand news intelligence billed in USDC on Base mainnet.

## Known failure modes

- Topic returns zero articles if GDELT has no recent indexed coverage — total_found will be 0
- Payment failure on Base mainnet will block access if USDC balance is insufficient or x402 handshake fails
- Overly broad or ambiguous topics may return loosely related articles
- Non-English topics may return fewer results depending on GDELT language coverage
- Sentiment scores are algorithmic estimates and may not reflect nuanced editorial tone

## 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 object containing the queried topic, an array of articles (each with URL, title, source domain, language, image URL, publication timestamp, source country, and a floating-point sentiment score), and a total_found count indicating how many articles were returned.

## 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": {
      "hours": {
       "type": "integer",
       "maximum": 72,
       "minimum": 1,
       "description": "Lookback window in hours (default 24, max 72)"
      },
      "topic": {
       "type": "string",
       "description": "Search query — keyword or phrase"
      },
      "language": {
       "type": "string",
       "description": "Source language filter (default: english). e.g. spanish, french, arabic, chinese"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "topic",
      "timespan_hours",
      "total_found",
      "articles"
     ],
     "properties": {
      "topic": {
       "type": "string"
      },
      "articles": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "url": {
          "type": "string"
         },
         "title": {
          "type": "string"
         },
         "source": {
          "type": "string"
         },
         "language": {
          "type": "string"
         },
         "image_url": {
          "type": [
           "string",
           "null"
          ]
         },
         "published_at": {
          "type": "string"
         },
         "source_country": {
          "type": "string"
         },
         "sentiment_score": {
          "type": [
           "number",
           "null"
          ]
         }
        }
       }
      },
      "total_found": {
       "type": "integer"
      },
      "timespan_hours": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "topic": "bitcoin",
  "articles": [
   {
    "url": "https://cointelegraph.com/news/...",
    "title": "Bitcoin Posts Strongest Monthly Gain",
    "source": "cointelegraph.com",
    "language": "English",
    "image_url": "https://...",
    "published_at": "2026-05-03T06:45:00Z",
    "source_country": "United States",
    "sentiment_score": 1.2
   }
  ],
  "total_found": 1,
  "timespan_hours": 24
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gdelt-news-intelligence-api-recent-news-endpoint-c05c2f57/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)
