# Crypto Listing Monitor — New Pairs (`xtracto/crypto-listing-monitor`) Actor

Catch new trading pairs as exchanges list them, with volume and last price for each new pair. Watches CoinGecko's public API, honours its stated rate limit, and never reports a delisting it cannot prove. Keyless, no login.

- **URL**: https://apify.com/xtracto/crypto-listing-monitor.md
- **Developed by:** [Farhan Febrian Nauval](https://apify.com/xtracto) (community)
- **Categories:** Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.34 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## Crypto Listing Monitor: New Trading Pairs

Catch new trading pairs as exchanges list them, with the last price and USD volume of each new pair, using CoinGecko's free public data. Also watches CoinGecko's global coin list for newly tracked assets.

### Why use this actor

- **No account, no login, no API key.** Pick exchanges and run on a schedule.
- **New listings with context.** Each new pair comes with its last price, USD volume, trust score and last trade time, so you can judge it without a second lookup.
- **Delistings too**, reported only when the full list of pairs was read, so you never get false delisting alerts.
- **Remembers the previous run.** Each run compares against the last stored snapshot; a failed read never overwrites it.
- **Two surfaces kept apart:** tradeable exchange pairs, and CoinGecko's list of tracked coins.
- **Stable JSON output** for alerts, bots and spreadsheets. Export to JSON, CSV or Excel, and schedule runs on Apify.

### How it works

1. Choose a mode: `exchange` (new trading pairs on the exchanges you list) or `coins` (new assets in CoinGecko's global list).
2. The actor reads the current pairs or coins, 100 pairs per page for exchanges.
3. It compares them with the snapshot saved by the previous run and lists what is new or removed.
4. The first run saves a baseline; every later run reports changes.
5. You get one row per exchange (or one row for the coin list) per run.

You do not need to manage scrapers, browsers or blocks.

### Input

```json
{
  "mode": "exchange",
  "exchanges": ["binance"],
  "maxPagesPerExchange": 5,
  "onlyChanges": false
}
```

| Field | Type | Description |
|---|---|---|
| `mode` | string | `exchange` watches tradeable pairs on exchanges. `coins` watches CoinGecko's global coin list, which is earlier but weaker: most newly tracked coins never reach an exchange. |
| `exchanges` | array | CoinGecko exchange ids such as `binance`, `kraken` or `gate`. A CoinGecko exchange URL also works. Ignored in `coins` mode. |
| `maxPagesPerExchange` | integer | 100 pairs per page. Raise it until `isPartialRead` is `false` to get delisting alerts for large exchanges. |
| `onlyChanges` | boolean | Return only exchanges with a new or removed pair. Every snapshot is still updated. |

### Output

One row per exchange per run. Real output from a first run on `kraken` with one page (a baseline, so nothing is new yet):

```json
{
  "_input": "kraken",
  "_source": "S1-coingecko-exchange",
  "_scrapedAt": "2026-11-11T13:12:08Z",
  "mode": "exchange",
  "subject": "kraken",
  "surface": "exchange-tickers",
  "totalItems": 100,
  "pagesRead": 1,
  "maxPages": 1,
  "isPartialRead": true,
  "isFirstRun": true,
  "scopeChanged": false,
  "changeType": "baseline",
  "newCount": 0,
  "removedCount": 0,
  "newItems": [],
  "removedItems": [],
  "listsTruncated": false,
  "newItemDetail": [],
  "previousTotalItems": null,
  "previousCheckedAt": null,
  "diffReliable": false,
  "diffNote": "this run stopped at maxPages, so the snapshot is a prefix of the exchange's pairs rather than all of them. Every pair past the stopping point is missing while still being quoted, which would read as a delisting on every run — so delistings are not reported. New listings are still meaningful. Raise maxPages until isPartialRead is false.",
  "needsAttention": false
}
```

Real output from a first run in `coins` mode:

```json
{
  "_input": "coins",
  "_source": "S1-coingecko-coins",
  "_scrapedAt": "2026-11-11T13:16:18Z",
  "mode": "coins",
  "subject": "all",
  "surface": "coingecko-coin-list",
  "totalItems": 22604,
  "pagesRead": 1,
  "maxPages": 1,
  "isPartialRead": false,
  "isFirstRun": true,
  "changeType": "baseline",
  "newCount": 0,
  "removedCount": 0,
  "diffReliable": true,
  "diffNote": null,
  "needsAttention": false
}
```

On later runs, `newItems` lists the new pair keys (e.g. `"ABC/USDT"`) or coin ids, and `newItemDetail` adds one object per new item with the fields below.

| Field | Type | Description |
|---|---|---|
| `mode`, `subject`, `surface` | string | What was watched: the exchange id (or `all` for the coin list) and `exchange-tickers` or `coingecko-coin-list` |
| `totalItems`, `pagesRead`, `maxPages` | number | Pairs or coins read in this run, and how many pages |
| `isPartialRead` | boolean | True when the read stopped at `maxPagesPerExchange` before the end |
| `isFirstRun`, `scopeChanged` | boolean | First run for this exchange, or the page limit changed since the last run |
| `changeType` | string | `baseline`, `unchanged`, `changed` or `rebaselined` |
| `newCount`, `newItems` | number / array | New pairs (`BASE/TARGET`) or new coin ids |
| `removedCount`, `removedItems` | number / array | Removed pairs or coins, only reported when `diffReliable` is true |
| `listsTruncated` | boolean | True when the lists were cut short because of size |
| `newItemDetail` | array | Per new pair: `key`, `base`, `target`, `coinId`, `last`, `volumeUsd`, `trustScore`, `isStale`, `isAnomaly`, `lastTradedAt`. Per new coin: `key`, `symbol`, `name` |
| `previousTotalItems`, `previousCheckedAt` | number / string | Size and time of the snapshot this run was compared against |
| `diffReliable`, `diffNote` | boolean / string | Whether removals can be trusted, and why not when they cannot |
| `needsAttention` | boolean | True when anything was added or removed |
| `_input`, `_source`, `_scrapedAt` | string | What was watched, the data source and the time of the run |

### Notes and limits

- **Exchange pairs are the signal; the coin list is an early hint.** A new id in CoinGecko's coin list means CoinGecko started tracking it, not that it can be traded.
- **The run paces itself** at about 12 seconds per page to respect CoinGecko's free-tier limit. Watching three exchanges five pages deep takes around three minutes.
- **Partial reads do not report delistings.** If the run stops at `maxPagesPerExchange`, pairs beyond that point are simply unread, so removals are suppressed and `diffNote` explains why. New listings are still reported.
- **Changing `maxPagesPerExchange` starts a new baseline** (`rebaselined`) instead of reporting a flood of false changes.
- **Stale or unusual quotes are flagged**, not dropped: `isStale` and `isAnomaly` come straight from CoinGecko.
- **State is saved between runs** in a named key-value store, so it survives schedules and rebuilds. A failed or empty read never overwrites the saved snapshot.

# Actor input Schema

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

'exchange' watches the trading pairs an exchange quotes — a new pair is a listing, the event that moves a price. 'coins' watches CoinGecko's global asset list, which is earlier but much weaker: a new id there means CoinGecko started tracking something, and most never reach an exchange.

## `exchanges` (type: `array`):

CoinGecko exchange ids — lowercase slugs such as 'binance', 'kraken' or 'gate'. A CoinGecko exchange URL is accepted and reduced to its id. Ignored in 'coins' mode.

## `maxPagesPerExchange` (type: `integer`):

100 pairs per page. Read this if you watch a large exchange: when the read stops here the snapshot is only a prefix of the exchange's pairs, so every pair past the stopping point is missing while still being quoted — which would read as a delisting on every run. The actor detects that, marks diffReliable false and stops reporting delistings; new listings stay meaningful. Raise it until isPartialRead is false. Each page is one API call and the free tier allows roughly 5-15 a minute, so the run paces itself at about 12 seconds per page.

## `onlyChanges` (type: `boolean`):

Return only exchanges with a new or removed pair. Everything is still read and its snapshot still recorded, so nothing is missed while this is on.

## Actor input object example

```json
{
  "mode": "exchange",
  "exchanges": [
    "binance"
  ],
  "maxPagesPerExchange": 5,
  "onlyChanges": false
}
```

# Actor output Schema

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

One row per scraped record, stored in the run's default dataset.

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

// Run the Actor and wait for it to finish
const run = await client.actor("xtracto/crypto-listing-monitor").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 = { "exchanges": ["binance"] }

# Run the Actor and wait for it to finish
run = client.actor("xtracto/crypto-listing-monitor").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 '{
  "exchanges": [
    "binance"
  ]
}' |
apify call xtracto/crypto-listing-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xtracto/crypto-listing-monitor"
        }
    }
}
```

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/XwJEqli9BRENHN4fT/builds/nQRSTTcjpbbnoiLHz/openapi.json
