Introduction
Welcome to the API documentation for Dhruvan. This API allows you to access all the data available on this website programmatically.
Base URL: https://api.gnanadhandayuthapani.com/
Authentication
All requests to the endpoints are required to have an API key in the HTTP X-Api-Key
header.
To get an API key, you need to create an account. Click on the "Get API Key" button at the top of the page. After creating your account, go to your profile picture, click on it, and in the dropdown menu, select "Generate API Key".
Then, add the X-Api-Key: <API_KEY>
HTTP header to all your requests to the server. This is how you are authenticated. In case you lose the API key, you can always regenerate a new one.
curl -X GET "https://api.gnanadhandayuthapani.com/" \
-H "X-Api-Key: <API_KEY>"
{"message": "API key is valid"}
Endpoints
Here are the available API endpoints:
Get Liquidity Values
GET /api/liquidity/series?ticker=<ticker_name>
Retrieve liquidity values by using &aposLIQUIDITY&apos. Get the components with the corresponding <ticker_name>.
Get Bitcoin Price
GET /api/indicators/price
Retrieve live daily historical Bitcoin price.
Get List of Indicators
GET /api/indicators/indicator
Retrieve a list of available indicators.
Get Indicator Values
GET /api/indicators/indicator/<indicator_name>/values
Retrieve values for a specific indicator.
Get List of Data Sources
GET /api/indicators/datasource
Retrieve a list of available data sources.
Get Data Sources
GET /api/indicators/datasource/<datasource_name>/values
Retrieve values for a specific data source.