Getting started
Concepts
- Model concepts
- API concepts
- API versions
- Entitlements
- Filters
- Request parameters
- Usage quota
- Error codes
Services
Parameters
- after
- aggregate
- aggregateIncrementFrom
- cursor
- dateFormat
- descending
- entity
- envelope
- fields
- format
- from
- groupBy
- groupById
- groupByIdAndTime
- groupByTo
- includeMetaData
- inline
- inlineLatest
- inlineTimeseries
- limit
- modulus
- nextUrl
- part
- pivot
- rankBy
- requestTimeout
- returnPreSignedUrl
- showMessage
- showStreamCursor
- to
- trace
- verifyLinks
- wait
Deprecated parameters
Datasets
- ECR: timeseries and observations
- ECR: usage patterns
- fiindices: retrieving index data
- Parsing: asset classes
- Parsing: best practices
Samples
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
- Python sample with re-authentication, retries and paging.
- Error codes for the status codes you must handle.
- Usage quota for the quota and limits that apply to your account.