Skip to content

Public API

Endpoints that do not require authentication.

get_markets

client.get_markets() -> list[dict]

Returns a list of available markets.

Example response:

[
  {"product_code": "BTC_JPY", "market_type": "Spot"},
  {"product_code": "FX_BTC_JPY", "market_type": "FX"}
]


get_board

client.get_board(product_code: str = "BTC_JPY") -> dict

Returns the order book for the specified market.


get_ticker

client.get_ticker(product_code: str = "BTC_JPY") -> dict

Returns the latest ticker for the specified market.

Field Description
ltp Last traded price
best_bid / best_ask Best bid / ask price
volume 24-hour trading volume

get_executions

client.get_executions(
    product_code: str = "BTC_JPY",
    count: int | None = None,
    before: int | None = None,
    after: int | None = None,
) -> list[dict]

Returns execution history (up to 31 days in the past).


get_board_state

client.get_board_state(product_code: str = "BTC_JPY") -> dict

Returns the current state of the order book, including health and state.


get_health

client.get_health(product_code: str = "BTC_JPY") -> dict

Returns the current operational status of the exchange.


get_funding_rate

client.get_funding_rate(product_code: str) -> dict

Returns the next scheduled funding rate. product_code is required (e.g. FX_BTC_JPY).


get_funding_rate_history

client.get_funding_rate_history(
    product_code: str,
    count: int | None = None,
    from_: str | None = None,
    to: str | None = None,
) -> list[dict]

Returns historical funding rates.


get_corporate_leverage

client.get_corporate_leverage() -> dict

Returns the maximum leverage for corporate accounts.


get_chats

client.get_chats(from_date: str | None = None) -> list[dict]

Returns chat messages. Defaults to messages from the past 5 days if from_date is omitted.