get https://api.nabu.xyz/chains//contracts/
Retrieves token information (price estimate) for an entire collection.
This endpoint retrieves the most recent price estimates for all tokens that have estimated prices in a collection.
Available in all Nabu subscription plans.
Response Field | Data Type | Description |
---|---|---|
contract_status | string | The price calculation status for the contract/collection. Possible values are:pending : The contract/collection has been recently added, and prices are not yet calculated; it is suggested that you retry in 5 minute intervalsavailable : The price is availableunsupported : The requested chain is unsupportedfailed : Nabu failed to calculate the price for that contract/collection |
price_update_date | string | The date the price was last updated, in ISO notation (UTC time) |
model_version | string | The Nabu machine learning model used to calculate the price |
next_offset | number | The offsite for the next page of results. If null, no more results are available |
tokens | array of objects | The list of tokens with price information |
tokens[].token_id | string | The token id in the collection |
tokens[].price_native | number | See GET token for details |
tokens[].price_min_native | number | See GET token for details |
tokens[].price_max_native | number | See GET token for details |
tokens[].price_eth | number | See GET token for details (deprecated) |
tokens[].price_min_eth | number | See GET token for details (deprecated) |
tokens[].price_max_eth | number | See GET token for details (deprecated) |
tokens[].value_drivers | array of Value Driver | Will only be present if the drivers parameter was true in the request. Please note that an extra API credit is consumed for each token that has data in this field |