Skip to main content
As part of our migration to DIA’s next-generation oracle infrastructure, Lumina, the hosted DIA REST API is being deprecated and will be discontinued on 20 December 2026. This affects the REST endpoints under https://api.diadata.org/v1.If your protocol relies on these, please email support@diadata.org and confirm that you are using them. We will provide you with a migration path so you can continue accessing the same data through Lumina without interruption. Integrations that don’t reach out may lose access after the deprecation date.
All examples make a call to DIA Asset Quotation API for Bitcoin price.

cURL

HTTPie

Wget

Fetch

XMLHttpRequest

jQuery

Axios

Native

Request

Unirest

Fetch

Axios

Python 3

Requests

HttpClient

RestSharp

AsyncHttp

NetHttp

OkHttp

Unirest

pecl/http 1

pecl/http 2

cURL

WebRequest

RestMethod