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

# /ticks



## AsyncAPI

````yaml api-reference/streaming-api/asyncapi.yml /ticks
id: /ticks
title: /ticks
description: ''
servers:
  - id: public
    protocol: wss
    host: streaming.coinpaprika.com
    bindings: []
    variables: []
address: /ticks
parameters: []
bindings: []
operations:
  - &ref_1
    id: sendMessage
    title: Send message
    description: Send messages to the API
    type: receive
    messages:
      - &ref_3
        id: sendMessage.message.0
        contentType: application/json
        payload:
          - name: sendMessage.message.0
            description: Subscribe to a topic on a single or multiple currencies.
            type: object
            properties:
              - name: event
                type: string
                enumValues:
                  - subscribe
                  - unsubscribe
                required: false
              - name: ids
                type: array
                required: false
              - name: quotes
                type: array
                required: false
        headers: []
        jsonPayloadSchema:
          type: object
          properties:
            event:
              type: string
              enum:
                - subscribe
                - unsubscribe
              x-parser-schema-id: <anonymous-schema-1>
            ids:
              type: array
              items:
                type: string
                description: Coinpaprika currency id.
                x-parser-schema-id: <anonymous-schema-3>
              x-parser-schema-id: <anonymous-schema-2>
            quotes:
              type: array
              items:
                type: string
                description: >-
                  Up to 5 quotes at once. Currently allowing values: USD, BTC,
                  ETH, BNB, MATIC, SOL
                x-parser-schema-id: <anonymous-schema-5>
              x-parser-schema-id: <anonymous-schema-4>
          x-parser-schema-id: operation
        title: Send message.message.0
        description: Subscribe to a topic on a single or multiple currencies.
        example: |-
          {
            "event": "subscribe",
            "ids": [
              "btc-bitcoin",
              "eth-ethereum"
            ],
            "quotes": [
              "USD",
              "BTC"
            ]
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: sendMessage.message.0
          - id: x-parser-message-name
            value: operation
    bindings: []
    extensions: &ref_0
      - id: x-parser-unique-object-id
        value: /ticks
  - &ref_2
    id: processMessage
    title: Process message
    description: Messages that you receive from the API
    type: send
    messages:
      - &ref_4
        id: processMessage.message.0
        contentType: application/json
        payload:
          - name: processMessage.message.0
            description: Currency data.
            type: object
            properties:
              - name: id
                type: string
                required: false
              - name: sym
                type: string
                required: false
              - name: ts
                type: integer
                required: false
              - name: quotes
                type: object
                required: false
        headers: []
        jsonPayloadSchema:
          type: object
          properties:
            id:
              type: string
              x-parser-schema-id: <anonymous-schema-6>
            sym:
              type: string
              x-parser-schema-id: <anonymous-schema-7>
            ts:
              type: integer
              x-parser-schema-id: <anonymous-schema-8>
            quotes:
              type: object
              patternProperties:
                ^[A-Z]{3}$:
                  type: object
                  properties:
                    m:
                      type: integer
                      x-parser-schema-id: <anonymous-schema-11>
                    p:
                      type: number
                      x-parser-schema-id: <anonymous-schema-12>
                    v24h:
                      type: number
                      x-parser-schema-id: <anonymous-schema-13>
                  x-parser-schema-id: <anonymous-schema-10>
              x-parser-schema-id: <anonymous-schema-9>
          x-parser-schema-id: currency
        title: Process message.message.0
        description: Currency data.
        example: |-
          {
            "id": "cfx-conflux-network",
            "sym": "CFX",
            "ts": 1676916987,
            "quotes": {
              "USD": {
                "m": 608286188,
                "p": 0.2909436491331033,
                "v24h": 801851299.5519149
              }
            }
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: processMessage.message.0
          - id: x-parser-message-name
            value: currency
    bindings: []
    extensions: *ref_0
sendOperations:
  - *ref_1
receiveOperations:
  - *ref_2
sendMessages:
  - *ref_3
receiveMessages:
  - *ref_4
extensions:
  - id: x-parser-unique-object-id
    value: /ticks
securitySchemes:
  - id: api-key
    name: Authorization
    type: httpApiKey
    in: header
    extensions: []

````