# Coindcx Market Data Scraper (`zerobreak/coindcx-market-data-scraper`) Actor

This Actor collects real-time cryptocurrency market data and trading pair details from CoinDCX based on market symbols or base currencies. It extracts ticker prices, 24-hour highs and lows, trading volumes, bid-ask spreads, price change percentages, and active market statuses to support

- **URL**: https://apify.com/zerobreak/coindcx-market-data-scraper.md
- **Developed by:** [ZeroBreak](https://apify.com/zerobreak) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### CoinDCX Market Data Scraper — Collect Cryptocurrency Tickers, Trading Rules, and Market Specifications

![CoinDCX Market Data Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/coindcx-market-data-scraper-cover.png)

Collect CoinDCX cryptocurrency market data, including live ticker values, currency details, trading specifications, quantity and price limits, leverage information, and calculated market indicators. Filter by market, control the number of records, and export structured data as JSON, CSV, or Excel.

### What It Does

This actor collects CoinDCX market ticker records and enriches them with currency identity, exchange pair details, precision settings, trading limits, supported order types, leverage information, and calculated price indicators.

It removes duplicate records using the market code. Leave the `markets` list empty to collect the available ticker list, or provide specific market pairs to filter the results. The actor stops when the configured `maxItems` count is reached.

### Available Mode

- **List Tickers:** Collects CoinDCX market ticker information and associated market specifications.

### Input Example

```json
{
  "mode": "list",
  "markets": [],
  "maxItems": 100,
  "requestDelayMs": 1000
}
```

### Input Parameters

| Parameter | Description | Example |
|---|---|---|
| `mode` | Selects the ticker collection mode. | `list` |
| `markets` | Optional list of market pairs to collect. Leave empty for all available tickers. | `["BTCUSDT", "ETHUSDT"]` |
| `maxItems` | Maximum number of ticker records to collect. | `100` |
| `requestDelayMs` | Delay between requests, in milliseconds. | `1000` |

### Output Example

```json
{
  "market": "0GUSDT",
  "base_currency": "0G",
  "quote_currency": "USDT",
  "base_currency_name": "0G",
  "quote_currency_name": "Tether",
  "market_symbol": "0GUSDT",
  "exchange_code": "B",
  "exchange_pair": "0G/USDT",
  "base_currency_precision": 8,
  "quote_currency_precision": 2,
  "minimum_quantity": "0.1",
  "maximum_quantity": "100000",
  "maximum_market_quantity": "100000",
  "minimum_market_order_quantity": "0.1",
  "quantity_step": "0.1",
  "minimum_price": "0.0001",
  "maximum_price": "1000000",
  "minimum_notional": "10",
  "supported_order_types": ["limit", "market"],
  "market_status": "active",
  "maximum_leverage": 10,
  "maximum_short_leverage": 5,
  "bracket_stop_loss_safety_percent": 5,
  "change_24_hour": "3.980",
  "high": "0.27960000",
  "low": "0.26040000",
  "volume": "1257748.32161700",
  "last_price": "0.27690000",
  "bid": "0.27680000",
  "ask": "0.27700000",
  "mid_price": 0.2769,
  "bid_ask_spread": 0.0002,
  "bid_ask_spread_percent": 0.0722,
  "high_low_range_24h": 0.0192,
  "price_position_in_24h_range_percent": 85.94,
  "change_24_hour_numeric": 3.98,
  "timestamp": 1791782407,
  "ticker_datetime": "2026-10-12T00:00:07+00:00",
  "scrapedAt": "2026-10-26T00:00:00+00:00"
}
```

*The example illustrates the expanded output structure. Actual values and available fields depend on the collected market data.*

### Output Fields

#### Currency Identity

| Field | Description |
|---|---|
| `base_currency` | Base currency code in the trading pair. |
| `quote_currency` | Quote currency code in the trading pair. |
| `base_currency_name` | Name of the base currency. |
| `quote_currency_name` | Name of the quote currency. |

#### Market Specifications

| Field | Description |
|---|---|
| `market_symbol` | Market symbol identifier. |
| `exchange_code` | Exchange-specific market code. |
| `exchange_pair` | Formatted trading pair, such as `BTC/USDT`. |

#### Currency Precision

| Field | Description |
|---|---|
| `base_currency_precision` | Decimal precision supported for the base currency. |
| `quote_currency_precision` | Decimal precision supported for the quote currency. |

#### Quantity Limits

| Field | Description |
|---|---|
| `minimum_quantity` | Minimum permitted order quantity. |
| `maximum_quantity` | Maximum permitted order quantity. |
| `maximum_market_quantity` | Maximum permitted market order quantity. |
| `minimum_market_order_quantity` | Minimum permitted market order quantity. |
| `quantity_step` | Allowed quantity increment. |

#### Price Limits

| Field | Description |
|---|---|
| `minimum_price` | Minimum permitted order price. |
| `maximum_price` | Maximum permitted order price. |
| `minimum_notional` | Minimum permitted order value. |

#### Trading Rules

| Field | Description |
|---|---|
| `supported_order_types` | Order types supported by the market. |
| `market_status` | Current market trading status. |

#### Leverage

| Field | Description |
|---|---|
| `maximum_leverage` | Maximum supported leverage. |
| `maximum_short_leverage` | Maximum supported short leverage. |

#### Additional Metadata

| Field | Description |
|---|---|
| `bracket_stop_loss_safety_percent` | Stop-loss safety percentage associated with bracket settings. |

#### Ticker and Market Data

| Field | Description |
|---|---|
| `market` | Market pair identifier, such as `0GUSDT`. |
| `change_24_hour` | Price change over the last 24 hours. |
| `high` | Highest recorded price over the 24-hour period. |
| `low` | Lowest recorded price over the 24-hour period. |
| `volume` | Trading volume over the 24-hour period. |
| `last_price` | Latest recorded market price. |
| `bid` | Current highest bid price. |
| `ask` | Current lowest ask price. |
| `mid_price` | Midpoint between the bid and ask prices. |
| `bid_ask_spread` | Difference between the ask and bid prices. |
| `bid_ask_spread_percent` | Bid-ask spread expressed as a percentage. |
| `high_low_range_24h` | Difference between the 24-hour high and low prices. |
| `price_position_in_24h_range_percent` | Last price position within the 24-hour high-low range, expressed as a percentage. |
| `change_24_hour_numeric` | 24-hour price change converted into a numeric value. |

#### Timestamps

| Field | Description |
|---|---|
| `timestamp` | Exchange-provided ticker timestamp. |
| `ticker_datetime` | Readable date and time corresponding to the ticker timestamp. |
| `scrapedAt` | Date and time when the record was collected. |

### Use Cases

- **Market Monitoring:** Track CoinDCX ticker prices, trading volume, and market status.
- **Trading Rule Analysis:** Review quantity limits, price restrictions, precision, and supported order types.
- **Currency Research:** Analyze base and quote currencies across trading pairs.
- **Leverage Research:** Compare maximum leverage and short leverage settings.
- **Market Indicators:** Use calculated spreads, midpoint prices, and 24-hour range positions in analysis.
- **Trading Dashboards:** Prepare structured market data for charts, reporting, and monitoring tools.
- **Dataset Building:** Save market snapshots for offline analysis and comparison.

### Export Formats

Export collected records in JSON, CSV, Excel, and other supported Apify dataset formats.

### FAQ

**Who is this actor for?**

Analysts, developers, and researchers who need CoinDCX market prices, trading specifications, and structured market information.

**Can I collect specific market pairs only?**

Yes. Provide market pairs in the `markets` input. Leave the list empty to collect all available tickers.

**What additional information is included?**

In addition to ticker prices, records can include currency identity, exchange pair details, precision, order limits, trading rules, leverage, and calculated market indicators.

**How are the calculated market indicators useful?**

They provide additional information about bid-ask spreads, midpoint prices, 24-hour price ranges, and price changes for market analysis.

**Can I run it on a schedule?**

Yes. You can configure Apify schedules to refresh the dataset automatically.

**How many tickers can it collect per run?**

The actor supports up to 1000 records per run. Use `maxItems` and the optional market filter to control the results.

### Is Web Scraping Legal?

Collecting information that is already public is generally legal. There is no single law that bans all forms of web scraping. The limits are the usual ones: do not break into accounts, do not take private or confidential data, and be careful with personal data and copyrighted works. A site's terms can also restrict how you access it. Facts such as a public name, price, or rating are not the same as republishing someone's article or photo.

This actor collects information from public pages. It does not log in and it does not bypass access controls.

For a longer explanation, see Apify's article [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `mode` (type: `string`):

What to fetch. List loads Indian exchange tickers from the public CoinDCX ticker API.

## `markets` (type: `array`):

Optional market filter (for example BTCUSDT, ETHINR). Leave empty to keep all tickers from the response, capped by maxItems.

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

Stop after this many successful rows. Hard max is 1000.

## `requestDelayMs` (type: `integer`):

Milliseconds to wait before each request. Raise if you see 429 responses.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

## `proxyConfiguration` (type: `object`):

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "list",
  "markets": [],
  "maxItems": 100,
  "requestDelayMs": 1000,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# 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 = {
    "markets": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("zerobreak/coindcx-market-data-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 = { "markets": [] }

# Run the Actor and wait for it to finish
run = client.actor("zerobreak/coindcx-market-data-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 '{
  "markets": []
}' |
apify call zerobreak/coindcx-market-data-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zerobreak/coindcx-market-data-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/c9Zma86WbnD6H7xxN/builds/LvleXAzZ1UeT6XUAn/openapi.json
