Get Collection Stats
Fetch the overall sale summary of the whole collection or a specific asset.
Get Sale Summary
GET
https://api.dkoda.xyz/v1/collection/stats
Fetches the sales summary for the given contract address.
Query Parameters
Name | Type | Description |
---|---|---|
contractAddress* | String | The contract address of the collection. e.g. "0x23581767a106ae21c074b2276d25e5c3e136a68b" |
assetId | String | An optional id of a specific asset to filter sales by. If not provided, the sales for all assets in the collection will be fetched. e.g. "1749" |
since | Integer | An optional epoch timestamp to filter sales by. When provided, will fetch the sales summary since this timestamp. Can be used together with the |
until | Integer | An optional epoch timestamp to filter sales by. When provided, will fetch the sales summary until this timestamp. Can be used together with the |
Headers
Name | Type | Description |
---|---|---|
x-api-key* | String | The API key to use when making requests. |
Good to know: These endpoints require an API key to be present in the request header. Please contact us to request one.
Last updated