Access API Endpoints

Please note that both RestAPI and GraphQL are only available via the Nexus stack.

Introduction to DIA APIs

Find the right data for your needs Show your users the most transparent data on the market with our API. Whether you're building a financial service, a portfolio management tool, a new media offering, or more, we have the most advanced and updated data on the market for your product.

Backtest your strategies Use the most efficient and transparent crypto data to run simulations and backtest your trading or investing strategies. With crowd-aggregated hundreds of exchanges, you can be sure that you're getting the right picture every single time.

Run Experiments Build your own models with our data, to further your interest or just for fun. With our flexible and powerful API, we provide you with a set of data that will help you draw insights and make conclusions.

API Access

The DIA base url is https://api.diadata.org/v1. All API paths are sub-paths of this base URL. You can find specific documentation for the endpoints of our API on the API documentation site.

RestAPI Endpoints

You can also access data through a dedicated GraphQL service:

GraphQL Endpoint

Performance

We apply the highest performance standards for all our API feeds.

  • 99.9% uptime

  • <1 sec response times

Use cases

Bash scripting

The API can be accessed through a Linux terminal by using curl. For example curlhttps://api.diadata.org/v1/assetQuotation/Bitcoin/0x0000000000000000000000000000000000000000>> userPath/myFile.json writes the return value of the GET request into myFile.json for further processing.

Usage with Python

The JSON object obtained in an API GET request complies with Python syntax. It can be cast into a list or dictionary resp. using Python's eval(string) function.

See all API integration examples in 18 different coding languages:

API Request Samples

Last updated