Query Formatting
The Different Entities and Parameters in the API#
note
Check out our GraphiQL to play around with the API
Core Entities#
token: Gets data on a single tokentokens: Gets data for multiple tokenscollections: NFT collection informationevents: Contract event information, e.g. Transfers, Mints, Approvals, etc. Queries may timeout if not scoped to a specific contract.sales: Historical sales data from ZORA, OpenSea, LooksRare, Foundation, and more.mints: Historical minting data
Aggregated Entities#
aggregateStat: Returns owner count, total supply, sales volume, and other statisticsaggregateAttributes: Gets the total set of NFT attributes
Query Parameters#
where: Parameters that grab a specific set of NFT data, e.g.collectionAddressfilter: Filters down the results from thewhereparameters into a smaller data setnetworks: The network and chain to grab NFT data frompagination: A way to set the limit and starting point of the responsesort: Sorts the order of the returned data
Sales Price Responses#
nativePrice: The sales price in the currency that was used in the sale transactionusdcPrice: The sales price in USD at the time of the salechainTokenPrice: The sales price in the chain's gas token at the time of the sale- Ethereum = ETH
- Polygon = Matic
Pagination Parameters#
limit: Limits the size of the responseafter: A cursor string from the previous pageaftercan be obtained from theendCursorin thepageInforesponse