Skip to content
onelayer.
All tools

Tool detail

quote

Returns an executable swap quote (realizable fill price, price impact, slippage, depth and route) for a token pair and trade size across Base, Polygon and Arbitrum liquidity.

Categories: Defi

Use when

  • get the realistic fill price for a token swap before executing it
  • check price impact and slippage for a trade size on Base, Polygon or Arbitrum

Not for

  • not a spot/mid price feed - this is an executable, size-aware quote
  • not investment advice - informational data only

Inputs

POST JSON body: tokenIn, tokenOut (0x addresses, required); sizeIn or sizeUSD (string, at least one required); chain (enum, optional, default base).

Inputs undocumented: unsupported schema construct: anyOf

Endpoint

Method
POST
URL
https://api.getplexa.com/v1/quote

Payment

Protocol
x402
Listed price
0.02 USDC per request on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://api.getplexa.com/v1/quote
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z