Public¶
Public endpoints (no API key): connectivity checks and exchange metadata.
- Start with
ping/timeto verify reachability and clock skew. exchangeInfolists symbols and filters used by trading clients.pairsreturns a simplified trading-pair list.
Pepperstone Crypto Public OpenAPI — Public 1.0.0¶
Pepperstone Crypto public REST API.
Authenticate with HMAC where required. See Authentication in the developer documentation for signing details. WebSocket market and private streams are documented separately. All times are UTC milliseconds unless noted.
Servers¶
| Description | URL |
|---|---|
| Production | https://api.pcrypto.com |
Public¶
GET /openapi/v1/exchangeInfo¶
Get exchange info
Description
Required Type: — (no API key)
Input parameters
| Parameter | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
symbol |
query | string | No |
GET /openapi/v1/exchangeInfocurl -sS -X GET 'https://api.pcrypto.com/openapi/v1/exchangeInfo'{
"timezone": "UTC",
"serverTime": 1713100000000,
"exchangeFilters": [],
"symbols": [
{
"symbol": "BTCUSDT",
"status": "TRADING",
"baseAsset": "BTC",
"baseAssetPrecision": 8,
"quoteAsset": "USDT",
"quoteAssetPrecision": 8,
"orderTypes": [
"LIMIT",
"MARKET",
"STOP_LOSS_LIMIT",
"STOP_LOSS",
"TAKE_PROFIT_LIMIT",
"TAKE_PROFIT"
],
"filters": [
{
"filterType": "PRICE_FILTER",
"minPrice": "0.00000100",
"maxPrice": "100000.00000000",
"tickSize": "0.00000100"
},
{
"filterType": "LOT_SIZE",
"minQty": "0.00100000",
"maxQty": "100000.00000000",
"stepSize": "0.00100000"
},
{
"filterType": "MIN_NOTIONAL",
"minNotional": "10.00000000"
}
]
}
]
}Responses
Success
Response fields
| Name | Type | Description |
|---|---|---|
exchangeFilters |
Array<> | |
serverTime |
integer(int64) | |
symbols |
Array<ExchangeSymbol> | |
timezone |
string |
rate_limited
Response fields
Error payload. Most API errors (including auth failures such as -1002) return HTTP 200 — see Error codes → HTTP status mapping. HTTP 400 for missing or invalid request parameters. HTTP 429 when rate limited.
| Name | Type | Description |
|---|---|---|
code |
integer | |
msg |
string |
GET /openapi/v1/pairs¶
Get trading pairs
Description
Required Type: — (no API key)
GET /openapi/v1/pairscurl -sS -X GET 'https://api.pcrypto.com/openapi/v1/pairs'[
{
"symbol": "BTCUSDT",
"quoteToken": "USDT",
"baseToken": "BTC"
}
]Responses
Success
Response fields
Array of PairsResult:
| Name | Type | Description |
|---|---|---|
baseToken |
string | |
quoteToken |
string | |
symbol |
string |
rate_limited
Response fields
Error payload. Most API errors (including auth failures such as -1002) return HTTP 200 — see Error codes → HTTP status mapping. HTTP 400 for missing or invalid request parameters. HTTP 429 when rate limited.
| Name | Type | Description |
|---|---|---|
code |
integer | |
msg |
string |
GET /openapi/v1/ping¶
Ping
Description
Required Type: — (no API key)
Health
GET /openapi/v1/pingcurl -sS -X GET 'https://api.pcrypto.com/openapi/v1/ping'Responses
Success
Response fields
Empty JSON object {}.
Empty object {}
rate_limited
Response fields
Error payload. Most API errors (including auth failures such as -1002) return HTTP 200 — see Error codes → HTTP status mapping. HTTP 400 for missing or invalid request parameters. HTTP 429 when rate limited.
| Name | Type | Description |
|---|---|---|
code |
integer | |
msg |
string |
GET /openapi/v1/time¶
Get server time
Description
Required Type: — (no API key)
Server time
GET /openapi/v1/timecurl -sS -X GET 'https://api.pcrypto.com/openapi/v1/time'{
"serverTime": 1713100000000
}Responses
Success
Response fields
| Name | Type | Description |
|---|---|---|
serverTime |
integer(int64) |
rate_limited
Response fields
Error payload. Most API errors (including auth failures such as -1002) return HTTP 200 — see Error codes → HTTP status mapping. HTTP 400 for missing or invalid request parameters. HTTP 429 when rate limited.
| Name | Type | Description |
|---|---|---|
code |
integer | |
msg |
string |
GET /openapi/v1/user/ip¶
Get caller IP
Description
Required Type: — (no API key)
GET /openapi/v1/user/ipcurl -sS -X GET 'https://api.pcrypto.com/openapi/v1/user/ip'{
"ip": "203.0.113.1"
}Responses
Success
Response fields
| Name | Type | Description |
|---|---|---|
ip |
string |
rate_limited
Response fields
Error payload. Most API errors (including auth failures such as -1002) return HTTP 200 — see Error codes → HTTP status mapping. HTTP 400 for missing or invalid request parameters. HTTP 429 when rate limited.
| Name | Type | Description |
|---|---|---|
code |
integer | |
msg |
string |
Schemas¶
EmptyObject¶
ErrorBody¶
| Name | Type | Description |
|---|---|---|
code |
integer | |
msg |
string |
ExchangeInfo¶
| Name | Type | Description |
|---|---|---|
exchangeFilters |
Array<> | |
serverTime |
integer(int64) | |
symbols |
Array<ExchangeSymbol> | |
timezone |
string |
ExchangeSymbol¶
| Name | Type | Description |
|---|---|---|
baseAsset |
string | |
baseAssetPrecision |
integer | |
filters |
Array<SymbolFilter> | |
orderTypes |
Array<string> | |
quoteAsset |
string | |
quoteAssetPrecision |
integer | |
status |
string | |
symbol |
string |
Ip¶
| Name | Type | Description |
|---|---|---|
ip |
string |
PairsResult¶
| Name | Type | Description |
|---|---|---|
baseToken |
string | |
quoteToken |
string | |
symbol |
string |
ServerTime¶
| Name | Type | Description |
|---|---|---|
serverTime |
integer(int64) |
SymbolFilter¶
| Name | Type | Description |
|---|---|---|
askMultiplierDown |
number | Decimal amount as a JSON number (`BigDecimal` on the wire). |
askMultiplierUp |
number | Decimal amount as a JSON number (`BigDecimal` on the wire). |
avgPriceMins |
string | |
bidMultiplierDown |
number | Decimal amount as a JSON number (`BigDecimal` on the wire). |
bidMultiplierUp |
number | Decimal amount as a JSON number (`BigDecimal` on the wire). |
filterType |
string | |
maxNotional |
number | Decimal amount as a JSON number (`BigDecimal` on the wire). |
maxNumAlgoOrders |
integer | |
maxNumOrders |
integer | |
maxPrice |
number | Decimal amount as a JSON number (`BigDecimal` on the wire). |
maxQty |
number | Decimal amount as a JSON number (`BigDecimal` on the wire). |
minNotional |
number | Decimal amount as a JSON number (`BigDecimal` on the wire). |
minPrice |
number | Decimal amount as a JSON number (`BigDecimal` on the wire). |
minQty |
number | Decimal amount as a JSON number (`BigDecimal` on the wire). |
multiplierDown |
number | Decimal amount as a JSON number (`BigDecimal` on the wire). |
multiplierUp |
number | Decimal amount as a JSON number (`BigDecimal` on the wire). |
priceDown |
number | Decimal amount as a JSON number (`BigDecimal` on the wire). |
priceUp |
number | Decimal amount as a JSON number (`BigDecimal` on the wire). |
stepSize |
number | Decimal amount as a JSON number (`BigDecimal` on the wire). |
tickSize |
number | Decimal amount as a JSON number (`BigDecimal` on the wire). |
Security schemes¶
| Name | Type | Scheme | Description |
|---|---|---|---|
| ApiKeyHmac | apiKey | ||
| ApiKeyOnly | apiKey | API key header only (no HMAC). Used for listenKey create, keepalive, and close. |
Tags¶
| Name | Description |
|---|---|
| Public |