# GDELT Multilingual Tone & Sentiment Analysis

> GDELT Multilingual Tone & Sentiment Analysis is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-15).

Returns a cross-language tone/sentiment analysis for a topic using GDELT data, including a histogram of emotional bins, coverage-weighted average tone, modal bin, and optional trend over time.

## Facts

- Endpoint: GET https://api.agentstools.dev/gdelt/tone
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gdelt-multilingual-tone-sentiment-analysis-85512aa4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mVQtcvEDtXOtqOdIyv1bf

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-multilingual-tone-sentiment-analysis-85512aa4
```

Example prompt: What's the current tone of global media coverage about the Ukraine conflict? Give me a sentiment histogram and a tone trend over the past week, filtering to English-language sources.

## When to prefer this

Use this endpoint when you need cross-language (not just English) sentiment/tone analysis of global news coverage for a topic, theme, or country. Prefer over English-only sentiment APIs when multilingual coverage matters, and when you want GDELT's authoritative coverage-weighted tone rather than lexicon-only scoring. Best for geopolitical, macroeconomic, or public-affairs topics with significant non-English media coverage.

## Known failure modes

- No articles found for query/theme/country combination returns empty histogram
- Invalid country name not mappable to GDELT FIPS code returns error
- Unsupported timespan value returns validation error
- GDELT API unavailability causes upstream timeout
- Both query and theme/country omitted may return error due to missing required filter

## How this service works

Native multilingual tone/sentiment for a topic from the GDELT Project: a tone histogram (emotional bins with example articles), a coverage-weighted average tone and label, the modal bin, and an optional tone trend over time. GDELT's own cross-language tone (a differentiator over English-only lexicon scoring).

## Output

A JSON object containing a tone histogram with emotional bins and representative example articles per bin, a coverage-weighted average tone score and its sentiment label (e.g. negative/positive), the modal bin, and optionally a time-series tone trend over the requested window.

## 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": [],
     "properties": {
      "lang": {
       "type": "string",
       "description": "Source-language filter by name (english, russian, arabic, ...)."
      },
      "query": {
       "type": "string",
       "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",
       "description": "Curated GDELT GKG theme filter (friendly name mapped to a GKG code)."
      },
      "trend": {
       "type": "boolean",
       "description": "Also include a tone trend over the window (1 extra call)."
      },
      "country": {
       "type": "string",
       "description": "Source-country filter by friendly name (United States, Russia, China, ...); mapped to the GDELT FIPS 10-4 code server-side."
      },
      "timespan": {
       "type": "string",
       "description": "Lookback window: 15min, 24h, 3d, 1w, 1m (default 24h)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gdelt-multilingual-tone-sentiment-analysis-85512aa4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
