Skip to main content
GET
Get market rate
Returns buy and sell market rate bands (reference rate plus min/max tolerance) for a token/fiat pair. Use this to validate whether a sender-provided rate on order creation is within allowed bounds.

Response shape (data)

Each side object: Numeric values are returned as strings (decimal). Either side may be omitted depending on corridor configuration.

position object

When qualifying public offers exist for this corridor, each side includes a position object so you can see how your effective rate compares to the best public peer: Interpreting deltaVsBest:
  • Sell (offramp): a positive delta means your rate is higher than the best peer — you are more competitive.
  • Buy (onramp): a negative delta means your rate is lower than the best peer — you are more competitive.
position is omitted when:
  • No qualifying public offers exist for the corridor, or
  • You have no effective rate configured for this corridor.
The reference fields marketRate, minimumRate, and maximumRate are unchangedposition is purely additive (backward compatible). The benchmark pool uses all enabled, non-testnet networks; it is not filtered by the {token}/{fiat} path parameters’ network.

Example

Example when position is omitted (no public benchmark available):
GET /v1/provider/rates/{token}/{fiat} uses the same response shape as this v2 route, including the position field. See Get Market Rate (v1).

Authorizations

API-Key
string
header
required

Path Parameters

token
string
required
fiat
string
required

Response

Market rate

status
string
Example:

"success"

message
string
Example:

"Operation successful"

data
object

Market rate bounds split by side. Either or both of buy and sell may be present depending on corridor configuration.