Skip to content
Docs
Esc
↑↓navigate↵open⌘Jpreview

What a deposit would do now.

Quotes what a deposit into the pool would do now: the swap it needs, the least of each token it may receive and what it costs. A quote is never signed; confirming an operation quotes again.

GET/v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/zap-quote
Path parameters
chainstringrequired

The pool's chain by its slug, for example base.

Allowed:solanaethereumbaserobinhoodbscarchyperevm
protocolstringrequired

The protocol, for example uniswap.

min length 1 · max length 32
variantstringrequired

The protocol version or pool type, for example v3.

min length 1 · max length 32
deploymentstringrequired

The deployment of the variant on the chain.

min length 1 · max length 64
poolKeystringrequired

The pool's address, id or account within its deployment.

min length 1 · max length 96
Query parameters
amountBaseUnits

The deposit's amount of the pool's base token, in base units.

matches ^(?:0|[1-9][0-9]{0,77})$ · default: "0"
amountQuoteUnits

The deposit's amount of the pool's quote token, in base units.

matches ^(?:0|[1-9][0-9]{0,77})$ · default: "0"
fundstring

What the deposit is paid with: the two tokens, or all of it from the chain's native or stable coin.

default: "tokens"
Allowed:tokensnativestable
balancestring

on swaps part of the deposit so it fits the range; off deposits the amounts as given.

default: "on"
Allowed:onoff
rangestringrequired

The whole price range, or the custom range of low and high.

Allowed:fullcustom
lowDecimal

The lower price of a custom range: one base token in the quote token.

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
highDecimal

The upper price of a custom range: one base token in the quote token.

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
strategystring

How a bin pool deposit spreads over its bins; a pool on ticks takes none.

default: "spot"
Allowed:spotcurvebid-askcustom
weightsstring

The share of each bin of the range from the lowest bin up, 0 to 99; required by strategy=custom.

matches ^\d{1,2}(,\d{1,2}){0,1399}$
slippagestring | Decimal

Slippage in percent, or auto for the default of the token's category.

default: "auto"
speedstring

How fast the transaction should be included; a faster speed pays a higher priority fee.

default: "standard"
Allowed:standardfastturbo
Responses
200

Success.

paysTokenAmount[]required
min items 1 · max items 2
Show properties
Array of TokenAmount
tokenTokenRefrequired

A token on its chain, with the decimals of its base units.

Show properties
chainstringrequired

A chain by its slug.

Allowed:solanaethereumbaserobinhoodbscarchyperevm
addressstring | nullrequired

The contract or mint on its chain; null for the native coin.

Show properties
Any of:
string
string
null
null
symbolstringrequired

The ticker the token gives itself.

min length 1 · max length 64
namestringrequired

The name the token gives itself.

min length 1 · max length 128
logostring | nullrequired

The logo on INVICTUS's CDN, or null when there is none.

Show properties
Any of:
string
string
null
null
decimalsintegerrequired

The decimals its base units are read at.

min 0 · max 36
unitsUnitsrequired

A token amount in base units, a uint256 as integer text; divide by 10^decimals of its token to show it.

matches ^(?:0|[1-9][0-9]{0,77})$
valueUsdUsdValuerequired

A US-dollar figure, measured.

Show properties
One of:
object
statusstringrequired

Current and from a trusted read.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Older than its freshness bound; shown with its age.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Resting on one source, not yet confirmed.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
sourcestringrequired

The source the value rests on.

min length 1 · max length 40
object
statusstringrequired

Two sources disagree; both values are given.

valuesany[]required

The two values that disagree, each with its source.

min items 2 · max items 2
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

No value; never shown as zero.

reasonstringrequired

Why there is no value; it is never zero.

min length 1 · max length 200
depositobjectrequired
Show properties
baseTokenAmountrequired

An amount of a token in base units, and its worth in US dollars when known.

Show properties
tokenTokenRefrequired

A token on its chain, with the decimals of its base units.

Show properties
chainstringrequired

A chain by its slug.

Allowed:solanaethereumbaserobinhoodbscarchyperevm
addressstring | nullrequired

The contract or mint on its chain; null for the native coin.

Show properties
Any of:
string
string
null
null
symbolstringrequired

The ticker the token gives itself.

min length 1 · max length 64
namestringrequired

The name the token gives itself.

min length 1 · max length 128
logostring | nullrequired

The logo on INVICTUS's CDN, or null when there is none.

Show properties
Any of:
string
string
null
null
decimalsintegerrequired

The decimals its base units are read at.

min 0 · max 36
unitsUnitsrequired

A token amount in base units, a uint256 as integer text; divide by 10^decimals of its token to show it.

matches ^(?:0|[1-9][0-9]{0,77})$
valueUsdUsdValuerequired

A US-dollar figure, measured.

Show properties
One of:
object
statusstringrequired

Current and from a trusted read.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Older than its freshness bound; shown with its age.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Resting on one source, not yet confirmed.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
sourcestringrequired

The source the value rests on.

min length 1 · max length 40
object
statusstringrequired

Two sources disagree; both values are given.

valuesany[]required

The two values that disagree, each with its source.

min items 2 · max items 2
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

No value; never shown as zero.

reasonstringrequired

Why there is no value; it is never zero.

min length 1 · max length 200
quoteTokenAmountrequired

An amount of a token in base units, and its worth in US dollars when known.

Show properties
tokenTokenRefrequired

A token on its chain, with the decimals of its base units.

Show properties
chainstringrequired

A chain by its slug.

Allowed:solanaethereumbaserobinhoodbscarchyperevm
addressstring | nullrequired

The contract or mint on its chain; null for the native coin.

Show properties
Any of:
string
string
null
null
symbolstringrequired

The ticker the token gives itself.

min length 1 · max length 64
namestringrequired

The name the token gives itself.

min length 1 · max length 128
logostring | nullrequired

The logo on INVICTUS's CDN, or null when there is none.

Show properties
Any of:
string
string
null
null
decimalsintegerrequired

The decimals its base units are read at.

min 0 · max 36
unitsUnitsrequired

A token amount in base units, a uint256 as integer text; divide by 10^decimals of its token to show it.

matches ^(?:0|[1-9][0-9]{0,77})$
valueUsdUsdValuerequired

A US-dollar figure, measured.

Show properties
One of:
object
statusstringrequired

Current and from a trusted read.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Older than its freshness bound; shown with its age.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Resting on one source, not yet confirmed.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
sourcestringrequired

The source the value rests on.

min length 1 · max length 40
object
statusstringrequired

Two sources disagree; both values are given.

valuesany[]required

The two values that disagree, each with its source.

min items 2 · max items 2
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

No value; never shown as zero.

reasonstringrequired

Why there is no value; it is never zero.

min length 1 · max length 200
shapestringrequired
min length 1 · max length 80
wrapbooleanrequired
swapobject | nullrequired
Show properties
Any of:
object
fromTokenAmountrequired

An amount of a token in base units, and its worth in US dollars when known.

Show properties
tokenTokenRefrequired

A token on its chain, with the decimals of its base units.

Show properties
chainstringrequired

A chain by its slug.

Allowed:solanaethereumbaserobinhoodbscarchyperevm
addressstring | nullrequired

The contract or mint on its chain; null for the native coin.

Show properties
Any of:
string
string
null
null
symbolstringrequired

The ticker the token gives itself.

min length 1 · max length 64
namestringrequired

The name the token gives itself.

min length 1 · max length 128
logostring | nullrequired

The logo on INVICTUS's CDN, or null when there is none.

Show properties
Any of:
string
string
null
null
decimalsintegerrequired

The decimals its base units are read at.

min 0 · max 36
unitsUnitsrequired

A token amount in base units, a uint256 as integer text; divide by 10^decimals of its token to show it.

matches ^(?:0|[1-9][0-9]{0,77})$
valueUsdUsdValuerequired

A US-dollar figure, measured.

Show properties
One of:
object
statusstringrequired

Current and from a trusted read.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Older than its freshness bound; shown with its age.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Resting on one source, not yet confirmed.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
sourcestringrequired

The source the value rests on.

min length 1 · max length 40
object
statusstringrequired

Two sources disagree; both values are given.

valuesany[]required

The two values that disagree, each with its source.

min items 2 · max items 2
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

No value; never shown as zero.

reasonstringrequired

Why there is no value; it is never zero.

min length 1 · max length 200
toTokenAmount[]required
min items 1 · max items 2
Show properties
Array of TokenAmount
tokenTokenRefrequired

A token on its chain, with the decimals of its base units.

Show properties
chainstringrequired

A chain by its slug.

Allowed:solanaethereumbaserobinhoodbscarchyperevm
addressstring | nullrequired

The contract or mint on its chain; null for the native coin.

Show properties
Any of:
string
string
null
null
symbolstringrequired

The ticker the token gives itself.

min length 1 · max length 64
namestringrequired

The name the token gives itself.

min length 1 · max length 128
logostring | nullrequired

The logo on INVICTUS's CDN, or null when there is none.

Show properties
Any of:
string
string
null
null
decimalsintegerrequired

The decimals its base units are read at.

min 0 · max 36
unitsUnitsrequired

A token amount in base units, a uint256 as integer text; divide by 10^decimals of its token to show it.

matches ^(?:0|[1-9][0-9]{0,77})$
valueUsdUsdValuerequired

A US-dollar figure, measured.

Show properties
One of:
object
statusstringrequired

Current and from a trusted read.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Older than its freshness bound; shown with its age.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Resting on one source, not yet confirmed.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
sourcestringrequired

The source the value rests on.

min length 1 · max length 40
object
statusstringrequired

Two sources disagree; both values are given.

valuesany[]required

The two values that disagree, each with its source.

min items 2 · max items 2
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

No value; never shown as zero.

reasonstringrequired

Why there is no value; it is never zero.

min length 1 · max length 200
priceImpactPercentPercentValuerequired

An unavailable impact blocks the deposit.

Show properties
One of:
object
statusstringrequired

Current and from a trusted read.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Older than its freshness bound; shown with its age.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Resting on one source, not yet confirmed.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
sourcestringrequired

The source the value rests on.

min length 1 · max length 40
object
statusstringrequired

Two sources disagree; both values are given.

valuesany[]required

The two values that disagree, each with its source.

min items 2 · max items 2
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

No value; never shown as zero.

reasonstringrequired

Why there is no value; it is never zero.

min length 1 · max length 200
routesintegerrequired
max 10
savedUsdUsdValuerequired

A US-dollar figure, measured.

Show properties
One of:
object
statusstringrequired

Current and from a trusted read.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Older than its freshness bound; shown with its age.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Resting on one source, not yet confirmed.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
sourcestringrequired

The source the value rests on.

min length 1 · max length 40
object
statusstringrequired

Two sources disagree; both values are given.

valuesany[]required

The two values that disagree, each with its source.

min items 2 · max items 2
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

No value; never shown as zero.

reasonstringrequired

Why there is no value; it is never zero.

min length 1 · max length 200
routeobjectrequired
Show properties
sourcestringrequired
Allowed:pooljupiterkyberswapuniswap0xlifivelorarelaymobula
hopsobject[]required
min items 1 · max items 8
Show properties
Array of object
protocolstringrequired
min length 1 · max length 32
variantstringrequired
min length 1 · max length 32
fromstringrequired
min length 1 · max length 16
tostringrequired
min length 1 · max length 16
sharePercentDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
comparedobject[]required
min items 1 · max items 10
Show properties
Array of object
sourcestringrequired
Allowed:pooljupiterkyberswapuniswap0xlifivelorarelaymobula
receivesUnits | nullrequired
Show properties
Any of:
Units
string
null
null
feePercentDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
null
null
minimumobjectrequired

The least of each token the deposit may receive at the slippage asked for, in base units.

Show properties
baseUnitsrequired

A token amount in base units, a uint256 as integer text; divide by 10^decimals of its token to show it.

matches ^(?:0|[1-9][0-9]{0,77})$
quoteUnitsrequired

A token amount in base units, a uint256 as integer text; divide by 10^decimals of its token to show it.

matches ^(?:0|[1-9][0-9]{0,77})$
slippagePercentDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
slippageAutobooleanrequired
categorystringrequired
Allowed:peggedhighmidlowmicrofresh
binsinteger | nullrequired
Show properties
Any of:
integer
integer
null
null
feesobjectrequired
Show properties
networkUsdUsdValuerequired

A US-dollar figure, measured.

Show properties
One of:
object
statusstringrequired

Current and from a trusted read.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Older than its freshness bound; shown with its age.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Resting on one source, not yet confirmed.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
sourcestringrequired

The source the value rests on.

min length 1 · max length 40
object
statusstringrequired

Two sources disagree; both values are given.

valuesany[]required

The two values that disagree, each with its source.

min items 2 · max items 2
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

No value; never shown as zero.

reasonstringrequired

Why there is no value; it is never zero.

min length 1 · max length 200
transactionsintegerrequired
max 8
platformFeePercentDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
platformFeeUsdUsdValuerequired

A US-dollar figure, measured.

Show properties
One of:
object
statusstringrequired

Current and from a trusted read.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Older than its freshness bound; shown with its age.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Resting on one source, not yet confirmed.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
sourcestringrequired

The source the value rests on.

min length 1 · max length 40
object
statusstringrequired

Two sources disagree; both values are given.

valuesany[]required

The two values that disagree, each with its source.

min items 2 · max items 2
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

No value; never shown as zero.

reasonstringrequired

Why there is no value; it is never zero.

min length 1 · max length 200
platformDiscountUsdUsdValuerequired

A US-dollar figure, measured.

Show properties
One of:
object
statusstringrequired

Current and from a trusted read.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Older than its freshness bound; shown with its age.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Resting on one source, not yet confirmed.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
sourcestringrequired

The source the value rests on.

min length 1 · max length 40
object
statusstringrequired

Two sources disagree; both values are given.

valuesany[]required

The two values that disagree, each with its source.

min items 2 · max items 2
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

No value; never shown as zero.

reasonstringrequired

Why there is no value; it is never zero.

min length 1 · max length 200
platformOpenUsdUsdValuerequired

A US-dollar figure, measured.

Show properties
One of:
object
statusstringrequired

Current and from a trusted read.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Older than its freshness bound; shown with its age.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

Resting on one source, not yet confirmed.

valueDecimalrequired

An exact decimal number as text; never a binary float (IEEE 754).

max length 80 · matches ^-?[0-9]+(?:\.[0-9]+)?$
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
sourcestringrequired

The source the value rests on.

min length 1 · max length 40
object
statusstringrequired

Two sources disagree; both values are given.

valuesany[]required

The two values that disagree, each with its source.

min items 2 · max items 2
observedAtintegerrequired

When the value was read, in Unix seconds.

min 0 · max 9007199254740991
object
statusstringrequired

No value; never shown as zero.

reasonstringrequired

Why there is no value; it is never zero.

min length 1 · max length 200
discountEndsAtinteger | nullrequired
Show properties
Any of:
integer
integer
null
null
takenBystringrequired

Which step takes the cost: the swap or the fee step.

Allowed:swapfee-step
warningsstring[]required
max items 5
expiresAtintegerrequired

A point in time: Unix time in whole seconds, UTC.

min 0 · max 9007199254740991
asOfintegerrequired

A point in time: Unix time in whole seconds, UTC.

min 0 · max 9007199254740991
400

Invalid input; errors names the fields.

typestring<uri-reference>required

A URI reference naming the problem type; about:blank when only the status says it.

max length 200
titlestringrequired

A short summary of the problem type, the same for every occurrence.

max length 200
statusintegerrequired

The HTTP status code of this answer.

min 400 · max 599
detailstring

What went wrong this time, for a person to read.

max length 500
instancestring<uri-reference>

A URI reference of this occurrence, quoted to support.

max length 200
codestringrequired

What a client branches on, stable across releases.

matches ^[a-z][a-z0-9_]{0,63}$
retryAfterSecondsinteger

Seconds to wait before asking again, on 429 and 503; the Retry-After header agrees.

max 9007199254740991
errorsobject[]

The fields that were refused, on 400.

max items 50
Show properties
Array of object
fieldstringrequired

The refused field, as a JSON path into the request.

max length 200
codestringrequired

Why it was refused, stable across releases.

max length 64
messagestring

The reason, for a person to read.

max length 200
404

Not found, or not yours.

typestring<uri-reference>required

A URI reference naming the problem type; about:blank when only the status says it.

max length 200
titlestringrequired

A short summary of the problem type, the same for every occurrence.

max length 200
statusintegerrequired

The HTTP status code of this answer.

min 400 · max 599
detailstring

What went wrong this time, for a person to read.

max length 500
instancestring<uri-reference>

A URI reference of this occurrence, quoted to support.

max length 200
codestringrequired

What a client branches on, stable across releases.

matches ^[a-z][a-z0-9_]{0,63}$
retryAfterSecondsinteger

Seconds to wait before asking again, on 429 and 503; the Retry-After header agrees.

max 9007199254740991
errorsobject[]

The fields that were refused, on 400.

max items 50
Show properties
Array of object
fieldstringrequired

The refused field, as a JSON path into the request.

max length 200
codestringrequired

Why it was refused, stable across releases.

max length 64
messagestring

The reason, for a person to read.

max length 200
429

Too many requests; retryAfterSeconds says when to ask again.

typestring<uri-reference>required

A URI reference naming the problem type; about:blank when only the status says it.

max length 200
titlestringrequired

A short summary of the problem type, the same for every occurrence.

max length 200
statusintegerrequired

The HTTP status code of this answer.

min 400 · max 599
detailstring

What went wrong this time, for a person to read.

max length 500
instancestring<uri-reference>

A URI reference of this occurrence, quoted to support.

max length 200
codestringrequired

What a client branches on, stable across releases.

matches ^[a-z][a-z0-9_]{0,63}$
retryAfterSecondsinteger

Seconds to wait before asking again, on 429 and 503; the Retry-After header agrees.

max 9007199254740991
errorsobject[]

The fields that were refused, on 400.

max items 50
Show properties
Array of object
fieldstringrequired

The refused field, as a JSON path into the request.

max length 200
codestringrequired

Why it was refused, stable across releases.

max length 64
messagestring

The reason, for a person to read.

max length 200
500

Server error.

typestring<uri-reference>required

A URI reference naming the problem type; about:blank when only the status says it.

max length 200
titlestringrequired

A short summary of the problem type, the same for every occurrence.

max length 200
statusintegerrequired

The HTTP status code of this answer.

min 400 · max 599
detailstring

What went wrong this time, for a person to read.

max length 500
instancestring<uri-reference>

A URI reference of this occurrence, quoted to support.

max length 200
codestringrequired

What a client branches on, stable across releases.

matches ^[a-z][a-z0-9_]{0,63}$
retryAfterSecondsinteger

Seconds to wait before asking again, on 429 and 503; the Retry-After header agrees.

max 9007199254740991
errorsobject[]

The fields that were refused, on 400.

max items 50
Show properties
Array of object
fieldstringrequired

The refused field, as a JSON path into the request.

max length 200
codestringrequired

Why it was refused, stable across releases.

max length 64
messagestring

The reason, for a person to read.

max length 200
Try it
Server
Parameters
Request
curl -X GET '/v1/pools/base/string/string/string/string/zap-quote?range=full' \
  -H 'Accept: application/json'
Response
{
  "pays": [
    {
      "token": {
        "chain": "base",
        "address": "string",
        "symbol": "string",
        "name": "string",
        "logo": "string",
        "decimals": 0
      },
      "units": "1500000",
      "valueUsd": {
        "status": "exact",
        "value": "1234.56",
        "observedAt": 1793145600
      }
    }
  ],
  "deposit": {
    "base": {
      "token": {
        "chain": "base",
        "address": "string",
        "symbol": "string",
        "name": "string",
        "logo": "string",
        "decimals": 0
      },
      "units": "1500000",
      "valueUsd": {
        "status": "exact",
        "value": "1234.56",
        "observedAt": 1793145600
      }
    },
    "quote": {
      "token": {
        "chain": "base",
        "address": "string",
        "symbol": "string",
        "name": "string",
        "logo": "string",
        "decimals": 0
      },
      "units": "1500000",
      "valueUsd": {
        "status": "exact",
        "value": "1234.56",
        "observedAt": 1793145600
      }
    },
    "shape": "string"
  },
  "wrap": true,
  "swap": {
    "from": {
      "token": {
        "chain": "base",
        "address": "string",
        "symbol": "string",
        "name": "string",
        "logo": "string",
        "decimals": 0
      },
      "units": "1500000",
      "valueUsd": {
        "status": "exact",
        "value": "1234.56",
        "observedAt": 1793145600
      }
    },
    "to": [
      {
        "token": {
          "chain": "base",
          "address": "string",
          "symbol": "string",
          "name": "string",
          "logo": "string",
          "decimals": 0
        },
        "units": "1500000",
        "valueUsd": {
          "status": "exact",
          "value": "1234.56",
          "observedAt": 1793145600
        }
      }
    ],
    "priceImpactPercent": {
      "status": "exact",
      "value": "1234.56",
      "observedAt": 1793145600
    },
    "routes": 1,
    "savedUsd": {
      "status": "exact",
      "value": "1234.56",
      "observedAt": 1793145600
    },
    "route": {
      "source": "pool",
      "hops": [
        {
          "protocol": "string",
          "variant": "string",
          "from": "string",
          "to": "string",
          "sharePercent": "1234.56"
        }
      ],
      "compared": [
        {
          "source": "pool",
          "receives": "1500000",
          "feePercent": "1234.56"
        }
      ]
    }
  },
  "minimum": {
    "base": "1500000",
    "quote": "1500000"
  },
  "slippagePercent": "1234.56",
  "slippageAuto": true,
  "category": "pegged",
  "bins": 1,
  "fees": {
    "networkUsd": {
      "status": "exact",
      "value": "1234.56",
      "observedAt": 1793145600
    },
    "transactions": 1,
    "platformFeePercent": "1234.56",
    "platformFeeUsd": {
      "status": "exact",
      "value": "1234.56",
      "observedAt": 1793145600
    },
    "platformDiscountUsd": {
      "status": "exact",
      "value": "1234.56",
      "observedAt": 1793145600
    },
    "platformOpenUsd": {
      "status": "exact",
      "value": "1234.56",
      "observedAt": 1793145600
    },
    "discountEndsAt": 1793145600,
    "takenBy": "swap"
  },
  "warnings": [
    "string"
  ],
  "expiresAt": 1793145600,
  "asOf": 1793145600
}