# CoinPaprika Coin & Ticker Data Scraper (`ahmdshrif/coinpaprika-coins-tickers-scraper`) Actor

Exports CoinPaprika coin metadata and live ticker market data (price, market cap, volume, change %, supply, ATH, socials) as flat rows from the official API.

- **URL**: https://apify.com/ahmdshrif/coinpaprika-coins-tickers-scraper.md
- **Developed by:** [Ahmed](https://apify.com/ahmdshrif) (community)
- **Categories:** Developer tools, AI, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.05 / 1,000 actor runs

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## CoinPaprika Coin & Ticker Data Scraper

Exports CoinPaprika coin metadata and live ticker market data — price, market cap, volume, change %, supply, ATH, and social stats — as flat rows pulled directly from the official CoinPaprika API. Built for traders, analysts, and developers who need clean per-coin data without writing their own API integration or handling pagination and rate limits by hand.

### Why this scraper

- Reads the official CoinPaprika REST API directly, combining `/coins/{id}` metadata and `/tickers` market data into a single flat row per coin, so you don't need two separate calls or a join step.
- Covers more distinct fields than typical single-purpose scrapers in one record — GitHub stars, Twitter followers, ATH date, and per-period % change (1h/24h/7d/30d/1y) alongside standard price and supply data.
- Priced at $0.00005 per run, among the lowest on the store, regardless of how many coins or tickers are fetched in that run.

### Output fields

| Field | Type | Description |
|---|---|---|
| coin\_id | string | CoinPaprika coin id, e.g. btc-bitcoin |
| name | string | Coin name |
| symbol | string | Ticker symbol |
| rank | integer | Market cap rank |
| type | string | coin or token |
| is\_active | boolean | Whether the coin is actively tracked |
| price\_usd | number | Current price in USD |
| market\_cap\_usd | number | Market capitalization in USD |
| volume\_24h\_usd | number | 24h trading volume in USD |
| percent\_change\_1h | number | Price change percent over 1 hour |
| percent\_change\_24h | number | Price change percent over 24 hours |
| percent\_change\_7d | number | Price change percent over 7 days |
| percent\_change\_30d | number | Price change percent over 30 days |
| percent\_change\_1y | number | Price change percent over 1 year |
| ath\_price\_usd | number | All-time high price in USD |
| ath\_date | string | Date of all-time high price |
| circulating\_supply | number | Circulating supply of the coin |
| total\_supply | number | Total supply of the coin |
| max\_supply | number | Maximum possible supply of the coin |
| description | string | Short project description, if available |
| website | string | Primary project website URL |
| twitter\_followers | integer | Twitter follower count, if available |
| github\_stars | integer | GitHub star count, if available |
| last\_updated | string | Timestamp of the underlying data |

### Input

```json
{
  "startUrls": [{ "url": "https://api.coinpaprika.com/v1/coins/btc-bitcoin" }],
  "maxItems": 50
}
```

### Output

```json
{
  "coin_id": "btc-bitcoin",
  "name": "Bitcoin",
  "symbol": "BTC",
  "rank": 1,
  "type": "coin",
  "is_active": true,
  "price_usd": null,
  "market_cap_usd": null,
  "volume_24h_usd": null,
  "percent_change_1h": null,
  "percent_change_24h": null,
  "percent_change_7d": null,
  "percent_change_30d": null,
  "percent_change_1y": null,
  "ath_price_usd": null,
  "ath_date": "",
  "circulating_supply": null,
  "total_supply": null,
  "max_supply": null,
  "description": "Bitcoin (BTC) is a decentralized digital currency that enables peer-to-peer transactions without intermediaries, using blockchain technology to ensure security and transparency. It was created in 2009 by an anonymous entity known as Satoshi Nakamoto. Source: CoinPaprika.com",
  "website": "https://bitcoin.org/",
  "twitter_followers": 161310,
  "github_stars": 78841,
  "last_updated": "2026-09-09T14:13:00Z"
}
```

### Pricing

Pay-per-event: $0.00005 per actor run, charged once regardless of how many coins or tickers are fetched. A typical run covering a handful of coins or up to 50 tickers costs $0.00005 total.

### Use cases

- Feeding a crypto dashboard or spreadsheet with live price, market cap, and % change data for a fixed watchlist of coins.
- Backtesting or research scripts that need historical-style snapshots of ATH price/date alongside current supply figures.
- Screening projects by developer and community activity (GitHub stars, Twitter followers) combined with market data in one pass.

# Actor input Schema

## `startUrls` (type: `array`):

Pages to export.

## `maxItems` (type: `integer`):

Stop after this many records.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://api.coinpaprika.com/v1/coins/btc-bitcoin"
    },
    {
      "url": "https://api.coinpaprika.com/v1/coins/eth-ethereum"
    },
    {
      "url": "https://api.coinpaprika.com/v1/tickers?limit=50"
    }
  ],
  "maxItems": 50
}
```

# Actor output Schema

## `results` (type: `string`):

One structured record per input URL.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://api.coinpaprika.com/v1/coins/btc-bitcoin"
        },
        {
            "url": "https://api.coinpaprika.com/v1/coins/eth-ethereum"
        },
        {
            "url": "https://api.coinpaprika.com/v1/tickers?limit=50"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ahmdshrif/coinpaprika-coins-tickers-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": [
        { "url": "https://api.coinpaprika.com/v1/coins/btc-bitcoin" },
        { "url": "https://api.coinpaprika.com/v1/coins/eth-ethereum" },
        { "url": "https://api.coinpaprika.com/v1/tickers?limit=50" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("ahmdshrif/coinpaprika-coins-tickers-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://api.coinpaprika.com/v1/coins/btc-bitcoin"
    },
    {
      "url": "https://api.coinpaprika.com/v1/coins/eth-ethereum"
    },
    {
      "url": "https://api.coinpaprika.com/v1/tickers?limit=50"
    }
  ]
}' |
apify call ahmdshrif/coinpaprika-coins-tickers-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ahmdshrif/coinpaprika-coins-tickers-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/dGF1JdwxasZOdgpp4/builds/bgT6QgLt4luyvQbVs/openapi.json
