Quick start

This page shows the three steps of every integration: obtain an API key, request data, and page through a larger result. Replace USERNAME, PASSWORD, NAMESPACE and ENTITY with your own values. The namespaces and entities available to you are listed by the meta service.

1. Obtain an API key

curl -X POST https://api-qa.ihsmarkit.com/apikey -d username=USERNAME -d password=PASSWORD

The response body is the API key. Reuse it for all following requests. See Authentication.

2. Request data

curl -H "Authorization: Bearer APIKEY" "https://api-qa.ihsmarkit.com/NAMESPACE/ENTITY/latest?limit=3"

The response is a JSON array of up to three records. Use the fields and filters to select what you need.

3. Page through a larger result

Request an envelope and a limit. The envelope contains an after value that selects the next page:

curl -H "Authorization: Bearer APIKEY" "https://api-qa.ihsmarkit.com/NAMESPACE/ENTITY/latest?limit=1000&envelope=true"
curl -H "Authorization: Bearer APIKEY" "https://api-qa.ihsmarkit.com/NAMESPACE/ENTITY/latest?limit=1000&envelope=true&after=AFTER_VALUE"

Repeat until the response contains no after value or no records. See after.

Next steps