Skip to main content

GET /api/swap/quote

the UI can show "stamped at Z2,288,775,000" and the user knows the quote is current.

The quote is INFORMATIONAL — when the user actually claims, the server re-runs the math against the oracle's price at claim time.

MethodGET
Path/api/swap/quote
Feature areaSwap
TagOther
Authpublic (no key)
Tiercomputation (public)

Parameters

This operation publishes no path, query or header parameters.

Request body

This operation takes no request body.

Responses

StatusMeaning
200OK
400Bad request — a parameter or body field is missing or malformed
500Server error

400 body

FieldTypeRequiredDescription
okboolean — one of falseyes
errorstringnoHuman-readable message.
codestringnoStable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED.

500 body

FieldTypeRequiredDescription
okboolean — one of falseyes
errorstringnoHuman-readable message.
codestringnoStable machine-readable code, e.g. ADMIN_REQUIRED, INVALID_ZID, ZID_NOT_LINKED.

Call it

curl -sS -X GET https://zeq.me/api/swap/quote

Generated from the live OpenAPI description (https://zeq.me/openapi.json, spec version 1.287.0) by scripts/generate-reference.mjs. Do not edit — this file is rewritten on every run.