- Takes: Name
- Passive: the target is not contacted
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
countryCountry name (exact match)
event_dateEvent date, yyyy-mm-dd
yearYear of the event
event_typeEvent type (LIKE match)
sub_event_typeSub-event type (LIKE match)
actor1First actor (LIKE match)
actor2Second actor (LIKE match)
regionNumeric region code
fatalitiesReported fatalities
export_typeRow layout; the default is dyadic
with_totalFill count with the total number of matching rows
fieldsPipe-separated list of columns to return
limitMaximum rows returned
_formatOutput format
Response fields · 21ShowHide
status
Status of the request
success
Whether the request succeeded
last_update
Hours since the data was last updated
count
Rows returned; null unless with_total=true
messages
Messages about the request
event_id_cnty
Event id
event_date
Event date
event_type
Event type
sub_event_type
Sub-event type
actor1
First actor
actor2
Second actor
country
Country
admin1
First-level admin area
location
Place name
latitude
Latitude
longitude
Longitude
source
Sources of the report
notes
Short description of the event
fatalities
Reported fatalities
timestamp
Unix timestamp of the last update
data_query_restrictions
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'{
"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": {}
}