Skip to navigation

Get an exchange's coverage

One exchange: each closed day with its status, and for each family and symbol the first and last day with a file, how many days have one and their bytes. Use it to size a download before you start. It is written when a day closes, so it can be a day’s close behind the manifests and is never ahead of them.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

exchangestringRequired

The exchange code, as /coverage lists it.

Headers

X-Request-IdstringOptional

Your own id for the request: 8 to 128 of [A-Za-z0-9._-]. It becomes the request’s id and is echoed on the response. A value off that grammar is replaced with a fresh id, never refused.

Response

The exchange's coverage.
contract_versionstring
The file contract version of the publisher that wrote this.
exchangestring
The exchange code.
first_daystring
The first closed day.
published_throughstring

The last closed day this object holds. It can be behind the day manifests, never ahead of them: a day a backfill or a repair closed reaches it at the exchange’s next live close. The day’s manifest is the authority.

daysmap from strings to objects

Each closed day this object holds, keyed by the day. A day missing here is either not published or not yet folded in: its manifest says which.

familiesmap from strings to maps from strings to objects

Each family with a file on any closed day, keyed by the family; under it, each symbol with such a file, keyed by the canonical symbol.

Errors

401
Get Exchange Coverage Request Unauthorized Error
403
Get Exchange Coverage Request Forbidden Error
404
Get Exchange Coverage Request Not Found Error
429
Get Exchange Coverage Request Too Many Requests Error
503
Get Exchange Coverage Request Service Unavailable Error