โFAQ & Resources
Open API FAQ
Could you explain us which apis or data sources we could use to integrate your data on our data aggregator dashboard.
We have an API that can return different exchange data such as what markets are available, candle data like OHLC, etc https://docs.dydx.trade/developers/indexer/indexer_api
What are the APIs for volume, fees paid by traders, revenue earned and tvl if you have products with tvl?
This shows the field volume24H for each of the markets https://indexer.dydx.trade/v4/perpetualMarkets
It seems like numia has this in big query if you want to set something up fast. the link = https://www.datalenses.zone/chain/dydx/business
Is there a way to get user's BuyingPower from API or from SDK?
You can get equity and freeCollateral from the /v4/addresses/<address> endpoint https://docs.dydx.trade/developers/indexer/indexer_api#getaddress. It would not make sense to get BuyingPower from API since each market has different maximum leverage.
To access dYdX Chain on Numia you need to do the following steps:
Go to Googleโs BigQuery site and click โTry BigQuery Freeโ
Create an Account - You will receive $300 of Free Trial credit (for compute), and there is no autocharge after the trial expires.
Go to the Search Bar at the top and click โBigQueryโ
Hit +ADD and click โStar a project by nameโ (second option under Additional sources)
Type in numia-data and press โStarโ
numia-data is now saved as one of your resources! Expand it and scroll down to โdydx_mainnetโ to view dYdX Chain data (you can also view other Cosmos data)
Example query:
Click โdydx_matchโ โ> QUERY โ> โIn new tabโ
You can now edit the query to your liking
Last updated