Get Best Offer
Automatically retrieves a single offer that best matches the userβs trading parameters. This offer is optimized for factors such as merchant availability, competitive rates, and faster completion times, providing a seamless trading experience.
Query Parameters
Blockchain network identifier
Response
external offer id
userId of the merchant that created offer
id of network on which the asset is on
symbol of token been sold or bought
ISO 4217 code for fiat currency
ONRAMP
, OFFRAMP
Offer rate behavior
FIXED
, FLEXIBLE
offer total unit in fiat
units that has been traded out of the total unit
units that has been locked out of the offer total unit
price rate to buy or sell
the current offer status
PENDING
, ACTIVE
, OFFLINE
, LOW_BALANCE
, LIMIT_REACHED
Partner's display name
minumum trade limit
maximum trade limit
Timestamp field.
Timestamp field.
Timestamp field.
Timestamp field.
Maximum fiat limit consideration available units
Calculated available units when locked and traded units are deducted
The minimum (for onramp) or maximum (for offramp) rate allowed for this ad if it's a flexible ad
offer margin in percentage allowed for flexible offers
the reason for the current status - mostly applied to non active or offline status
preview image url
auto response message to be shown to customers
note to be shown to the customer
trade request broadcast id
Indicates if an ad should be hidden from the public and treated as a private ad.
Indicates if rate is hidden
Is instant pay enabled for offer
Max tradeable by instant pay on this add. (In fiat value)
minimum tradeable by instant pay on this add. (In fiat value)
Account id of instantpay. Useful especially for onramp payins
Provider for custom payin (ONRAMP only)