Making Requests
The TradePort NFT Data API is a GraphQL API, which makes it easy to query for the exact data you need. The API is the same for all chains for fast and easy integration. If you are new to GraphQL, you can learn more about it here (opens in a new tab).
Queries
Refer to Hasura’s Query docs (opens in a new tab) for how to construct queries.
Subscriptions
Take advantage of real-time updates with GQL subscriptions.
Refer to Hasura’s Subscriptions docs (opens in a new tab) for more information.
Filtering
Filter results using the where
argument.
Full Reference (opens in a new tab)
Sorting
Sort results using the order_by
argument.
Full Reference (opens in a new tab)
Distinct
Fetch distinct results using the distinct_on
argument.
Full Reference (opens in a new tab)
Pagination
Use the offset
and limit
arguments for pagination.