# Crypto Order Book, Slippage & Funding Arbitrage (`gmpsignal/crypto-orderbook-arbitrage-scanner`) Actor

Institutional L1/L2 order book depth, $10k/$50k/$100k execution slippage simulator, cross-exchange spot arbitrage matrix, and perpetual futures funding rate carry scanner across Binance, Bybit, OKX, Kraken, KuCoin & Gate.io.

- **URL**: https://apify.com/gmpsignal/crypto-orderbook-arbitrage-scanner.md
- **Developed by:** [GMPSignal](https://apify.com/gmpsignal) (community)
- **Categories:** Developer tools, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 order book / arbitrage rows

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

## Crypto Order Book, Slippage & Funding Arbitrage

Institutional L1/L2 order book depth, $10k/$50k/$100k execution slippage simulator, cross-exchange spot arbitrage matrix, and perpetual futures funding rate carry scanner across Binance, Bybit, OKX, Kraken, KuCoin & Gate.io.

Built and maintained by **GMPSignal**, this production-grade Apify Actor provides deterministic, structured JSON data with **Zero-Config Default Inputs** (click **Try for free** in 1 click) and transparent **Pay-Per-Event (`PAY_PER_EVENT`)** pricing with automatic Apify Store tier discounts.

### What you get

Every dataset item emitted by **Crypto Order Book, Slippage & Funding Arbitrage** is normalized for immediate consumption by AI Agents, quantitative pipelines, n8n workflows, and Clay enrichment tables:

| Capability | Description |
| :--- | :--- |
| **Structured JSON Output** | Clean, strongly typed fields ready for downstream analytics, SQL/BigQuery ingestion, and RAG vector stores. |
| **Zero-Config Prefilled Input** | Runs out-of-the-box in 1 click with sensible default parameters and automatic retry resilience. |
| **High-Speed API Execution** | Optimized HTTP/JSON extraction with minimal memory footprint (512 MB) and fast completion times. |
| **MCP & AI Agent Native** | Exposed natively via `@gmpsignal/mcp-server` (**Glama Rated Grade A**) and OpenAPI 3.1. |

### Use cases

- **Autonomous AI Agents (Claude, Cursor, LangChain, CrewAI):** Call `gmpsignal/crypto-orderbook-arbitrage-scanner` as a real-time tool to ground LLM reasoning in live market and regulatory telemetry.
- **B2B Enrichment & Revenue Operations (Clay, n8n, Make, Zapier):** Trigger automated workflows, Slack/Telegram alerts, and CRM enrichment pipelines.
- **Quantitative & Market Intelligence:** Schedule recurring hourly, daily, or weekly extractions and diff dataset snapshots over time.

### Input

The Actor accepts the following input parameters (all fields have prefilled defaults so you can test immediately):

| Field | Type | Description |
| :--- | :--- | :--- |
| `symbols` | `array` | Base asset tickers to analyze across exchanges (e.g. BTC, ETH, SOL, XRP, DOGE, BNB, ADA, AVAX, SUI, LINK). |
| `exchanges` | `array` | Exchanges to query for Level-2 order books and perpetual funding rates. |
| `includeExchangeOrderBooks` | `boolean` | Emit one detailed record per exchange per symbol with L1/L2 depth, order book imbalance, $10k/$50k/$100k slippage (bps), and funding rate. |
| `includeArbitrageSummary` | `boolean` | Emit a consolidated cross-exchange spot and perpetual funding rate arbitrage summary row for each symbol. |
| `proxyConfiguration` | `object` | Optional proxy settings. |

#### Example Input JSON

```json
{
  "symbols": [
    "BTC",
    "ETH",
    "SOL",
    "XRP",
    "DOGE"
  ],
  "exchanges": [
    "binance",
    "bybit",
    "okx",
    "kraken",
    "kucoin",
    "gateio"
  ],
  "includeExchangeOrderBooks": true,
  "includeArbitrageSummary": true
}
```

### Output

Results are stored in the default Apify Dataset and can be exported as **JSON**, **CSV**, **Excel**, **XML**, or **RSS** via the Apify API:

```bash
curl "https://api.apify.com/v2/acts/gmpsignal~crypto-orderbook-arbitrage-scanner/runs/last/dataset/items?token=YOUR_APIFY_TOKEN"
```

### Pricing

This Actor uses **Pay-Per-Event (`PAY_PER_EVENT`)** pricing with **Apify Store Tiered Discounts** (`BRONZE`, `SILVER`, `GOLD`, `PLATINUM`, and `DIAMOND` subscribers automatically receive up to **50% off** per record). You only pay for the structured dataset items actually delivered.

### Notes

- Runs under `LIMITED_PERMISSIONS` security isolation for enterprise compliance.
- Requires zero external API keys or third-party subscriptions.

### AI Agent, MCP Server & LLM / RAG Integration

Connect this Actor directly to **Claude Desktop**, **Cursor**, **Windsurf**, or **Cline** using our official Model Context Protocol server (`io.github.devburaq/gmpsignal-mcp-server`):

```json
{
  "mcpServers": {
    "gmpsignal": {
      "command": "npx",
      "args": ["-y", "@gmpsignal/mcp-server"],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_API_TOKEN"
      }
    }
  }
}
```

### Related Actors by GMPSignal

- **Developer Portal & Live Telemetry Dashboard:** [devburaq.github.io/gmpsignal-portal](https://devburaq.github.io/gmpsignal-portal/)
- **Glama Grade A MCP Directory:** [glama.ai/mcp/servers/devburaq/gmpsignal-mcp-n8n-starter-kit](https://glama.ai/mcp/servers/devburaq/gmpsignal-mcp-n8n-starter-kit)
- **GitHub Starter Kit & n8n Templates:** [github.com/devburaq/gmpsignal-mcp-n8n-starter-kit](https://github.com/devburaq/gmpsignal-mcp-n8n-starter-kit)

# Actor input Schema

## `symbols` (type: `array`):

Base asset tickers to analyze across exchanges (e.g. BTC, ETH, SOL, XRP, DOGE, BNB, ADA, AVAX, SUI, LINK).

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

Exchanges to query for Level-2 order books and perpetual funding rates.

## `includeExchangeOrderBooks` (type: `boolean`):

Emit one detailed record per exchange per symbol with L1/L2 depth, order book imbalance, $10k/$50k/$100k slippage (bps), and funding rate.

## `includeArbitrageSummary` (type: `boolean`):

Emit a consolidated cross-exchange spot and perpetual funding rate arbitrage summary row for each symbol.

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

Optional proxy settings.

## Actor input object example

```json
{
  "symbols": [
    "BTC",
    "ETH",
    "SOL",
    "XRP",
    "DOGE"
  ],
  "exchanges": [
    "binance",
    "bybit",
    "okx",
    "kraken",
    "kucoin",
    "gateio"
  ],
  "includeExchangeOrderBooks": true,
  "includeArbitrageSummary": true
}
```

# Actor output Schema

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

No description

# 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 = {
    "symbols": [
        "BTC",
        "ETH",
        "SOL",
        "XRP",
        "DOGE"
    ],
    "exchanges": [
        "binance",
        "bybit",
        "okx",
        "kraken",
        "kucoin",
        "gateio"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("gmpsignal/crypto-orderbook-arbitrage-scanner").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 = {
    "symbols": [
        "BTC",
        "ETH",
        "SOL",
        "XRP",
        "DOGE",
    ],
    "exchanges": [
        "binance",
        "bybit",
        "okx",
        "kraken",
        "kucoin",
        "gateio",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("gmpsignal/crypto-orderbook-arbitrage-scanner").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 '{
  "symbols": [
    "BTC",
    "ETH",
    "SOL",
    "XRP",
    "DOGE"
  ],
  "exchanges": [
    "binance",
    "bybit",
    "okx",
    "kraken",
    "kucoin",
    "gateio"
  ]
}' |
apify call gmpsignal/crypto-orderbook-arbitrage-scanner --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gmpsignal/crypto-orderbook-arbitrage-scanner"
        }
    }
}
```

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/P5CDYtV1iibNu0dhJ/builds/RgaKTgpqvsQzQhsc3/openapi.json
