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

# Get 24h ticker

> Returns current ticker data and 24-hour statistics for one market or all markets, including best bid, best ask, last price, volume, and price change.



## OpenAPI

````yaml /openapi/openapi.json get /partner/exchange/ticker/24h
openapi: 3.1.0
info:
  title: Stabyl API
  description: >-
    REST API for approved Stabyl accounts to automate exchange, wallet, and
    non-production simulation workflows.
  contact:
    name: Stabyl Support
    email: support@stabyl.com
  license:
    name: Proprietary
  version: 1.0.0
servers:
  - url: https://api.stabyl.com/v1
    description: Production
  - url: https://api-staging.stabyl.com/v1
    description: Staging
security: []
tags:
  - name: Exchange
    description: Trading market data and order management for account automation.
  - name: Wallets
    description: >-
      Supported routes, deposit destinations, balances, transactions, and saved
      recipients.
  - name: Webhooks
    description: >-
      Outbound event delivery configuration and eventually consistent delivery
      history. Verify Standard Webhooks webhook-id, webhook-timestamp, and
      webhook-signature headers against the unchanged raw request body before
      parsing JSON.
  - name: Simulation
    description: Non-production endpoints for testing integration behavior.
paths:
  /partner/exchange/ticker/24h:
    get:
      tags:
        - Exchange
      summary: Get 24h ticker
      description: >-
        Returns current ticker data and 24-hour statistics for one market or all
        markets, including best bid, best ask, last price, volume, and price
        change.
      operationId: get_partner_exchange_ticker_24h
      parameters:
        - name: pair_id
          in: query
          description: >-
            Trading pair identifier returned by `GET /partner/exchange/markets`,
            for example `USD/NGN`.
          required: false
          schema:
            type:
              - string
              - 'null'
          example: USD/NGN
      responses:
        '200':
          description: 24h ticker statistics
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                  - data
                properties:
                  data:
                    $ref: '#/components/schemas/Ticker24hResponse'
                  status:
                    type: string
                    enum:
                      - success
              example:
                data:
                  tickers:
                    - best_ask: '1651.00'
                      best_bid: '1649.00'
                      high: '1660.00'
                      last: '1650.00'
                      low: '1635.00'
                      open: '1640.00'
                      pair_id: USD/NGN
                      price_change: '10.00'
                      price_change_percent: '0.61'
                      timestamp: '2026-05-24T12:00:00Z'
                      volume: '10000.00'
                      volume_quote: '16500000.00'
                status: success
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                    properties:
                      code:
                        type: string
                        example: UNAUTHORIZED
                      message:
                        type: string
                        example: missing X-Api-Key header
                  status:
                    type: string
                    enum:
                      - error
              example:
                error:
                  code: UNAUTHORIZED
                  message: missing X-Api-Key header
                status: error
      security:
        - api_key: []
components:
  schemas:
    Ticker24hResponse:
      type: object
      description: >-
        Ticker response containing current and 24-hour statistics for one or
        more markets.
      required:
        - tickers
      properties:
        tickers:
          type: array
          items:
            $ref: '#/components/schemas/Ticker24h'
          description: List of ticker data
    Ticker24h:
      type: object
      description: Current ticker and 24-hour market statistics for a trading pair.
      required:
        - pair_id
        - volume
        - volume_quote
        - trade_count
        - timestamp
      properties:
        best_ask:
          type:
            - string
            - 'null'
          description: Current best ask price
          example: '1650.50'
        best_bid:
          type:
            - string
            - 'null'
          description: Current best bid price
          example: '1649.50'
        high:
          type:
            - string
            - 'null'
          description: 24h high price
          example: '1660.00'
        last:
          type:
            - string
            - 'null'
          description: Last traded price
          example: '1650.00'
        low:
          type:
            - string
            - 'null'
          description: 24h low price
          example: '1635.00'
        open:
          type:
            - string
            - 'null'
          description: Opening price 24h ago
          example: '1640.00'
        pair_id:
          type: string
          description: Trading pair identifier
          example: USD/NGN
        price_change:
          type:
            - string
            - 'null'
          description: Absolute price change
          example: '10.00'
        price_change_pct:
          type:
            - number
            - 'null'
          format: double
          description: Percentage price change
          example: 0.61
        timestamp:
          type: string
          description: Timestamp of this data
        trade_count:
          type: integer
          format: int64
          description: Number of trades in 24h
          example: 1250
        volume:
          type: string
          description: 24h volume in base currency
          example: '50000.00'
        volume_quote:
          type: string
          description: 24h volume in quote currency
          example: '82500000.00'
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: X-Api-Key
      description: >-
        API credential. Withdrawal quote and submit operations additionally
        require the documented Ed25519 timestamp, nonce, and signature headers.
      x-default: sb_test_your_key

````