Liquidity by price bin.
Answers the pool’s liquidity in price bins around its current price.
/v1/pools/{chain}/{protocol}/{variant}/{deployment}/{poolKey}/depthchainstringrequiredThe pool's chain by its slug, for example base.
solanaethereumbaserobinhoodbscarchyperevmprotocolstringrequiredThe protocol, for example uniswap.
variantstringrequiredThe protocol version or pool type, for example v3.
deploymentstringrequiredThe deployment of the variant on the chain.
poolKeystringrequiredThe pool's address, id or account within its deployment.
Success.
gridstringrequiredticksbinsnonepriceDecimalrequiredThe pool price the bins were read at.
binsobject[]requiredShow propertiesHide properties
objectlowDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
highDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
baseUnitsrequiredA token amount in base units, a uint256 as integer text; divide by 10^decimals of its token to show it.
quoteUnitsrequiredA token amount in base units, a uint256 as integer text; divide by 10^decimals of its token to show it.
valueUsdUsdValuerequiredA US-dollar figure, measured.
Show propertiesHide properties
statusstringrequiredCurrent and from a trusted read.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredOlder than its freshness bound; shown with its age.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredResting on one source, not yet confirmed.
valueDecimalrequiredAn exact decimal number as text; never a binary float (IEEE 754).
observedAtintegerrequiredWhen the value was read, in Unix seconds.
sourcestringrequiredThe source the value rests on.
statusstringrequiredTwo sources disagree; both values are given.
valuesany[]requiredThe two values that disagree, each with its source.
observedAtintegerrequiredWhen the value was read, in Unix seconds.
statusstringrequiredNo value; never shown as zero.
reasonstringrequiredWhy there is no value; it is never zero.
activeinteger | nullrequiredThe bin the price is in, or null when the price is outside every bin or there are none.
Show propertiesHide properties
integernullasOfintegerrequiredA point in time: Unix time in whole seconds, UTC.
Invalid input; errors names the fields.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
Not found, or not yours.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
Too many requests; retryAfterSeconds says when to ask again.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
Server error.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
Not available yet: the figures it needs are not stored; the problem says why.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
