Crypto avatar
Crypto

Pricing

$20.00/month + usage

Go to Store
Crypto

Crypto

Developed by

Maged

Maged

Maintained by Community

Best, most accurate, unlimited crypto currency market rates and updates in seconds

5.0 (1)

Pricing

$20.00/month + usage

0

Total users

2

Monthly users

2

Runs succeeded

>99%

Last modified

5 days ago

You can access the Crypto programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4# Replace '<YOUR_API_TOKEN>' with your token.
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7# Prepare the Actor input
8run_input = {
9 "start": 1,
10 "limit": 100,
11 "sort_by": "trending_24h",
12 "sort_type": "desc",
13 "convert": [
14 "USD",
15 "BTC",
16 "ETH",
17 ],
18 "audited": False,
19 "aux": [
20 "ath",
21 "atl",
22 "high24h",
23 "low24h",
24 "num_market_pairs",
25 "cmc_rank",
26 "date_added",
27 "max_supply",
28 "circulating_supply",
29 "total_supply",
30 "volume_7d",
31 "volume_30d",
32 "self_reported_circulating_supply",
33 "self_reported_market_cap",
34 ],
35}
36
37# Run the Actor and wait for it to finish
38run = client.actor("maged120/crypto").call(run_input=run_input)
39
40# Fetch and print Actor results from the run's dataset (if there are any)
41print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
42for item in client.dataset(run["defaultDatasetId"]).iterate_items():
43 print(item)
44
45# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

Crypto API in Python

The Apify API client for Python is the official library that allows you to use Crypto API in Python, providing convenience functions and automatic retries on errors.

Install the apify-client

$pip install apify-client

Other API clients include: