Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
214 lines (135 sloc) 5.9 KB

diadata.org API

The world's crowd-driven financial data community has a professional API made for you.

Decentral and transparent by design


With our decentral approach to data verification, you can gain a deep insight into current and past pricing, volume and exchange info so you can make the right decisions to stay ahead of the game.

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.
For Oracle usage see github.

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.

Request your data


Set a bounty on gitcoin.io or drop us line.

Version: 1.0

Base URL

The DIA base url is https://api.diadata.org/. All API paths are sub-paths of this base URL.

Paths

GET /v1/chartPoints/

Get chart points for.

Query Params:

  • scale [string]: scale 5m 30m 1h 4h 1d 1w.

Path Params:

  • symbol [string]: Some symbol.
  • exchange [string]: Some exchange.
  • filter [string]: Some filter.

Responses:

GET /v1/chartPointsAllExchanges/

Get Symbol Details.

Query Params:

  • scale [string]: scale 5m 30m 1h 4h 1d 1w.

Path Params:

  • symbol [string]: Some symbol.
  • filter [string]: Some filter.

Responses:

GET /v1/coins

Get coins.

Responses:

GET /v1/pairs/

Get pairs.

Responses:

GET /v1/quotation/

Get quotation.

Path Params:

  • symbol [string]: Some symbol.

Responses:

POST /v1/supply

Post the circulating supply.

Query Params:

  • Symbol [string]: Coin symbol.
  • CirculatingSupply [number]: number of coins in circulating supply.

Responses:

GET /v1/supply/

Get supply.

Path Params:

  • symbol [string]: Some symbol.

Responses:

GET /v1/symbol/

Get Symbol Details.

Path Params:

  • symbol [string]: Some symbol.

Responses:

GET /v1/symbols

Get all symbols list.

Query Params:

  • scale [string]: scale 5m 30m 1h 4h 1d 1w.

Path Params:

  • symbol [string]: Some symbol.
  • filter [string]: Some filter.

Responses:

Definitions

dia.Pair

  • exchange (string) - foreignName (string) - ignore (boolean) - symbol (string)

dia.Supply

  • block (integer) - circulatingSupply (number) - name (string) - source (string) - symbol (string) - time (string)

dia.Symbols

  • symbols (array) - type: string

dia.Trade

  • estimatedUSDPrice (number) - foreignTradeID (string) - pair (string) - price (number) - source (string) - symbol (string) - time (string) - volume (number)

models.Change

models.Coin

  • circulatingSupply (number) - name (string) - price (number) - priceYesterday (number) - symbol (string) - time (string) - volumeYesterdayUSD (number)

models.Coins

models.CoinSymbolAndName

  • name (string) - symbol (string)

models.CurrencyChange

  • rate (number) - rateYesterday (number) - symbol (string)

models.Pairs

models.Points

  • dataPoints (string)

models.Quotation

  • name (string) - price (number) - priceYesterday (number) - source (string) - symbol (string) - time (string) - volumeYesterdayUSD (number)

models.SymbolDetails

models.SymbolExchangeDetails

  • lastTrades (array) - dia.Trade - name (string) - price (number) - priceYesterday (number) - time (string) - volumeYesterdayUSD (number)

restApi.APIError

  • errorcode (integer) - errormessage (string)
You can’t perform that action at this time.