

Base URL
The API is served with the app athttps://ambichain.org/api. Every response is JSON with cache-control: no-store.
Endpoints
The order object
GET /offers and GET /offers/{id} return orders shaped like this:
state is listed, matched, filled, refunded or canceled. Once the destination decides, destinationOutcome holds { outcome: "Paid" | "ExpiredUnpaid", hash, timestamp }.
Filters on /offers
Errors
Errors return{ "error": "message" } with a 4xx status. POST bodies must be JSON under 8 KB, from a local origin.