Skip to content

Venue share over a window

GET
/rh/venues
curl --request GET \
--url 'https://api.getchord.xyz/v1/rh/venues?days=30'

Chain 4663 only; takes no chain parameter. Served from Chord’s rollup tables, never from a raw scan. 503 NOT_READY until the rollup has run.

days
integer
default: 30 >= 1 <= 180
Media typeapplication/json
object
chain
integer
Allowed value: 4663
days
integer
venues
Array<object>
object
dex
string
volUsd
number
trades
integer
sharePct
number
series
Array<object>
object
day
integer
volUsd
number
trades
integer
tokens
integer
totals
object
volUsd
number
trades
integer
Example
{
"chain": 4663
}

Invalid parameters — error names the check that failed (INVALID_PARAMS, BAD_ADDRESS, BAD_LIMIT, BAD_HOURS, …).

Media typeapplication/json

Every non-2xx body.

object
error
required

Stable machine code, e.g. INVALID_PARAMS, NOT_READY, RATE_LIMIT_EXCEEDED.

string
message

For humans.

string
statusCode

HTTP status, when included.

integer
Example
{
"error": "INVALID_PARAMS",
"message": "amount must be an integer string in the token's smallest unit"
}

The lane behind this endpoint is not ready or not enabled here (NOT_READY, CHAIN_NOT_ENABLED, NOT_ENABLED, *_UNAVAILABLE). Retry later; do not treat it as an empty answer.

Media typeapplication/json

Every non-2xx body.

object
error
required

Stable machine code, e.g. INVALID_PARAMS, NOT_READY, RATE_LIMIT_EXCEEDED.

string
message

For humans.

string
statusCode

HTTP status, when included.

integer
Example
{
"error": "INVALID_PARAMS",
"message": "amount must be an integer string in the token's smallest unit"
}