Tessera Analytics Datasets API

Browse and download gold datasets (authenticated with an API key).

GitHub OpenAPI

Operations 4

GET /v1/datasets List datasets #
GET /v1/datasets/{asset} List partitions for a dataset #
GET /v1/datasets/{asset}/{coin}/{month}/download Download a partition #
GET /v1/datasets/{asset}/{month}/download Download a market-wide (coinless) partition #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tesseralytics-dev:tesseralytics-dev-datasets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tesseralytics-dev-datasets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tesseralytics Dev Datasets API
  version: 1.1.0
  license:
    name: MIT
    identifier: MIT
  description: 'Operations tagged datasets across 2 of this provider''s published API definitions: tesseralytics-dev-openapi-openapi.json, tesseralytics-dev-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: /
  description: Same-origin (production fronts the API via CloudFront)
tags:
- name: Datasets
  description: Browse and download gold datasets (authenticated with an API key).
paths:
  /v1/datasets:
    get:
      tags:
      - Datasets
      summary: List datasets
      description: 'Returns every gold dataset visible to the caller''s policy, with a partition

        count, the distinct coins, and the month range available.'
      operationId: list_datasets
      responses:
        '200':
          description: Datasets visible to the caller
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetsResponse'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '503':
          description: Catalog manifest unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
      security:
      - api_key: []
    servers:
    - url: /
      description: Same-origin (production fronts the API via CloudFront)
  /v1/datasets/{asset}:
    get:
      tags:
      - Datasets
      summary: List partitions for a dataset
      description: 'Returns the partitions (coin × month) of `asset` visible to the caller,

        optionally narrowed by the `coin` and `month` query filters.'
      operationId: list_partitions
      parameters:
      - name: asset
        in: path
        description: Dataset name, e.g. gold_ohlcv_1m
        required: true
        schema:
          type: string
        example: gold_ohlcv_1m
      - name: coin
        in: query
        description: Only return partitions for this coin, e.g. `BTC`.
        required: false
        schema:
          type: string
      - name: month
        in: query
        description: Only return partitions for this month (`YYYY-MM`).
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Partitions for the dataset
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartitionsResponse'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '403':
          description: Dataset not permitted by the caller's policy
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '404':
          description: Unknown or hidden dataset
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '503':
          description: Catalog manifest unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
      security:
      - api_key: []
    servers:
    - url: /
      description: Same-origin (production fronts the API via CloudFront)
  /v1/datasets/{asset}/{coin}/{month}/download:
    get:
      tags:
      - Datasets
      summary: Download a partition
      description: 'Mints a short-lived presigned URL for the parquet object of a single

        `(asset, coin, month)` partition. By default this **302-redirects** to that

        URL, so `curl -L`/`wget` download the file in one step. Send

        `Accept: application/json` to get the URL (and its expiry) as a JSON body

        instead — useful for programmatic callers.'
      operationId: download_url
      parameters:
      - name: asset
        in: path
        description: Dataset name, e.g. gold_ohlcv_1m
        required: true
        schema:
          type: string
        example: gold_ohlcv_1m
      - name: coin
        in: path
        description: Coin symbol, e.g. BTC
        required: true
        schema:
          type: string
        example: BTC
      - name: month
        in: path
        description: Partition month, YYYY-MM
        required: true
        schema:
          type: string
        example: 2026-08
      responses:
        '200':
          description: 'JSON download body. One of two shapes: a single presigned URL for a month-grain partition, or one URL per day object for a day-backed partition (the open month, which has no single parquet). Returned for a month-grain partition only when the request sends `Accept: application/json`; a day-backed partition is always JSON.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DownloadBody'
        '302':
          description: Redirect (Location header) to the presigned parquet URL. The default — follow it with `curl -L`.
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '403':
          description: Dataset not permitted by the caller's policy
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '404':
          description: Partition not found or hidden by policy
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '503':
          description: Catalog manifest unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
      security:
      - api_key: []
    servers:
    - url: /
      description: Same-origin (production fronts the API via CloudFront)
  /v1/datasets/{asset}/{month}/download:
    get:
      tags:
      - Datasets
      summary: Download a market-wide (coinless) partition
      description: 'Same as [`download_url`] but for datasets with no coin dimension (one row per

        month). The path has no `{coin}` segment.'
      operationId: download_url_coinless
      parameters:
      - name: asset
        in: path
        description: Market-wide dataset name (coinless; none currently published)
        required: true
        schema:
          type: string
      - name: month
        in: path
        description: Partition month, YYYY-MM
        required: true
        schema:
          type: string
        example: 2026-08
      responses:
        '200':
          description: 'JSON download body. One of two shapes: a single presigned URL for a month-grain partition, or one URL per day object for a day-backed partition (the open month, which has no single parquet). Returned for a month-grain partition only when the request sends `Accept: application/json`; a day-backed partition is always JSON.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DownloadBody'
        '302':
          description: Redirect (Location header) to the presigned parquet URL. The default — follow it with `curl -L`.
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '403':
          description: Dataset not permitted by the caller's policy
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '404':
          description: Partition not found or hidden by policy
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '503':
          description: Catalog manifest unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
      security:
      - api_key: []
    servers:
    - url: /
      description: Same-origin (production fronts the API via CloudFront)
components:
  schemas:
    ErrorBody:
      type: object
      description: 'The error response body. Every error variant serialises to this shape —

        a single machine-readable `error` code, and nothing else. Declared as a real

        struct (rather than the inline `json!` below) only so it can be referenced as

        a response `body` in the OpenAPI spec; `into_response` still emits the same

        JSON.'
      required:
      - error
      properties:
        error:
          type: string
          description: Machine-readable error code, e.g. `not_found`, `unauthorized`.
          example: not_found
    DownloadResponse:
      type: object
      required:
      - url
      - expires_at
      properties:
        expires_at:
          type: string
          description: RFC3339 timestamp at which the URL expires.
        url:
          type: string
          description: Presigned Tigris URL for the parquet object.
    DayDownload:
      type: object
      description: 'One day object of a day-backed partition: where to fetch it and until when.'
      required:
      - date
      - url
      - expires_at
      properties:
        date:
          type: string
          description: The day this object covers, `YYYY-MM-DD`.
        expires_at:
          type: string
          description: RFC3339 timestamp at which the URL expires.
        url:
          type: string
          description: Presigned Tigris URL for that day's parquet.
    DayDownloadResponse:
      type: object
      description: 'The shape a **day-backed** partition''s download returns: one presigned URL per

        day object, because the open month is a set of day objects rather than one

        parquet.


        Always JSON, never a redirect: a single `Location` header cannot carry N URLs,

        and the API never proxies or concatenates the bytes — each URL is one object

        the client fetches directly from Tigris.'
      required:
      - asset
      - month
      - is_open
      - days
      properties:
        asset:
          type: string
        coin:
          type:
          - string
          - 'null'
        days:
          type: array
          items:
            $ref: '#/components/schemas/DayDownload'
        is_open:
          type: boolean
          description: 'Whether this is the current, in-progress month. A finalised month is

            compacted to one object, so `false` here means the month closed since the

            last compaction: the data is complete, the layout is not yet folded.'
        month:
          type: string
    PartitionsResponse:
      type: object
      required:
      - asset
      - generated_at
      - partitions
      properties:
        asset:
          type: string
          description: Dataset name the partitions belong to.
        generated_at:
          type: string
          description: RFC3339 timestamp the catalog manifest was generated.
        partitions:
          type: array
          items:
            $ref: '#/components/schemas/Partition'
    DatasetsResponse:
      type: object
      required:
      - generated_at
      - datasets
      properties:
        datasets:
          type: array
          items:
            $ref: '#/components/schemas/DatasetSummary'
        generated_at:
          type: string
          description: RFC3339 timestamp the catalog manifest was generated.
    DatasetSummary:
      type: object
      required:
      - name
      - partition_count
      - coins
      - months
      properties:
        coins:
          type: array
          items:
            type: string
          description: Distinct coins present, sorted.
        months:
          $ref: '#/components/schemas/MonthRange'
        name:
          type: string
          description: Dataset name, e.g. `gold_ohlcv_1m`.
          example: gold_ohlcv_1m
        partition_count:
          type: integer
          description: Number of partitions visible to the caller.
          minimum: 0
    MonthRange:
      type: object
      properties:
        earliest:
          type:
          - string
          - 'null'
          description: Earliest partition month (`YYYY-MM`), if any.
        latest:
          type:
          - string
          - 'null'
          description: Latest partition month (`YYYY-MM`), if any.
    DownloadBody:
      oneOf:
      - $ref: '#/components/schemas/DownloadResponse'
        description: 'A single-object partition (every finalised month): one parquet, and a 302

          to it by default.'
      - $ref: '#/components/schemas/DayDownloadResponse'
        description: 'A day-backed partition (the open month): one parquet per day.'
      description: 'The 200 body of a download route, whichever shape the partition has.


        Only the OpenAPI components: the handler builds one variant or the other

        directly, so this exists solely so the generated document names both.'
    Partition:
      type: object
      required:
      - month
      - size_bytes
      properties:
        coin:
          type:
          - string
          - 'null'
          description: 'Coin symbol, e.g. `BTC`. Absent (`None`) for market-wide (coinless)

            datasets whose parquet is one row per month with no coin dimension —

            none are currently published.'
          example: BTC
        coverage:
          type:
          - number
          - 'null'
          format: double
          description: 'Fraction of the expected time-buckets that are populated (`rows` ÷

            elapsed buckets) — the tradable-universe signal: the 1-minute grid is

            trade-driven and gappy on thin coins, the hourly grids near-complete.

            Present alongside `rows`; `None` elsewhere.'
        days:
          type:
          - array
          - 'null'
          items:
            type: string
          description: 'The `YYYY-MM-DD` day objects this partition is made of, when it is

            **day-backed**. The open month has no single object: it is one parquet per

            day until the month closes, and a download of it is one presigned URL per

            entry here. Absent (from a v5 and older manifest) means the partition is a

            single month object — the shape every finalised month has once compacted.'
        is_open:
          type:
          - boolean
          - 'null'
          description: 'Whether this is the current, in-progress month. A finalised month is one

            parquet; the open month is **day-backed** (see `days`) and has no month

            object, so it is materialised continuously and grows under the customer.

            Absent (`None`) in older (v1) manifests.'
        last_time:
          type:
          - string
          - 'null'
          description: 'RFC3339 UTC timestamp of the newest row in the partition''s data (the max

            of the footers'' `time` statistics) — how far this partition''s data

            reaches. The point of the field is the **open month**: it is updated as

            the day arrives, so `last_time` tells a consumer that today''s bars are

            already downloadable (and how far they run). For a finalised month it is

            that month''s last bar. Present only on the time-series tiles, from v4

            manifests; `None` elsewhere, and for a partition whose footer carries no

            `time` statistics.'
        modified_at:
          type:
          - string
          - 'null'
          description: RFC3339 timestamp of the last write, if known.
        month:
          type: string
          description: Partition month, `YYYY-MM`.
          example: 2025-09
        rows:
          type:
          - integer
          - 'null'
          format: int64
          description: 'Row count (parquet `num_rows`). Present only for the time-series tiles

            (`gold_ohlcv_1m`, `gold_funding_1h`, `gold_positioning_1h`) from v3

            manifests; `None` elsewhere and in older manifests.'
        size_bytes:
          type: integer
          format: int64
          description: Parquet object size in bytes.
  securitySchemes:
    api_key:
      type: http
      scheme: bearer
      description: Raw API key sent as a bearer token.
x-refined-from:
- tesseralytics-dev-openapi-openapi.json
- tesseralytics-dev-openapi.json