Quotes
Free live quote comparison: best full-size venue quote vs a sliced execution estimate
POST
/v1/quotesUnauthenticated and free (edge rate-limited). Every number derives from live venue quote APIs at request time. The sliced figure comes from the SAME planner that executes intents, run in its preview mode: one extra small quote from the winning venue measures price impact, the planner sizes slices against half the stated slippage budget, and it may return one slice or refuse outright. It is an estimate, never a promise.
Request body
chain_idintegersell_tokenstring(required)buy_tokenstring(required)sell_amountstring(required)
Responses
200Live comparison
chain_idinteger(required)sell_tokenstring(required)buy_tokenstring(required)sell_amountstring(required)quoted_atobject(required)full_sizeobject(required)sliced_planobject,null(required)expected_savingsobject,null(required)planner_abortobject,null(required)assumed_max_slippage_bpsinteger(required)metered_feeobject(required)
400Invalid request or unsupported chain
502No venue answered
Example
curl -X POST https://api.cofferline.com/v1/quotes \
-H "content-type: application/json" \
-d '{"sell_token":"…","buy_token":"…","sell_amount":"…"}'