Skip to content

Basics

This section provides an overview of the API's basic functionalities, including how to retrieve data from the database.

Endpoint

The base URL for the API is . All requests should start with this URL.

Schema Selection

The second header required is the Accept-Profile header. This can be icp_download or icp_dictionaries .

txt
txt -X GET ""
    -H "apikey: "
    -H "Accept-Profile: icp_download"

Note: Replace [APIKEY] with your actual API key.

Format selection

The API can return data in either CSV or JSON format. The format is specified in the Accept header.

txt
txt -X GET ""
    -H "apikey: "
    -H "Accept-Profile: icp_download" 
    -H "Accept: application/json"
txt
txt -X GET ""
    -H "apikey: "
    -H "Accept-Profile: icp_download" 
    -H "Accept: text/csv"