> ## 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.

# /binance/tickers/book

> Get the current best bid and ask price and size for one or more trading pairs

**Price:** 1 credit

**💡 AI Hint:** Get the current best (top-of-book) bid and ask for one or more Binance spot trading pairs (e.g. 'BTCUSDT'). For each pair it returns the best bid price and size and the best ask price and size — a lightweight view of the current spread without the full order book depth.

**⚠️ Common errors:** 412: None of the requested trading pairs were found



## OpenAPI

````yaml /openapi-filtered.json post /api/binance/tickers/book
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/binance/tickers/book:
    post:
      tags:
        - /binance
      summary: /binance/tickers/book
      description: >-
        Get the current best bid and ask price and size for one or more trading
        pairs


        **Price:** 1 credit


        **💡 AI Hint:** Get the current best (top-of-book) bid and ask for one
        or more Binance spot trading pairs (e.g. 'BTCUSDT'). For each pair it
        returns the best bid price and size and the best ask price and size — a
        lightweight view of the current spread without the full order book
        depth.


        **⚠️ Common errors:** 412: None of the requested trading pairs were
        found
      operationId: __api_binance_tickers_book_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BinanceBookTickerPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BinanceBookTicker'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    BinanceBookTickerPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          description: Max scrapping execution timeout (in seconds)
          default: 300
        symbols:
          items:
            type: string
          type: array
          minItems: 1
          description: Trading pair symbols, uppercase, no separator
          examples:
            - - BTCUSDT
              - ETHUSDT
      type: object
      required:
        - symbols
    BinanceBookTicker:
      properties:
        '@type':
          type: string
          default: BinanceBookTicker
        symbol:
          type: string
        bid_price:
          anyOf:
            - type: number
            - type: 'null'
        bid_qty:
          anyOf:
            - type: number
            - type: 'null'
        ask_price:
          anyOf:
            - type: number
            - type: 'null'
        ask_qty:
          anyOf:
            - type: number
            - type: 'null'
      type: object
      required:
        - symbol
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      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

````