Skip to content
Crifine

Exit estimates

The pre-trade check: what a stated size clears at, right now.

GET/v1/exit/{pool}

Realized price estimate for a stated size. Priced per call.

ParameterTypeNotes
size_usdnumber, requiredThe size the estimate is computed for. No default.
windowstringStress window for the lowest_depth_* field. Default 7d.
sidestringsell (default) or buy. Books are not symmetric.

Response fields

FieldTypeMeaning
poolstringVenue and asset identifier.
chainstringSettlement chain.
as_ofdateObservation timestamp of the underlying snapshot.
oracle_pricenumberReference price at as_of, source disclosed.
exit_size_usdnumberThe size this result was computed for.
realized_price_estnumberVolume-weighted price the full size is expected to clear at.
exit_gap_pctnumber(realized_price_est / oracle_price - 1) × 100. The number you act on.
slippage_bpsnumberThe same gap in basis points.
exceeds_bookbooleantrue when the size is larger than the whole observed book.
filled_usdnumberHow much of the size the observed book can absorb.
lowest_depth_7d_usdnumberWorst observed depth in the window — the stress case, not the average.
days_observedintegerLength of the continuous record backing this estimate.
market_openbooleanUnderlying market session state.
method_versionstringMeasurement method used, for reproducibility.
evidence_urlstringKeyless verification endpoint for this exact result. The reason you believe it.
curl "https://api.crifine.app/v1/exit/aave-v3-weth?size_usd=5000000&window=7d"
What happens past the edge of the observed book
The remainder beyond the last recorded band is charged at a penalty rate and exceeds_book is set to true. It is deliberately not extrapolated: an estimate past the edge of the data is a guess, and it should say so rather than dress itself as a price.