For the complete documentation index, see llms.txt. This page is also available as Markdown.

API

Specifications to interact with Fynd server

GET /v1/health - Health check endpoint.

get

Returns the current health status of the service.

Responses
200

Service healthy

application/json

Health check response.

derived_data_readybooleanOptional

Whether derived data has been computed at least once.

This indicates overall readiness, not per-block freshness. Some algorithms require fresh derived data for each block — they are ready to receive orders but will wait for recomputation before solving.

Example: true
gas_price_age_msinteger · nullableOptional

Time since last gas price update in milliseconds, if available.

Example: 12000
healthybooleanRequired

Whether the service is healthy.

Example: true
last_update_msinteger · int64Required

Time since last market update in milliseconds.

Example: 1250
num_solver_poolsintegerRequired

Number of active solver pools.

Example: 2
get
/v1/health

POST /v1/quote - Request a quote.

post

Accepts a QuoteRequest and returns a Quote with the best routes found, or an error if the request could not be filled.

Errors

  • 400 Bad Request: Invalid request format

  • 422 Unprocessable Entity: No routes found

  • 503 Service Unavailable: Queue full or service overloaded

  • 503 Service Unavailable: Queue full, service overloaded, or quote timeout

Body

Request to solve one or more swap orders.

Responses
200

Quote completed

application/json

Complete solution for a [QuoteRequest].

Contains a solution for each order in the request, along with aggregate gas estimates and timing information.

solve_time_msinteger · int64Required

Time taken to compute this solution, in milliseconds.

Example: 12
total_gas_estimatestringRequired

Total estimated gas for executing all swaps (as decimal string).

Example: 150000
post
/v1/quote

GET /v1/info - Return static metadata about this Fynd instance.

get
Responses
200

Instance info

application/json

Static metadata about this Fynd instance, returned by GET /v1/info.

chain_idinteger · int64Required

EIP-155 chain ID (e.g. 1 for Ethereum mainnet).

Example: 1
permit2_addressstringRequired

Address of the canonical Permit2 contract (same on all EVM chains).

Example: 0x000000000022D473030F116dDEE9F6B43aC78BA3
router_addressstringRequired

Address of the Tycho Router contract on this chain.

Example: 0xfD0b31d2E955fA55e3fa641Fe90e08b677188d35
get
/v1/info
200

Instance info

Last updated