Skip to content

Public

Public endpoints (no API key): connectivity checks and exchange metadata.

  • Start with ping / time to verify reachability and clock skew.
  • exchangeInfo lists symbols and filters used by trading clients.
  • pairs returns 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

Responses

Success

Response fields

Name Type Description
exchangeFilters Array<>
serverTime integer(int64)
symbols Array<ExchangeSymbol>
timezone string

rate_limited

{
    "code": -1003,
    "msg": "Too many requests; current request has 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)

Responses

Success

Response fields

Array of PairsResult:

Name Type Description
baseToken string
quoteToken string
symbol string

rate_limited

{
    "code": -1003,
    "msg": "Too many requests; current request has 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

Responses

Success

Response fields

Empty JSON object {}.

Empty object {}

rate_limited

{
    "code": -1003,
    "msg": "Too many requests; current request has 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

Responses

Success

Response fields

Name Type Description
serverTime integer(int64)

rate_limited

{
    "code": -1003,
    "msg": "Too many requests; current request has 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)

Responses

Success

Response fields

Name Type Description
ip string

rate_limited

{
    "code": -1003,
    "msg": "Too many requests; current request has 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