Skip to content
OSINTtools.io

ACLED API

Event dataset of political violence and protest worldwide, with dates, places, actors and reported fatalities, plus dashboards and an API.

Base URL
https://acleddata.com/api
Sign-in
OAuth
Format
REST, Bulk files
Endpoints
1

Compiled by OSINTtools.io editors from acleddata.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

ACLED's API returns its coded events of political violence and protest: date, event type, actors, location and coordinates, fatalities, source and a short note per event. Investigators use it to look up incidents by country, actor, date or type.

A call is a GET to https://acleddata.com/api/acled/read with filters as query parameters. Access uses OAuth: you POST your myACLED email and password to https://acleddata.com/oauth/token (grant_type=password, client_id=acled, scope=authenticated) and send the returned access token as Authorization: Bearer. The access token lasts 24 hours and the refresh token 14 days.

The default output is JSON; _format can also be csv, xml or txt. The default row limit is 5,000 and limit changes it. Queries can be restricted by your account (see data_query_restrictions in the response). The docs say rate limits exist but do not give them.

Quick start

  1. Get a key

    Create an account with ACLED and copy your oauth. Where to get it

  2. Make your first request

    Read ACLED events filtered by country, date, type, actor and more.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://acleddata.com/api/acled/read' \
      -H 'Authorization: Bearer YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this, shortened.

    {
      "status": 200,
      "success": true,
      "last_update": 12,
      "count": 1,
      "messages": [],
      "data": [
        {
          "event_id_cnty": "EXA1234",
          "event_date": "2021-05-01",
          "event_type": "Protests",
          "sub_event_type": "Peaceful protest",
          "actor1": "Protesters (Exampleland)",
          "actor2": "",
          "country": "Exampleland",
          "admin1": "Example Region",
          "location": "Example City",
          "latitude": "10.0000",
          "longitude": "20.0000",
          "source": "Example News",
          "notes": "Made-up example event.",
          "fatalities": "0",
          "timestamp": "1620000000"
        }
    …

Authentication

OAuth: your app gets an access token from ACLED and sends it as a bearer token. See the vendor's docs for the flow.

Password grant at https://acleddata.com/oauth/token with client_id acled; send the access token as a Bearer header.

Get a key from ACLED

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs (the docs say limits exist and that pagination calls do not count toward them)

Events

Filters are exact matches (=) except event_type, sub_event_type, actor1 and actor2, which use LIKE. Add a <filter>_where parameter to change an operator, for example year_where=>. The default layout is dyadic; export_type=monadic gives actor-based rows. fields takes pipe-separated column names.

Query parameters

countrystring

Country name (exact match)

Example: Georgia
event_datestring

Event date, yyyy-mm-dd

Example: 2021-05-01
yearinteger

Year of the event

Example: 2021
event_typestring

Event type (LIKE match)

Example: Violence
sub_event_typestring

Sub-event type (LIKE match)

Example: Attack
actor1stringtakes your name

First actor (LIKE match)

Example: Example Militia
actor2string

Second actor (LIKE match)

Example: Example Forces
regioninteger

Numeric region code

Example: 1
fatalitiesinteger

Reported fatalities

Example: 0
export_typestring

Row layout; the default is dyadic

Example: monadic
with_totalboolean

Fill count with the total number of matching rows

Example: true
fieldsstring

Pipe-separated list of columns to return

Example: event_id_cnty|event_date|event_type|country|fatalities
limitinteger

Maximum rows returned

Example: 100Default: 5000
_formatstring

Output format

Example: jsonDefault: jsonOne of: json, csv, xml, txt
Response fields · 21Show

statusinteger

Status of the request

successboolean

Whether the request succeeded

last_updateinteger

Hours since the data was last updated

countinteger

Rows returned; null unless with_total=true

messagesstring[]

Messages about the request

event_id_cntystring

Event id

event_datestring

Event date

event_typestring

Event type

sub_event_typestring

Sub-event type

actor1string

First actor

actor2string

Second actor

countrystring

Country

admin1string

First-level admin area

locationstring

Place name

latitudestring

Latitude

longitudestring

Longitude

sourcestring

Sources of the report

notesstring

Short description of the event

fatalitiesstring

Reported fatalities

timestampstring

Unix timestamp of the last update

data_query_restrictionsobject

Restrictions applied to the query (countries, event types, regions, history or recency)

curl 'https://acleddata.com/api/acled/read' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "status": 200,
  "success": true,
  "last_update": 12,
  "count": 1,
  "messages": [],
  "data": [
    {
      "event_id_cnty": "EXA1234",
      "event_date": "2021-05-01",
      "event_type": "Protests",
      "sub_event_type": "Peaceful protest",
      "actor1": "Protesters (Exampleland)",
      "actor2": "",
      "country": "Exampleland",
      "admin1": "Example Region",
      "location": "Example City",
      "latitude": "10.0000",
      "longitude": "20.0000",
      "source": "Example News",
      "notes": "Made-up example event.",
      "fatalities": "0",
      "timestamp": "1620000000"
    }
  ],
  "data_query_restrictions": {}
}