ℹ️Market Data
Fokawa Market Data API Documentation
Fokawa Market Data API Documentation
The following endpoints provide free market data from Fokawa.com:
Market Summary: https://openapi.fokawa.com/open/v2/pub/summary
Asset Details: https://openapi.fokawa.com/open/v2/pub/asset
Ticker Information: https://openapi.fokawa.com/open/v2/pub/ticker
Order Book (BTC/USDT): https://openapi.fokawa.com/open/v2/pub/orderbook?symbol=BTC_USDT
Recent Trades (BTC/USDT): https://openapi.fokawa.com/open/v2/pub/trades?symbol=BTC_USDT
Endpoint Overview
Summary Endpoint
Category: Summary
Status: Mandatory
Description: Overview of market data for all tickers and markets.
Example: https://openapi.fokawa.com/open/v2/pub/summary
Asset Endpoint
Category: Asset
Status: Recommended
Description: Detailed information on cryptocurrencies available on the exchange.
Example: https://openapi.fokawa.com/open/v2/pub/asset
Ticker Endpoint
Category: Ticker
Status: Mandatory
Description: 24-hour rolling window price change statistics for all markets.
Example: https://openapi.fokawa.com/open/v2/pub/ticker
Order Book Endpoint
Category: Order Book
Status: Mandatory
Description: Market depth of a trading pair with full depth available.
Example: https://openapi.fokawa.com/open/v2/pub/orderbook?symbol=BTC_USDT
Trades Endpoint
Category: Trades
Status: Mandatory
Description: Recently completed trades for a given market.
Example: https://openapi.fokawa.com/open/v2/pub/trades?symbol=BTC_USDT
Summary Endpoint
The summary endpoint provides an overview of market data for all tickers and market pairs on the exchange.
Example Response:
Response Descriptions
trading_pairs: Identifier of a ticker with delimiter to separate base/quote (e.g., BTC-USD).
base_currency: Symbol/code of base currency (e.g., BTC).
quote_currency: Symbol/code of quote currency (e.g., USD).
last_price: Last transacted price of base currency based on given quote currency.
lowest_ask: Lowest ask price of base currency based on given quote currency.
highest_bid: Highest bid price of base currency based on given quote currency.
base_volume: 24-hour volume of market pair denoted in base currency.
quote_volume: 24-hour volume of market pair denoted in quote currency.
price_change_percent_24h: 24-hour percentage price change of market pair.
highest_price_24h: Highest price of base currency based on given quote currency in the last 24 hours.
lowest_price_24h: Lowest price of base currency based on given quote currency in the last 24 hours.
Asset Endpoint
The asset endpoint provides a detailed summary for each currency available on the exchange.
Example Response:
Response Descriptions
name: Full name of cryptocurrency.
unified_cryptoasset_id: Unique ID of cryptocurrency assigned by Unified Cryptoasset ID.
can_withdraw: Indicates whether withdrawals are enabled or disabled.
can_deposit: Indicates whether deposits are enabled or disabled.
min_withdraw: Minimum withdrawal amount of a cryptocurrency.
max_withdraw: Maximum withdrawal amount of a cryptocurrency.
maker_fee: Fees applied when liquidity is added to the order book.
taker_fee: Fees applied when liquidity is removed from the order book.
Ticker Endpoint
The ticker endpoint provides a 24-hour pricing and volume summary for each market pair available on the exchange.
Example Response:
Response Descriptions
base_id: The quote pair Unified Cryptoasset ID.
quote_id: The base pair Unified Cryptoasset ID.
last_price: Last transacted price of base currency based on given quote currency.
base_volume: 24-hour trading volume denoted in base currency.
quote_volume: 24-hour trading volume denoted in quote currency.
isFrozen: Indicates if the market is currently enabled (0) or disabled (1).
Order Book Endpoint
The order book endpoint provides a complete level 2 order book with full depth returned for a given market pair.
Example Response:
Response Descriptions
timestamp: Unix timestamp in milliseconds for the last update time.
bids: An array containing the offer price and quantity for each bid order.
asks: An array containing the ask price and quantity for each ask order.
Trades Endpoint
The trades endpoint returns data on all recently completed trades for a given market pair.
Example Response:
Response Descriptions
trade_id: A unique ID associated with the trade for the currency pair transaction.
price: Last transacted price of base currency based on given quote currency.
base_volume: Transaction amount in base currency.
quote_volume: Transaction amount in quote currency.
timestamp: Unix timestamp in milliseconds for when the transaction occurred.
type: Indicates whether the transaction originated as a buy or sell (buy removes ask, sell removes bid).
Last updated