Getting started
Authentication
Services
- Dataset service
- Batches and BatchRuns
- Combining entities in one request
- Latest data URL
- Stream URL
- Batchrun URL
- Archive URL
- Timeseries URL
Request parameters
- Parameters
- Parameter: after
- Parameter: aggregate
- Parameter: apikey
- Parameter: dateFormat
- Parameter: descending
- Parameter: envelope
- Parameter: format
- Parameter: from
- Parameter: groupBy
- Parameter: groupById
- Parameter: inline
- Parameter: limit
- Parameter: Lookup Fields
- Parameter: modulus
- Parameter: nextUrl
- Parameter: part
- Parameter: rangeField
- Parameter: requestTimeout
- Parameter: showMessage
- Parameter: sortBy
- Parameter: to
- Parameter: verifyLinks
Reference
Samples
Introduction
Purpose
The S&P Global Consumer API provides a standardized REST interface for accessing data from S&P Global datasets. Each dataset is a collection of business data that is maintained, updated regularly and distributed as a commercial product. The Consumer API offers all these datasets in a uniform way, so that once you know how to use one dataset, you know how to use them all.
Features
- Standard REST over HTTPS: every request for data is a simple HTTPS GET on a URL. The API is available exclusively over HTTPS.
- Secure access: authentication and authorization are handled using the OAuth 2.0 protocol or an API key. See Authentication.
- Entitlements: you only receive the data you are entitled to.
- Consistent data model: all datasets are described by a data dictionary using the same building blocks. See Model concepts.
- Multiple access patterns: retrieve the latest state of the data, its history, a stream of updates or complete batches. See API concepts.
- Multiple data formats: JSON, XML and, for flat data, CSV.
- Attachments: unstructured content such as documents and reports can be distributed together with the data.
- Self-documenting: the REST API \Console lets you explore the API and the data interactively in a browser, and includes a full OpenAPI specification.
notificationsFor questions or assistance, please contact: data.delivery@spglobal.com