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
Usage quota
System requirements
The client application must be able to make HTTPS requests using TLS 1.2.
Quota per account
Each account has a quota: the amount of data and server time it can use per minute and per hour. S&P Global can adjust the quota per account. Your quota, and your current usage, are shown on the Quota page. It is also available from the account menu of the HTML view.
| Quota | Description |
|---|---|
throughputPerMinute | The amount of data returned per minute. |
throughputPerHour | The amount of data returned per hour. |
timeToFirstWritePerMinute | The accumulated time the server needed to start responding to your requests, per minute. |
timeToFirstWritePerHour | The same, per hour. |
attachmentThroughputPerMinute | The amount of attachment data returned per minute. |
attachmentThroughputPerHour | The amount of attachment data returned per hour. |
The quota is checked when a request starts, against the usage so far. A single large request can therefore exceed the quota; the next request is then refused.
Request limits
Besides the quota, the following limits apply to individual requests. They are also shown on the Quota page.
| Limit | Description |
|---|---|
| Parallel requests | The maximum number of requests in progress at the same time. The default is 10. |
| Timeseries limit | The maximum value of the limit parameter for timeseries requests. |
| Latest limit | The maximum value of the limit parameter for latest requests. |
| API keys | The maximum number of valid API keys, and logins that fail within a short period. See Authentication. |
When the quota is exceeded
Requests that exceed the quota or the parallel request limit are refused with HTTP status 429. The error body identifies the quota, for example Quota exceeded for throughputPerHour. Back off before retrying. See Error codes.
Responses include a warning field once usage reaches 80% of any quota.
A limit parameter above the timeseries or latest limit is rejected with an invalid parameter error.
Good practice
- Reuse your API key. Creating a new key for each request is an error and results in refused logins.
- Use limit and aggregate to get the most out of each request instead of making many small requests.
- Use modulus to share a stream between a limited number of parallel requests, and leave capacity for other requests from your application.
- Use requestTimeout so that abandoned requests do not count against your parallel request limit.