Skip to content
Stove Website

Public API ​

API Introduction ​

Public API interfaces are open to all users and can be accessed without authentication. These interfaces provide platform statistics, orderbook information, and ticker statistics, offering transparent market data access for all users.

Basic Information ​

  • Test Environment: https://api-qa.proto.stove.finance
  • Production Environment: https://proto.stove.finance
  • Content-Type: application/json
  • Data Format: JSON (snake_case naming convention)
  • Multi-Chain Support: Supports multiple blockchain networks, each identified by chain_id
  • Default Network: BSC (Binance Smart Chain), chain_id = 56

Note: API examples show relative paths (e.g., /api/v1/orders). Prepend the environment URL when making actual requests.

Unified Response Format ​

All interfaces follow a unified response structure:

FieldTypeDescription
codeintResult code, 0 indicates success, non-0 indicates error
messagestringError message, brief description (returned only on error)
detailsstringAdditional error information (returned only on error)
dataobjectBusiness data (returned only on success)

Success Response Example:

json
{
	"code": 0,
	"data": {
		// Specific business data
	}
}

Error Response Example:

json
{
	"code": 400001,
	"message": "Invalid parameter",
	"details": "The wallet_address field is required"
}

API Overview ​

Public API provides the following main features:

  • Platform Statistics - Query platform user count, order count, and stock token count
  • Ticker Statistics - Query basic information and trading statistics for stocks
  • Ticker Heatmap - Query heatmap data for popular market stocks

Please click the left navigation bar to view detailed documentation for each interface.


Enum Type Descriptions ​

Exchange - Exchange Code ​

IndexDescription
0U.S Stock Exchange
1Hong Kong Stock Exchange
3South Korea Stock Exchange

Market - Market Code ​

EnumDescription
usexUS Stock Market
hkexHong Kong Stock Market
krexSouth Korea Stock Market

KLineInterval - K-Line Interval ​

EnumDescription
minute11 minute
minute33 minutes
minute55 minutes
minute3030 minutes
hour1 hour
day1 day
week1 week
month1 month
quarter1 quarter
year1 year

Notes ​

  • Data Format: All interfaces use snake_case naming convention
  • Amount Precision: Amount fields use string type to avoid precision loss
  • Address Format: Ethereum addresses must include 0x prefix
  • Time Format: Unless otherwise specified, time format defaults to ISO 8601 standard format, e.g., 2025-11-17T03:00:24Z