[Illustrative scaffold - not the live 0Bit API contract. See the 0Pools / 0Gate references.] Returns a firm, fee-inclusive quote valid for a short window. Reference the returned id when creating an order.
Authorization
bearerAuth AuthorizationBearer <token>
Use your secret key, e.g. sk_live_xxx.
In: header
Query Parameters
from*string
Source currency (fiat or crypto).
to*string
Destination currency.
amount*string
Amount of the source currency.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/quotes?from=EUR&to=USDC&amount=100"{ "id": "qt_8f2a", "from": "EUR", "to": "USDC", "amount": "100.00", "receive": "107.42", "rate": "1.0742", "expires_at": "2026-06-17T12:00:30Z"}{ "error": { "code": "unauthorized", "message": "Invalid API key." }}{ "error": { "code": "unauthorized", "message": "Invalid API key." }}