Swap for agents & LLMs

Exen prices a token swap across every venue it indexes and settles the whole route in one transaction. This page is the contract for software: how to prepare a trade, where the API is, and what Exen will never do for you. The same text is served as /llms.txt.

[Prepare a trade with a URL]

The simplest integration, and the right one if you cannot make authenticated HTTP calls: build a link with the trade composed and hand it to the person you are helping.

https://app.wraxyn.io/?sell=ETH&buy=USDC&amount=1.5&chain=base
ParamMeaningAccepted
sellToken being sold.A verified symbol (ETH, USDC, WBTC) or a 0x address.
buyToken being bought.Same as sell.
amountTrade size, in whole token units — never wei.Decimal, e.g. 1.5
chainWhich chain the trade happens on.Key (base), id (8453), or alias (eth, arb, bnb, avax, matic, hood).
modeWhich side amount fixes.sell (default, exact-in) or buy (exact-out).
  • Symbols resolve only against the verified token table. Prefer a symbol you are sure of over an address you are not — an unknown symbol is ignored, a wrong address is a loss.
  • ETH (or NATIVE) means the chain's native asset, not the wrapped one.
  • Unknown or malformed parameters are ignored; the page still opens usable.
  • Every parameter is optional. The form opens with the chain's native asset on the sell side and the buy side empty, so a link carrying only sell and amount is valid — it leaves the user one choice, and nothing is priced until a pair exists.

[Call the API]

The aggregator API is served at https://exen.wraxyn.io. GET /v1/quote returns an indicative price; GET /v1/swap returns the same plus executable calldata for the router. No API key is required — it is open, and metered per IP at 3 requests per second. If you need a budget of your own, email admin@wraxyn.io for a private base URL and a key.

A quote is indicative and nothing is reserved. The transaction a user signs is built from a fresh quote at signing time. Never show a stored quote as a current price.

[Read the full API definition]

Three formats, one source — all generated from the specification the API is built to, so none can describe a parameter we do not serve.

  • /api.md — start here. The whole contract as one flat Markdown file: every endpoint, parameter, response field, error and warning. One fetch, no HTML, no link-following.
  • /openapi.yaml · /openapi.json — OpenAPI 3.1, for client generators and API tooling.
  • /llms.txt — this contract plus the swap walkthrough, as plain text.

[What Exen will not do]

  • It cannot sign for a user. Settlement always requires a signature from their own wallet. You can prepare a trade and present it; you cannot complete it. Do not tell someone their swap is done because you built a link.
  • It never custodies funds. Exen holds nothing and cannot move anything.
  • It is not a bridge. Both tokens are on the same chain.
  • It is not advice. Exen reports prices; whether a trade is a good idea is not something it knows.

[Chains]

Ethereum ethereum · 1Base base · 8453Arbitrum arbitrum · 42161BNB Chain bsc · 56Avalanche avalanche · 43114X Layer xlayer · 196Polygon polygon · 137Robinhood robinhood · 4663

Human documentation is at /docs; live coverage is at /stats.