REST API
Tensor provides a simple REST API to query NFT prices across both Solana and Ethereum.
Please reach out to [email protected] to ask for the API endpoint / API key.
Endpoints
List collections
GET
https://api.tensor.so/:chain/collections
Lists currently supported collections.
Note: currently only blue chip collections on Solana & Ethereum are supported.
Examples:
https://api.tensor.so/eth/collections/
https://api.tensor.so/sol/collections/
Path Parameters
:chain*
String
sol
or eth
List mints
GET
https://api.tensor.so/:chain/collections/:collection
Lists mints that are part of the collection.
For a 10k collection returns 10k mints with links to their metadata.
Examples:
https://api.tensor.so/eth/collections/0xed5af388653567af2f388e6224dc7c4b3241c544
https://api.tensor.so/sol/collections/AsbhrsY4posEBmZ8vyAooKtpvyJoWQWTqsSnnZpDmChn
Path Parameters
:chain*
String
sol
or eth
:collection*
String
pick one from list collections endpoint
Get collection's "smart floor price"
GET
https://api.tensor.so/:chain/collections/:collection/floor?at=:ts
Gets Tensor's "smart floor price" for a given collection.
"Smart" floor prices are a version of the standard floor prices robust to manipulation. See https://docs.tensor.so/smart-floor-price/introduction for more detail.
Examples:
https://api.tensor.so/eth/collections/0xed5af388653567af2f388e6224dc7c4b3241c544/floor?at=1648413731
https://api.tensor.so/sol/collections/AsbhrsY4posEBmZ8vyAooKtpvyJoWQWTqsSnnZpDmChn/floor
Path Parameters
:chain*
String
sol
or eth
:collection*
String
pick one from list collections endpoint
Query Parameters
:ts
Int
unix timestamp for desired floor price, optional
Get NFT estimated price
GET
https://api.tensor.so/:chain/collections/:collection/:nft?at=:ts
Gets Tensor's best estimate of an NFT's price.
The price is calculated using our proprietary models that take into account rarities and historical prices for all transactions.
Note: prices are usually least accurate for the top 10% of rarities in a collection. We're still working on that :)
Examples:
https://api.tensor.so/eth/collections/0xed5af388653567af2f388e6224dc7c4b3241c544/1234
Path Parameters
:chain*
String
sol
or eth
:collection*
String
pick one from list collections endpoint
:nft*
String
pick one from list nfts endpoint
Query Parameters
:ts
Int
unix timestamp for desired NFT price, optional
Endpoint missing?
Tensor is in early phases of its development. If there is an endpoint that you require that is missing - please let us know.
Last updated