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

# /blur/collections/charts

> Get the floor-price and sales time series for a Blur collection

**Price:** 1 credit

**💡 AI Hint:** Get the floor-price and sales time series for a Blur collection, identified by its slug (e.g. 'azuki') or contract address, over a chosen time span (day, week or month). Each interval returns its open and close timestamps (in milliseconds), the closing and low floor price with marketplace, and the individual sales in that interval (token id, price, marketplace and timestamp).

**⚠️ Common errors:** 412: Collection not found



## OpenAPI

````yaml /openapi-filtered.json post /api/blur/collections/charts
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/blur/collections/charts:
    post:
      tags:
        - /blur
      summary: /blur/collections/charts
      description: >-
        Get the floor-price and sales time series for a Blur collection


        **Price:** 1 credit


        **💡 AI Hint:** Get the floor-price and sales time series for a Blur
        collection, identified by its slug (e.g. 'azuki') or contract address,
        over a chosen time span (day, week or month). Each interval returns its
        open and close timestamps (in milliseconds), the closing and low floor
        price with marketplace, and the individual sales in that interval (token
        id, price, marketplace and timestamp).


        **⚠️ Common errors:** 412: Collection not found
      operationId: __api_blur_collections_charts_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BlurCollectionChartsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BlurChartInterval'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    BlurCollectionChartsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        collection:
          type: string
          minLength: 1
          description: Collection slug (e.g. 'azuki') or its on-chain contract address
          examples:
            - azuki
            - '0xed5af388653567af2f388e6224dc7c4b3241c544'
        count:
          type: integer
          minimum: 1
          description: Number of time intervals to return
        window:
          $ref: '#/components/schemas/BlurChartWindow'
          description: Time span of the chart
          default: day
      type: object
      required:
        - collection
        - count
    BlurChartInterval:
      properties:
        '@type':
          type: string
          default: BlurChartInterval
        opened_at:
          anyOf:
            - type: integer
            - type: 'null'
        closed_at:
          anyOf:
            - type: integer
            - type: 'null'
        floor_close_price:
          anyOf:
            - type: number
            - type: 'null'
        floor_close_marketplace:
          anyOf:
            - type: string
            - type: 'null'
        floor_low_price:
          anyOf:
            - type: number
            - type: 'null'
        sales:
          items:
            $ref: '#/components/schemas/BlurChartSale'
          type: array
          default: []
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    BlurChartWindow:
      type: string
      enum:
        - day
        - week
        - month
    BlurChartSale:
      properties:
        '@type':
          type: string
          default: BlurChartSale
        created_at:
          anyOf:
            - type: integer
            - type: 'null'
        token_id:
          anyOf:
            - type: string
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        marketplace:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````