# searchEvents

**Identifier:** `gdelt_searchEvents`

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

Search machine-coded world events (conflict, protests, politics, economy, corporate, technology, health...) extracted from global news since March 2026, filtered by topic, entity, country, category and date. Each event has actors, location, significance and casualties. Use summarizeEvents for counts and trends.

## Run it with the CLI

```bash
kirha tools run gdelt_searchEvents \
  --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_searchEvents",
  "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": [
          "Battles",
          "Protests",
          "Riots",
          "Explosions/Remote violence",
          "Violence against civilians",
          "Strategic developments",
          "POLITICAL",
          "CRIME",
          "ECONOMIC",
          "CORPORATE",
          "TECHNOLOGY",
          "INFRASTRUCTURE",
          "ENVIRONMENT",
          "HEALTH",
          "DEMOGRAPHIC",
          "INFORMATION",
          "GOVERNANCE"
        ],
        "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"
    },
    "hasFatalities": {
      "type": "boolean"
    },
    "limit": {
      "default": 10,
      "maximum": 25,
      "minimum": 1,
      "type": "number"
    },
    "minSignificance": {
      "maximum": 1,
      "minimum": 0,
      "type": "number"
    },
    "query": {
      "description": "Semantic topic search",
      "type": "string"
    },
    "sort": {
      "description": "Default significance",
      "enum": [
        "significance",
        "recent",
        "prominence",
        "spread",
        "rising"
      ],
      "type": "string"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "eventIds": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "events": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "actors": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "entityId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "role": {
                  "type": "string"
                }
              },
              "required": [
                "name"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "articleCount": {
            "type": "number"
          },
          "category": {
            "type": "string"
          },
          "eventDate": {
            "type": "string"
          },
          "fatalities": {
            "type": "number"
          },
          "goldsteinScale": {
            "description": "-10 conflict to +10 cooperation",
            "type": "number"
          },
          "id": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "significance": {
            "type": "number"
          },
          "storyIds": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "subcategory": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "actors",
          "storyIds"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "nextCursor": {
      "type": "string"
    }
  },
  "required": [
    "context",
    "events",
    "eventIds"
  ],
  "type": "object"
}
```

## Related tools

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

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

-----

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