# CoinMarketCap Scraper

Scrape Today's Cryptocurrency Prices by Market Cap from CoinMarketCap.

- Template page: [https://www.octoparse.com/template/coinmarketcap-scraper](https://www.octoparse.com/template/coinmarketcap-scraper)
- Categories: Finance
- Status: `PUBLISHED`
- Run mode: `LOCAL`

## Pricing

Free.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from listing pages.

## Output

The current workflow extracts 11 fields, including `Rank`, `Name`, `Name_URL`, `LOGO_URL`, `Code`, `Price_URL`, `Price`, `Percentage_of_1_hr`, `percentage_of_24_hrs`, `MarketCap`, `CirculatingSupply`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete Input and start the template in local mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

No input is required. Start the template directly.

## How to Use

# CoinMarketCap Scraper Usage Guide

Collects Rank, Name, Name_URL, LOGO_URL, Code, Price_URL, Price, Percentage_of_1_hr, percentage_of_24_hrs, MarketCap, and CirculatingSupply from [CoinMarketCap](https://coinmarketcap.com/) listing pages.

## Output Fields

- `Rank`
- `Name`
- `Name_URL`
- `LOGO_URL`
- `Code`
- `Price_URL`
- `Price`
- `Percentage_of_1_hr`
- `percentage_of_24_hrs`
- `MarketCap`
- `CirculatingSupply`

Example JSON:

```json
{
  "Rank": "1",
  "Name": "Bitcoin BTC",
  "Name_URL": "https://coinmarketcap.com/currencies/bitcoin/",
  "LOGO_URL": "https://s2.coinmarketcap.com/static/img/coins/64x64/1.png",
  "Code": "Bitcoin",
  "Price_URL": "https://coinmarketcap.com/currencies/bitcoin/#markets",
  "Price": "$62,150.65",
  "Percentage_of_1_hr": "0.67%",
  "percentage_of_24_hrs": "2.54%",
  "MarketCap": "$1,222,970,498,829",
  "CirculatingSupply": "19,659,312 BTC"
}
```

## Use Cases

- Build cryptocurrency ranking tables using `Rank`, `Name`, `Code`
- Compare short-term market movements with `Price`, `Percentage_of_1_hr`, `percentage_of_24_hrs`
- Analyze market size via `MarketCap`
- Connect supply metrics to source pages using `CirculatingSupply` and `Name_URL`

## Input

No input required. Template starts from the configured CoinMarketCap listing page.

## How to Use

1. Open the template and click **Try it!**
2. Review the configured task (no input needed)
3. Run it locally in Octoparse
4. After collection, review fields (e.g., `Name`, `Name_URL`, `Price_URL`) and export rows in your desired format

## Tips

- Run once and review a representative row before scheduling repeated collection
- Use `Name` and `Name_URL` to check duplicates or compare exports

## Pricing

Free of charge. No per-line usage fee. Octoparse plan or resource limits may still apply.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [Bic Camera Search Results Scraper](https://www.octoparse.com/template/bic-camera-search-results-scraper)
- [Google Search Scraper](https://www.octoparse.com/template/google-search-scraper)
- [Google Maps Listings Scraper (by Keywords)](https://www.octoparse.com/template/google-maps-scraper-listing-page-by-keyword)
- [Google Maps Email Scraper & Extractor](https://www.octoparse.com/template/google-maps-contact-scraper)
- [Google Maps Leads Scraper](https://www.octoparse.com/template/google-maps-scraper-store-details-by-keyword)

## Input Schema

```json
{
  "title": "CoinMarketCap Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {},
  "required": []
}
```

## Input JSON Example

No verified real input/output examples are currently available.


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Rank": {
      "type": "string",
      "description": ""
    },
    "Name": {
      "type": "string",
      "description": ""
    },
    "Name_URL": {
      "type": "string",
      "description": ""
    },
    "LOGO_URL": {
      "type": "string",
      "description": ""
    },
    "Code": {
      "type": "string",
      "description": ""
    },
    "Price_URL": {
      "type": "string",
      "description": ""
    },
    "Price": {
      "type": "string",
      "description": ""
    },
    "Percentage_of_1_hr": {
      "type": "string",
      "description": ""
    },
    "percentage_of_24_hrs": {
      "type": "string",
      "description": ""
    },
    "MarketCap": {
      "type": "string",
      "description": ""
    },
    "CirculatingSupply": {
      "type": "string",
      "description": ""
    }
  },
  "title": "CoinMarketCap Scraper output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

No verified real input/output examples are currently available.

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

No verified real input/output examples are currently available.

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `coinmarketcap-scraper`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/coinmarketcap-scraper.json)
- [Manifest](https://www.octoparse.com/templates/coinmarketcap-scraper-manifest.json)
