Skip to main content

Endpoint

GET /oapi/priceboard/symbol-matching-data Returns matching data for a symbol.

Required query parameters

  • symbol — Symbol code. Example: ACB
  • fetchCount — Number of matching records to return. Example: 10

Field descriptions

  • fromIndex (number) — Start volume index for the returned range.
  • toIndex (number) — End volume index for the returned range.
  • data (array) — Matching records in the selected range.
    • o (number | null) — Open price.
    • ti (number) — Match timestamp.
    • c (number) — Latest matched price.
    • ch (number) — Price change.
    • h (number) — High price.
    • l (number) — Low price.
    • mb (string) — Match side. Example: BUY or SELL.
    • mv (number) — Matched volume for this record.
    • r (number) — Change rate.
    • va (number) — Trading value after this match.
    • vo (number) — Trading volume after this match.

cURL

curl -G "$BASE_URL/oapi/priceboard/symbol-matching-data" \
  --data-urlencode "symbol=ACB" \
  --data-urlencode "fetchCount=10"

Python

import requests

BASE_URL = "https://api.example.com"

params = {
    "symbol": "ACB",
    "fetchCount": 10,
}

response = requests.get(
    f"{BASE_URL}/oapi/priceboard/symbol-matching-data",
    params=params,
)
response.raise_for_status()

print(response.json())

Example response

{
    "fromIndex": 13745600,
    "toIndex": 13775200,
    "data": [
        {
            "o": null,
            "ti": 1773992700007,
            "c": 23000,
            "ch": -600,
            "h": 23500,
            "l": 23000,
            "mb": "SELL",
            "mv": 6400,
            "r": -2.54,
            "va": 319093870000,
            "vo": 13775200
        },
        {
            "o": null,
            "ti": 1773992700007,
            "c": 23000,
            "ch": -600,
            "h": 23500,
            "l": 23000,
            "mb": "SELL",
            "mv": 100,
            "r": -2.54,
            "va": 318946670000,
            "vo": 13768800
        }
    ]
}
Replace BASE_URL with your API host.