Guides
Get OHLCV prices for crypto tokens
OHLCV (Open, High, Low, Close, Volume) data is indispensable for conducting thorough market analysis.
Mobula API provides access to real-time and historical OHLCV data for a wide range of assets. This guide will detail how to retrieve this data effectively.
What you’ll need
- Basic knowledge of RESTful APIs and JavaScript.
- Optional: Preferences for specific token(s), cache settings, and stale data handling.
- An API key from the Dashboard (required for production; optional in development mode).
Walkthrough
1
Execute the API Call
You can call Mobula API using cURL or any HTTP client.
Using cURL:
Using Axios:
2
Review the Response
The API will return a comprehensive response including historical price data with timestamps and corresponding values.
With this information, you can:
- Analytic Integration: Using volume change data to power a tool that delivers insights on such asset performance.
- Analyze Market Trends: Track the asset’s volume fluctuations over time.
- Assess Investment Opportunities: Gain insights into potential investment decisions based on the volume.
Need help?
Can’t find what you’re looking for? Reach out to us, response times < 1h.