The NFTX app is powered by a combination of Web3 calls for realtime data (token prices, connected wallet holdings etc) and calls to The Graph for the data that can't easily be requested from the blockchain.
Below are some common requests that you can make to the NFTX V2 subgraph to retrieve data about the vaults and their holdings.
NFTX V2 Subgraph Endpoint
You can make POST requests to the following endpoint.
This request returns the global fees (default fees) that are applied to all vaults. The vaults have their own fees also applied to them so check what the usesFactoryFees is set to. If it is set to true then the global fees are used, if it is set to false then the fees defined on the vault are used.
This request returns the first 10 vaults that have been finalised and have more than 0 NFTs in the holdings. To get all vaults change the first: 10 to first: 1000 .
Single Vault Details
If you want all the details for a single vault you can pass across the vaultId as an argument
NFTX App Request
While there are a number of requests made to the subgraph to run the NFTX site the main request most integrations require is to retrieve all current vaults with the available NFTs available for purchase, and the facility to calculate the price.
This uses a combination of all the requests listed above.