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

# Crypto analytics passthrough

> [OpenAPI JSON Spec](/docs/output/v1_crypto_analytics_query_get.json)
Thin passthrough to the crypto on-chain analytics provider.
Supply `path` (e.g. `/btc/exchange-flows/inflow`) and `params`,
a URL-encoded query string of the parameters to forward (e.g.
`exchange=binance&window=day`). Call `path=/discovery/endpoints`
to list available endpoints. `data` is the passed-through
`result.data` array (free-form objects).



## OpenAPI

````yaml /api-reference/openapi.json get /v1/crypto/analytics/query
openapi: 3.0.0
info:
  contact: {}
  description: >-
    Welcome to Arrays!


    Arrays is a unified financial data layer for both financial institutions and
    retail users, delivering comprehensive market data across crypto and equity
    markets. Our datasets cover fundamentals, ETFs, options, crypto, and more.


    Visit [arrays.org](https://arrays.org) to request an API key and start your
    free trial. You can explore our full API offerings in the documentation
    below.


    For any questions regarding APIs or pricing, please contact
    support@arrays.org.
  title: Arrays API
  version: '1.0'
servers:
  - url: https://data-tools.prd.arrays.org/api
security: []
paths:
  /v1/crypto/analytics/query:
    get:
      tags:
        - Crypto
      summary: Crypto analytics passthrough
      description: |-
        [OpenAPI JSON Spec](/docs/output/v1_crypto_analytics_query_get.json)
        Thin passthrough to the crypto on-chain analytics provider.
        Supply `path` (e.g. `/btc/exchange-flows/inflow`) and `params`,
        a URL-encoded query string of the parameters to forward (e.g.
        `exchange=binance&window=day`). Call `path=/discovery/endpoints`
        to list available endpoints. `data` is the passed-through
        `result.data` array (free-form objects).
      parameters:
        - description: Analytics path, e.g. /btc/exchange-flows/inflow
          in: query
          name: path
          required: true
          schema:
            type: string
        - description: URL-encoded query string, e.g. exchange=binance&window=day
          in: query
          name: params
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/model.APIResponse'
                  - properties:
                      data:
                        items:
                          $ref: '#/components/schemas/model.AnalyticsRow'
                        type: array
                    type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/model.APIResponse'
                  - properties:
                      error:
                        $ref: '#/components/schemas/model.APIError'
                    type: object
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/model.APIResponse'
                  - properties:
                      error:
                        $ref: '#/components/schemas/model.APIError'
                    type: object
      security:
        - ApiKeyAuth: []
components:
  schemas:
    model.APIResponse:
      properties:
        data: {}
        error:
          $ref: '#/components/schemas/model.APIError'
        metadata: {}
        pagination: {}
        request_id:
          type: string
        success:
          type: boolean
      type: object
    model.AnalyticsRow:
      type: object
    model.APIError:
      properties:
        code:
          example: RESOURCE_NOT_FOUND
          type: string
        details:
          items:
            $ref: '#/components/schemas/model.APIErrorDetail'
          type: array
        docs_url:
          type: string
        examples:
          items:
            type: string
          type: array
        hint:
          type: string
        message:
          example: The requested resource was not found.
          type: string
        suggestions:
          items:
            type: string
          type: array
      type: object
    model.APIErrorDetail:
      properties:
        field:
          type: string
        got:
          type: string
        reason:
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: 'API Key authentication. Example: "your-api-key-here"'
      in: header
      name: X-API-Key
      type: apiKey

````