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
Model concepts
Datasets and data dictionaries
A dataset is the top-level unit of data exposed by the API. Each dataset is described by a data dictionary, which models a business domain using entities, their fields and the relationships between them.
Each data dictionary is identified by a namespace: a short lowercase string that can also contain digits and underscores, for example ecr. The namespace is the first element of the path of all URLs for that dataset.
Entities and instances
An entity represents a business concept, such as an instrument, a company or a security. An entity is composed of fields, each with a name and a data type. An instance is a single occurrence of an entity, such as one instrument record.
Fields and types
Field types include:
- Primitive types: boolean, string, long, decimal, date and datetime.
- Structs: reusable nested types that group related fields. A struct has no identity of its own; it is always part of the instance that contains it.
- Enumerations: predefined sets of allowed string values.
- References: relationships to other entities. Because fields can refer to other entities, the data of some datasets forms a tree-like structure. Use inline to expand references.
A field can hold a single value or an array of values. The fields of every entity, including their types and descriptions, are shown on the meta pages of the dataset (see the meta service).
Keys
Every entity has an identifier field named id, which identifies an instance of that entity.
For entities with a time series field (see below), the key of a record is the combination of id and the time series field. When several records must be stored for the same identifier and timestamp, the key can be extended with additional fields to keep it unique.
Time series
Many entities have a time series field, which holds the date or timestamp a record applies to. An instance can therefore have many records over time, each describing the state of the instance at that point in time.
Latest and time series views
Based on the time series field the API offers two views:
- Latest view: the most recent record for each identifier, offered by the latest service.
- Time series view: the records of an entity over time, offered by the timeseries service.
Batches
Some datasets are published in batches. Each time a batch is published, a batch run is created. See Batch runs.
Attachments
Datasets can include attachments: binary objects, such as documents and reports, that belong to an entity instance. See Attachments.