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
curl samples
Replace USERNAME, PASSWORD and the placeholders in capitals.
Obtain an API key
curl -X POST https://api-qa.ihsmarkit.com/apikey -d username=USERNAME -d password=PASSWORD
Latest records of an entity
curl -H "Authorization: Bearer APIKEY" "https://api-qa.ihsmarkit.com/NAMESPACE/ENTITY/latest?limit=10"
Records in a time range
curl -H "Authorization: Bearer APIKEY" "https://api-qa.ihsmarkit.com/NAMESPACE/ENTITY/timeseries?id=ID1&from=2024-01-01&to=2024-01-31&limit=1000&envelope=true"
The next page
curl -H "Authorization: Bearer APIKEY" "https://api-qa.ihsmarkit.com/NAMESPACE/ENTITY/timeseries?id=ID1&from=2024-01-01&to=2024-01-31&limit=1000&envelope=true&after=AFTER_VALUE"
The first message after the end of the stream
curl -H "Authorization: Bearer APIKEY" "https://api-qa.ihsmarkit.com/NAMESPACE/stream?after=head"
A range filter
Quote the URL, because < and > have a meaning in a shell:
curl -H "Authorization: Bearer APIKEY" "https://api-qa.ihsmarkit.com/NAMESPACE/ENTITY/latest?asOf>=2024-01-01Z&asOf<=2024-01-31Z"
Save a response to a file
curl -H "Authorization: Bearer APIKEY" -o result.csv "https://api-qa.ihsmarkit.com/NAMESPACE/ENTITY/latest?format=CSV&limit=1000"