# searchStories

**Identifier:** `gdelt_searchStories`

**Provider:** [GDELT](https://kirha.com/providers/gdelt.md)

Search news stories (clusters of articles about the same development, multilingual, since March 2026) by topic, entity, country, category and date. Returns article and outlet counts, linked events and entities. Use getStoryArticles for the source articles.

## Run it with the CLI

```bash
kirha tools run gdelt_searchStories \
  --input '{}'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "gdelt_searchStories",
  "input": {}
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "categories": {
      "items": {
        "enum": [
          "CONFLICT",
          "POLITICAL",
          "CRIME",
          "ECONOMIC",
          "CORPORATE",
          "TECHNOLOGY",
          "INFRASTRUCTURE",
          "ENVIRONMENT",
          "HEALTH",
          "DEMOGRAPHIC",
          "INFORMATION"
        ],
        "type": "string"
      },
      "type": "array"
    },
    "country": {
      "description": "Country name or ISO-3, comma-separated",
      "type": "string"
    },
    "cursor": {
      "description": "nextCursor from a previous call with the same filters",
      "type": "string"
    },
    "dateEnd": {
      "description": "YYYY-MM-DD, max 30 days after dateStart",
      "type": "string"
    },
    "dateStart": {
      "description": "YYYY-MM-DD, data from 2026-03-01",
      "type": "string"
    },
    "days": {
      "description": "Last N days. Default without dates: last 24h, or 30 days with entityId",
      "maximum": 30,
      "minimum": 1,
      "type": "number"
    },
    "entityId": {
      "description": "From resolveEntity",
      "type": "string"
    },
    "limit": {
      "default": 10,
      "maximum": 25,
      "minimum": 1,
      "type": "number"
    },
    "minArticles": {
      "minimum": 1,
      "type": "number"
    },
    "query": {
      "description": "Semantic topic search",
      "type": "string"
    },
    "sort": {
      "description": "Default significance",
      "enum": [
        "significance",
        "recent",
        "spread",
        "rising"
      ],
      "type": "string"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "nextCursor": {
      "type": "string"
    },
    "stories": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "articleCount": {
            "type": "number"
          },
          "category": {
            "type": "string"
          },
          "entities": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "entityId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "entityId"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "eventIds": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "fatalities": {
            "type": "number"
          },
          "id": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "outletCount": {
            "type": "number"
          },
          "significance": {
            "type": "number"
          },
          "storyDate": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "topArticleUrl": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "entities",
          "eventIds"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "storyIds": {
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "context",
    "stories",
    "storyIds"
  ],
  "type": "object"
}
```

## Related tools

Other GDELT tools that this tool refers to, or that refer to it.

- [`resolveEntity`](https://kirha.com/providers/gdelt/resolveEntity.md)
- [`getStoryArticles`](https://kirha.com/providers/gdelt/getStoryArticles.md)

-----

[All GDELT tools](https://kirha.com/providers/gdelt.md) · [< Back to tools list](https://kirha.com/tools.md)