Crypto Prices Scraper avatar
Crypto Prices Scraper
Try for free

7 days trial then $5.00/month - No credit card required now

View all Actors
Crypto Prices Scraper

Crypto Prices Scraper

datastorm/cryptoprices-api
Try for free

7 days trial then $5.00/month - No credit card required now

Retrieve historical daily crypto prices, volumes and market caps. Specify the crypto assets and time period to retrieve prices for. Prices and market cap are given in USD.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "symbols": [
8    "BTC",
9    "ETH",
10    "LTC"
11  ],
12  "days": "7"
13}
14EOF
15
16# Run the Actor using an HTTP API
17# See the full API reference at https://docs.apify.com/api/v2
18curl "https://api.apify.com/v2/acts/datastorm~cryptoprices-api/runs?token=$API_TOKEN" \
19  -X POST \
20  -d @input.json \
21  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • 1 star
  • 100.0% runs succeeded
  • Created in Jul 2023
  • Modified about 1 year ago