Authorization
Authorization key
To start using our API, you need an API Key. You can get the API Key from Coresignal's self-service platform. Moreover, your account manager or sales representative can generate the key for you upon your request for the API plan.
Authorization header
All requests must contain an API Key
header. Its value is your unique API Key.
-H “apikey: {API Key}”
cURL authorization
Several examples of authorization in cURL are given according to the required request. Here, requests are made using Base Company API endpoints.
curl -X 'POST' \
'https://api.coresignal.com/cdapi/v2/company_base/search/es_dsl' \
-H 'accept: application/json' \
-H 'apikey: {API Key}' \
-H 'Content-Type: application/json' \
-d '{
//insert your query
}'
General authorization templates
Templates for authentication in various programming languages and programming environment.
import requests
api_endpoint = "API_ENDPOINT"
api_key = {API Key}
headers = {
"apikey": api_key
}
response = requests.get(api_endpoint, headers=headers)
# Print the response content or handle it as needed
print(response.text)
Use any API-compatible tool to authorize and start querying the API.
FAQ
Last updated
Was this helpful?