Get market rate
Provider
Get Market Rate
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 Response shape (
Each side object:
Numeric values are returned as strings (decimal). Either side may be omitted depending on corridor configuration.
When qualifying public offers exist for this corridor, each side includes a
Interpreting
Example when
rate on order creation is within allowed bounds.
Response shape (data)
| Field | Type | Description |
|---|---|---|
buy | object (optional) | Buy-side band — see fields below |
sell | object (optional) | Sell-side band — see fields below |
| Field | Type | Description |
|---|---|---|
marketRate | string | Reference market rate for this side (fiat per crypto) |
minimumRate | string | Minimum allowed rate for this side |
maximumRate | string | Maximum allowed rate for this side |
position | object (optional) | Rate benchmark vs. best public peer — see below |
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:
| Field | Type | Description |
|---|---|---|
bestPublicRate | string | Best rate among enabled non-testnet public peers (highest for sell; lowest for buy) |
yourEffectiveRate | string | Your own effective rate for this corridor and side |
deltaVsBest | string | yourEffectiveRate − bestPublicRate |
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.
marketRate, minimumRate, and maximumRate are unchanged — position 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
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).