Atoka API User Reference
v20260625.1415Timeline Event Search
https://api.atoka.io/v2/timeline All requests must be properly authenticated.
General info
In this section we grouped together filters that apply to the general information of timeline events, such has their type, the period they reference to and the entities they are about. This is the starting point for trying out the Timeline Search API.
Parameters
-
ids array
Filter by one or more known Event IDs. Mutually exclusive with the
companiesparameter: they cannot be used together.Accepts multiple values, separated with
,(comma) char. -
companies array
Filter by one or more known Subject Company IDs. Mutually exclusive with the
idsparameter: they cannot be used together.Accepts multiple values, separated with
,(comma) char. -
eventTypes array required
Filter by one or more known event types.
Accepts multiple values, separated with
,(comma) char. -
startDateFrom string
Filter events with a
startDateequal or more recent than the given value. UseISO 8601date format. -
startDateTo string
Filter events with a
startDateless recent than the given value. UseISO 8601date format.
curl -G "https://api.atoka.io/v2/timeline" -d "ids=MSEnjsZVhG1YBEY_a2UcZ" -d "companies=00161c6fcab3" -d "eventTypes=cebi-micro-score" -d "startDateFrom=2020-01-01" -d "startDateTo=2024-12-31" Response
By default this API endpoint returns the list of timeline events matching the selected criteria.
Using these parameters, you'll be able to customize the output you'll get from your searches.
Parameters
-
fields array,
default is itemsGet just the list of timeline events matched.
If you set this to value
none, you'll get just themetaobject, with count of timeline events matching your search criteria.Accepts multiple values, separated with
,(comma) char: will match on any value (logicOR).Possible values are:
itemsnone
curl -G "https://api.atoka.io/v2/timeline" -d "fields=items" Response modifications
When fields is items, the response will be:
curl -G "https://api.atoka.io/v2/timeline" -d "fields=items" Ordering & Pagination
To download long lists of results you can paginate returned items using these parameters.
You can also decide the order in which items are returned.
Parameters
-
after string
Cursor for pagination - the id of the last event received
-
ordering string,
default is "mostRecent"Selects the order in which results are returned. Events without
endDateare treated as most recent.Choose only one among:
mostRecentleastRecent
-
limit integer,
default is 10This is the number of individual objects that are returned in each page.
Use a number between 0 and 50.
curl -G "https://api.atoka.io/v2/timeline" -d "after=MSEcGavCIyKt5ZnPDsZ9" -d "ordering=mostRecent" -d "limit=10" Authentication
Parameters
-
token string required
All requests must be properly authenticated; see the Authentication section for more info
curl -G "https://api.atoka.io/v2/timeline" Debug
Use these parameters when you need to understand how your request was evaluated by the API.
curl -G "https://api.atoka.io/v2/timeline" -d "explain=true" Response modifications
When explain is true, the response will be:
curl -G "https://api.atoka.io/v2/timeline" -d "explain=true" Response
List of Timeline Events
Timeline Event Details
Show the details of a timeline event
https://api.atoka.io/v2/timeline/{id} Replace {id} with the event ID you want details for (as returned by the Timeline Event Search API)..
All requests must be properly authenticated.
Authentication
Parameters
-
token string required
All requests must be properly authenticated; see the Authentication section for more info
curl -G "https://api.atoka.io/v2/timeline/{id}" Debug
Use these parameters when you need to understand how your request was evaluated by the API.
curl -G "https://api.atoka.io/v2/timeline/{id}" -d "explain=true" Response modifications
When explain is true, the response will be:
curl -G "https://api.atoka.io/v2/timeline/{id}" -d "explain=true" Response
Details of a Timeline Event