Skip to main content
POST
Request public exact-in quotes
POST https://quotes.eco.com/api/v3/quotes/exactIn returns every solver’s quote for an exact-input transfer. No API key or account is needed. It is a different service from the v1 API, with a different request and response format: Each entry in data carries quoteData.quoteResponse (amounts, fees, deadline, encodedRoute) and quoteData.contracts (the source and destination Portal and the prover). destinationAmount and minimumDestinationAmount are what the recipient receives. An empty data array means no solver quoted the route. The two formats are not interchangeable with v1.

Errors and limits

  • 400: invalid fields, in the format { statusCode, createdBy: "ValidationFilter", validationErrors }. dAppID allows letters, digits, dots, underscores, and hyphens, up to 64 characters.
  • 429: rate limited, by Eco or by an upstream quote provider. Honor Retry-After when present.
  • 5xx: service failure. Retry with backoff.
No requests-per-second quota is published for this service.

Body

application/json
dAppID
string
required

Unique identifier for the client application making the request

Example:

"your-app"

intentExecutionTypes
enum<string>[]
required

Array of intent execution types to fetch quotes for

Available options:
SELF_PUBLISH,
GASLESS
Example:
quoteRequest
object
required

Cross-chain token swap request details including source/destination tokens and addresses

contracts
object

Optional contract addresses to use for the cross-chain swap (will use defaults if not specified)

Response

Successfully retrieved exact in quotes from solvers

data
object[]
required

Array of solver quote responses