💹Tokens
The /tokens path is centered around data tied directly to the DAO's token. This includes financial, token holders and DEX data.
Good to know: All the methods shown below are synced to an example Swagger file URL and are kept up to date automatically with changes to the API.
Tokens
Looks up all live Tokens
GET
https://api.daohq.co/data/tokens
Looks up all Tokens by name
or id
and returns basic Token data including financial snap shot for each.
Default limit is 10.
Query Parameters
Name | Type | Description |
---|---|---|
id | string[] | The Token's |
name | string[] | The Token's |
limit | integer | Defaults to |
Tip: The /tokens
route can be used as a 'search' by using the name
query. Results queried by name
are case insensitive which makes searching easy.
Holders
Returns snapshot of token holder data
GET
https://api.daohq.co/data/tokens/holders
Returns a snapshot of realtime token holder data. Query can be an array of id
and / or name
.
If neither id
or name
is passed in, the query will return data for all Tokens where the data is present, with a default limit of 10.
Query Parameters
Name | Type | Description |
---|---|---|
id | string[] | The Token's |
limit | integer | Defaults to |
name | string[] | The Token's |
DEX data
Returns snapshot of token DEX data
GET
https://api.daohq.co/data/tokens/dex-data
Returns a snapshot of realtime token DEX data. Query can be an array of id
and / or name
.
If neither id
or name
is passed in, the query will return data for all Tokens where the data is present, with a default limit of 10.
Query Parameters
Name | Type | Description |
---|---|---|
id | string[] | The Token's |
name | string[] | The Token's |
limit | integer | Defaults to |
Historic data
These endpoints return historic time series data for a single Token.
Returns historic time series financial data
GET
https://api.daohq.co/data/tokens/historic-financial
Returns time series financial data for a given Token. Either the Token's name
or id
is required.
Data points are updated every 5 minutes.
Query Parameters
Name | Type | Description |
---|---|---|
id | string | The Token's |
interval* | string | Options: |
start* | date | The data starting point, as far back as 01 Feb 2022. |
name | string | The Token's |
Returns details of the latest DEX transactions
GET
https://api.daohq.co/data/tokens/historic-dex-trades
Returns the latest DEX transactions as objects for a given Token. Either the Token's id
or name
is required.
Data is updated hourly and limits to the most recent 100 trades by default.
Query Parameters
Name | Type | Description |
---|---|---|
id | string | The Token's |
String | ||
limit | integer | Defaults to |
name | string | The Token's |
Last updated