GET/v1/events
Clustered events with verified facts and sources
PARAMETERS
- sincequery
- Only events on or after this date (YYYY-MM-DD)
- storyline_idquery
- Filter to one storyline
- limitquery · integer
- e.g. 25
REQUEST
curl "https://api.latestin.com/v1/events" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.get("https://api.latestin.com/v1/events", headers={"X-API-Key": "YOUR_KEY"})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://api.latestin.com/v1/events", {
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
200OK
{
"count": 1,
"events": [
{
"event_date": "string",
"event_id": "string",
"fact_count": 1,
"facts": [
{
"claim": "string",
"fact_id": "string",
"first_reported_at": "string",
"sources": [
{
"outlet": null,
"source_url": null
}
]
}
],
"source_count": 1,
"storyline_id": "string",
"storyline_title": "string",
"title": "string"
}
]
}