> ## Documentation Index
> Fetch the complete documentation index at: https://docs.amberdata.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Dataset

> Retrieves a specific institutional metric dataset for market structure and positioning analysis. Previously known as Amberlens. Related visual representations of select datasets are also available within [Amberdata Intelligence](https://intelligence.amberdata.com/)



## OpenAPI

````yaml get /metrics/data
openapi: 3.1.0
info:
  version: 1.0.0
  title: Amberlens
servers:
  - url: https://api.amberdata.com/amberlens
security: []
tags:
  - name: amberlens
    description: Institutional market metrics and datasets.
paths:
  /metrics/data:
    get:
      tags:
        - amberlens
      summary: Get Dataset
      description: >-
        Retrieves a specific institutional metric dataset for market structure
        and positioning analysis. Previously known as Amberlens. Related visual
        representations of select datasets are also available within [Amberdata
        Intelligence](https://intelligence.amberdata.com/)
      operationId: amberlens-get-dataset
      parameters:
        - name: id
          in: query
          description: >-
            The `id` value from the [Datasets
            Information](https://docs.amberdata.io/http/amberlens/amberlens-information)
            for a specific dataset.
          required: true
          schema:
            type: string
        - name: startDate
          in: query
          description: >-
            **[Optional]** Payload only includes data after this date
            (inclusive). <BR>**[Formats]** `seconds | milliseconds |
            iso8601`<BR>**[Examples]** `1578531600 | 1578531600000 |
            2020-09-01T01:00:00`
          schema:
            type: string
            format: date
        - name: endDate
          in: query
          description: >-
            **[Optional]** Payload only includes data before this date
            (exclusive). <BR>**[Formats]** `seconds | milliseconds |
            iso8601`<BR>**[Examples]** `1578531600 | 1578531600000 |
            2020-09-01T01:00:00`
          schema:
            type: string
            format: date
        - name: timeFormat
          in: query
          description: '**[Optional]** Time format of the timestamps in the return payload.'
          schema:
            type: string
            enum:
              - milliseconds
              - ms
              - iso
              - iso8601
              - hr
              - human_readable
            default: hr
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Bitcoin Balance Bucket Daily:
                  value:
                    status: 200
                    title: OK
                    description: Successful request
                    payload:
                      data:
                        - bucket: 1000-10000 BTC
                          bucketSize: '1919'
                          supplyHeld: 4686221.887717294
                          timestamp: 2024-01-01 00:00:00 000
                        - bucket: 0.001-0.01 BTC
                          bucketSize: '12319890'
                          supplyHeld: 44928.49075751555
                          timestamp: 2024-01-01 00:00:00 000
                        - bucket: 0.00001-0.0001 BTC
                          bucketSize: '9923858'
                          supplyHeld: 424.2221137385358
                          timestamp: 2024-01-01 00:00:00 000
      deprecated: false
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````