Skip to main content
GET /exchange/quote/{id}}

Request\

Headers: Authorization: YOUR_API_KEY

Path Parameter:
  • id (string, required): The unique identifier of the rate to retrieve. Example: 3f27a046-314d-457f-b39b-1ec30561353d

Responses

  1. 200 OK
    • Media Type: application/json
{
  "data": {
    "id": "2f939fe5-fb7b-4234-8b73-761a848d13af",
    "locked": true,
    "rate": 1500,
    "symbol": "USD-NGN",
    "time_to_convert": 10,
    "time_to_lock": 30,
    "type": "buy"
  }
}
  1. 404 Not Found
  • Media Type: application/json
  • Returned if the specified id does not exist or is invalid.

Path Parameter:
  • id (string, required): The unique identifier of the rate to retrieve. Example: 3f27a046-314d-457f-b39b-1ec30561353d
  • .time_to_convert
    • Description: The Time-To-Live (TTL) of the rate in seconds.
  • time_to_lock
    • Description: The duration (in seconds) before the rate becomes available for locking while it is being unlocked.
  • locked
    • Description:
      • A locked quote is available for use in a swap within the time_to_convert interval.
      • An unlocked rate will become unavailable after the time_to_lock interval.
      • By default, the quote is locked for authenticated requests.
      • To prevent locking, add lock=false to the quote endpoint parameters.
  • type
    • Description: Specifies the conversion side from the provider’s perspective. Possible values are buy or sell.

Locking a quote