crypto-pricehistory-api
by websift
Pull clean historical cryptocurrency price and volume data on demand. Perfect for developers, traders, and researchers building reports or backtesting strategies.
Opens on Apify.com
About crypto-pricehistory-api
Need historical crypto data without the headache of scraping exchanges yourself? I built this actor because I got tired of piecing together CSV files and dealing with API rate limits. It pulls clean, structured historical price and volume data for thousands of cryptocurrencies directly into your workflow. You tell it the coin, the date range, and whether you want prices in USD, EUR, or another fiat currency, and it handles the rest. It’s become my go-to for backtesting trading strategies. Instead of worrying about data integrity, I can focus on the analysis. I also use it to generate reports for clients, showing market trends over specific periods. Whether you're a researcher building a model, a developer integrating data into an app, or a trader looking for an edge, having reliable historical data is half the battle. This actor delivers that data in a straightforward JSON format, ready for your database, spreadsheet, or custom dashboard. Set it up once on Apify's platform and schedule it to run automatically, so you always have fresh historical data on hand.
What does this actor do?
crypto-pricehistory-api is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
crypto-pricehistory-api
An Apify actor that fetches historical cryptocurrency price and volume data from CoinGecko. You can specify the coin, the currency for price conversion, and the timeframe for the data.
Key Features
- Fetches historical price and volume data for any cryptocurrency listed on CoinGecko.
- Supports multiple timeframes: 24 hours, 7 days, 30 days, 90 days, 365 days, max available, or a custom date range.
- Converts prices into dozens of fiat currencies, precious metals, or other cryptocurrencies.
- Returns data with timestamps, human-readable dates, and formatted price strings.
- Includes comprehensive error handling for invalid inputs.
How to Use
Configure the actor run with an input object specifying your query parameters.
Input
The main input fields are:
coin(string, required): The cryptocurrency ID (e.g.,"bitcoin","ethereum").currency(string, required): The target currency for price conversion (e.g.,"usd","eur","btc").timeframe(string, required): The data range. Options:"24_hours","7_days","30_days","90_days","365_days","max", or"custom".from_timestamp(string, required iftimeframeis"custom"): Start date in"YYYY-MM-DD"format.to_timestamp(string, required iftimeframeis"custom"): End date in"YYYY-MM-DD"format.
{
"coin": "bitcoin",
"currency": "usd",
"timeframe": "custom",
"from_timestamp": "2025-02-01",
"to_timestamp": "2025-02-15"
}
Output
The actor returns an array of objects, each representing a data point. Example:
[
{
"price": 45000.75555555,
"price_formatted": "$45,000.75",
"date": "2024-02-11 15:30:00",
"timestamp": 1707665400000,
"volume": 38921302935.18796
}
]
Available Currencies
You can convert to numerous fiat currencies (like USD, EUR, JPY), precious metals (XAU, XAG), and other cryptocurrencies (BTC, ETH). See the full list in the original README for all supported codes.
Limitations & Notes
- Custom timeframes require valid dates in the correct format.
- The granularity of historical data (hourly, daily) depends on the selected timeframe.
- Some less popular cryptocurrencies may have limited historical data available.
Support
For issues or feature requests, please create an issue in the actor's repository.
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try crypto-pricehistory-api now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- websift
- Pricing
- Paid
- Total Runs
- 379
- Active Users
- 20
Related Actors
Similarweb scraper
by curious_coder
Google Ads Scraper
by silva95gustavo
Cheap Google Search Results Scraper
by tuningsearch
G2 Explorer
by jupri
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support