# Crypto Derivatives Monitor — Funding, OI & Liquidations (`brick_joey_yto/crypto-derivatives-monitor`) Actor

Crypto futures intelligence across every exchange — funding rates, open interest, long/short ratios, liquidation feed, Fear & Greed index, extreme-funding screener. Keyless, monitoring-ready. From $1/1,000 results.

- **URL**: https://apify.com/brick_joey_yto/crypto-derivatives-monitor.md
- **Developed by:** [William Billings](https://apify.com/brick_joey_yto) (community)
- **Categories:** Automation, Lead generation, Developer tools
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 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.

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 Derivatives Monitor — Funding Rates, Open Interest & Liquidations

One actor for **crypto futures intelligence across every major exchange** — funding rates, open interest, long/short account ratios, taker buy/sell volume, a live liquidation feed, and the Fear & Greed index. Fully keyless: no exchange API keys, no Coinglass subscription, no auth.

Built for **scheduled monitoring** — run it hourly/daily to catch funding extremes, OI buildups, and squeeze setups before they move price.

### What it pulls

| Mode | Returns | Source coverage |
|---|---|---|
| `funding` | Funding rate per contract across ~180 venues — Binance, Bybit, OKX, Gate, dYdX… | All exchanges via CoinGecko |
| `oi` | Open interest rankings per contract, largest first | All exchanges |
| `screener` | **Extremes** — `funding_long` (overcrowded longs), `funding_short` (short-squeeze fuel), `movers`, top OI | All exchanges, computed |
| `longshort` | Long/short account ratio over time — % of accounts long vs short | OKX |
| `taker` | Taker buy vs sell volume split per period | OKX |
| `liquidations` | Recent liquidation orders — side, size, price, timestamp | OKX |
| `okx_funding` | Current **and NEXT** funding rate + countdown per instrument | OKX |
| `feargreed` | Fear & Greed index value, classification, history | alternative.me |
| `watch` | **Combined snapshot per coin** — aggregate OI across all venues, avg/min/max funding, funding spread in bps | All exchanges, computed |

### Why not the official sources?

- **Coinglass API** — needs a paid key ($$$/mo) for this same data
- **Exchange APIs** — one endpoint per venue, per-instrument limits, geo-blocks on Binance/Bybit
- **This actor** — zero auth, one input, cross-exchange coverage out of the box. Rows are normalized so `BTCUSDT` from Binance and `BTC_USDT` from Gate land in the same schema.

### Example inputs

```json
// Extreme-funding screener — squeeze watch (default demo)
{"mode": "screener", "screen": "funding_long"}

// Watch list — combined derivative snapshot per coin, schedule hourly
{"mode": "watch", "coins": ["BTC", "ETH", "SOL", "DOGE"]}

// Funding rates for a coin across every exchange
{"mode": "funding", "coins": ["SOL"]}

// Liquidation feed — recent filled liquidation orders
{"mode": "liquidations", "instruments": ["BTC-USDT", "ETH-USDT"]}

// Market positioning — hourly long/short ratio
{"mode": "longshort", "coins": ["BTC"], "period": "1H"}

// Sentiment history
{"mode": "feargreed", "fearGreedDays": 30}
```

### Example output

```json
{"recordType":"watch_snapshot","coin":"BTC","venueCount":178,"openInterestUsd":65200000000,"volume24hUsd":118000000000,"avgFundingRate":0.002825,"maxFundingRate":0.011,"minFundingRate":-0.004,"fundingSpreadBps":150.0}
{"recordType":"screener_result","screen":"funding_long","symbol":"BTCUSDT","exchange":"Binance (Futures)","fundingRate":0.0075,"fundingAnnualizedPct":820.1,"openInterestUsd":7814705444.51,"price":"83554.77"}
{"recordType":"liquidation","instrument":"BTC-USDT-SWAP","venue":"OKX","posSide":"short","size":"32.46","price":"83820.7","time":"2026-10-12T04:36:00+00:00"}
{"recordType":"fear_greed","value":69,"classification":"Greed","date":"2026-10-12"}
```

### Pricing

**$1.00 per 1,000 result rows** — flat, pay only for what you pull. A daily 5-coin watch run = 5 rows = **$0.005/day**. A full cross-exchange funding sweep (~1,800 contracts) ≈ **$1.80**.

Compare: Coinglass API plans start ~$30–100/mo for the same funding/liquidation data — and still one venue at a time on basic tiers.

### Use cases

- **Squeeze detection** — `screener` with `funding_long`/`funding_short` finds overcrowded positioning before the flush
- **Alerting pipelines** — `watch` on a schedule → webhook when funding spread or OI crosses thresholds
- **Cross-exchange arbitrage** — funding differentials per coin across venues (the `fundingSpreadBps` field)
- **Sentiment overlays** — combine `feargreed` + `longshort` + `taker` for a positioning dashboard
- **Complete crypto intel stack** — pair with our [DexScreener Scraper](https://apify.com/brick_joey_yto/crypto-token-monitor) (token data), [Bitcointalk Scraper](https://apify.com/brick_joey_yto/bitcointalk-scraper) (forum alpha), and [StockTwits Scraper](https://apify.com/brick_joey_yto/stocktwits-scraper) (retail sentiment)

### FAQ

**Do I need exchange API keys?** No — every source is a public, keyless endpoint. Optional Apify proxy helps if you schedule heavy CoinGecko sweeps.

**Does it cover Binance/Bybit?** Yes — via CoinGecko's aggregated per-contract data (funding, OI, volume, basis), which is not geo-blocked. Exchange-native OKX endpoints power the positioning modes.

**How current is the data?** OKX liquidation/long-short/taker data updates near-real-time (minutes). CoinGecko derivatives refresh roughly every few minutes. Fear & Greed updates daily.

**What are the honest limits?** `liquidations`, `longshort`, `taker`, and `okx_funding` are OKX-venue only (Coinglass's cross-exchange liquidation feed requires a paid API key — the free web page is Cloudflare-protected). CoinGecko free-tier rate limits may hit on multi-runs-per-minute schedules — that's what the proxy option is for.

**Can I monitor coins on a schedule?** Yes — that's `watch` mode. Combine with Apify Schedules + webhooks for a self-running derivatives monitor.

**Is it legal to scrape this data?** The actor only accesses publicly available data — the same pages/APIs a browser sees. Scraping public data for research, monitoring, and analysis is common practice, but platform Terms of Service and the rules in your jurisdiction still apply to how you use it. Consult legal counsel for your specific case.

### More from this developer

**Monitors & business intel:** [DexScreener Scraper — Crypto Token Monitor](https://apify.com/brick_joey_yto/crypto-token-monitor) · [Google News Monitor](https://apify.com/brick_joey_yto/google-news-monitor) · [App Store Monitor](https://apify.com/brick_joey_yto/app-store-monitor) · [Pump.fun Monitor](https://apify.com/brick_joey_yto/memecoin-launch-monitor) · [StockTwits Scraper](https://apify.com/brick_joey_yto/stocktwits-scraper) · [Yahoo Finance Scraper](https://apify.com/brick_joey_yto/yahoo-finance-scraper) · [Prediction Markets Monitor](https://apify.com/brick_joey_yto/prediction-markets-monitor) · [ATS Jobs Monitor](https://apify.com/brick_joey_yto/ats-jobs-monitor) · [Sports Scores & Odds Monitor](https://apify.com/brick_joey_yto/sports-scores-odds-monitor) · [Product Hunt Monitor](https://apify.com/brick_joey_yto/product-hunt-monitor) · [Hacker News Monitor](https://apify.com/brick_joey_yto/hackernews-monitor) · [AI Visibility Tracker](https://apify.com/brick_joey_yto/ai-brand-monitor)

**Alt-social & OSINT:** [Bitcointalk Scraper](https://apify.com/brick_joey_yto/bitcointalk-scraper) · [Gab Scraper](https://apify.com/brick_joey_yto/gab-search-scraper) · [BitChute Scraper](https://apify.com/brick_joey_yto/bitchute-search-scraper) · [Truth Social Scraper](https://apify.com/brick_joey_yto/truth-social-scraper) · [Telegram Scraper](https://apify.com/brick_joey_yto/telegram-scraper) · [Discord Scraper](https://apify.com/brick_joey_yto/discord-scraper) · [Rumble Video Scraper](https://apify.com/brick_joey_yto/rumble-video-scraper) · [Odysee Scraper](https://apify.com/brick_joey_yto/odysee-scraper) · [Kick Scraper](https://apify.com/brick_joey_yto/kick-scraper) · [4chan Scraper](https://apify.com/brick_joey_yto/4chan-scraper) · [Xiaohongshu / RedNote Scraper](https://apify.com/brick_joey_yto/xiaohongshu-scraper)

**Creator platforms:** [Bluesky Scraper](https://apify.com/brick_joey_yto/bluesky-search-scraper) · [Threads Scraper](https://apify.com/brick_joey_yto/threads-profile-scraper) · [Farcaster Scraper](https://apify.com/brick_joey_yto/farcaster-scraper) · [Spoutible Scraper](https://apify.com/brick_joey_yto/spoutible-scraper) · [Pixelfed Scraper](https://apify.com/brick_joey_yto/pixelfed-scraper) · [Substack Notes Scraper](https://apify.com/brick_joey_yto/substack-notes-scraper) · [Dailymotion Scraper](https://apify.com/brick_joey_yto/dailymotion-scraper) · [Roblox Scraper](https://apify.com/brick_joey_yto/roblox-scraper)

**Gov & regulatory:** [Federal Register Monitor](https://apify.com/brick_joey_yto/federal-register-monitor) · [Federal Court Monitor](https://apify.com/brick_joey_yto/federal-court-monitor) · [FDA Compliance Monitor](https://apify.com/brick_joey_yto/fda-compliance-monitor) · [Clinical Trials Monitor](https://apify.com/brick_joey_yto/clinical-trials-monitor) · [Lobbying Monitor](https://apify.com/brick_joey_yto/lobbying-monitor)

***

*Not affiliated with CoinGecko, OKX, or alternative.me. Uses publicly accessible endpoints — respect their Terms of Service.*

# Actor input Schema

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

What to pull: funding (rates per coin across all exchanges), oi (open interest rankings), screener (extreme funding/movers/OI leaders), longshort (long/short account ratio), taker (buy vs sell volume), liquidations (recent liquidation feed), okx_funding (current + NEXT funding per instrument), feargreed (Fear & Greed index + history), watch (combined derivatives snapshot per coin for scheduled monitoring).

## `coins` (type: `array`):

Coin index IDs for funding/oi/longshort/taker/watch — e.g. \["BTC","ETH","SOL","DOGE"]. Matches the base asset across all exchanges. Demo default: BTC, ETH, SOL.

## `instruments` (type: `array`):

OKX instrument IDs — for liquidations use families like \["BTC-USDT","ETH-USDT"]; for okx_funding use full IDs like \["BTC-USDT-SWAP","ETH-USDT-SWAP"].

## `screen` (type: `string`):

screener mode: which extreme to rank — open_interest (largest positions), funding_long (most overcrowded longs — squeeze candidates), funding_short (negative funding — short squeeze fuel), movers (biggest 24h price swings).

## `period` (type: `string`):

For longshort and taker modes — the aggregation interval per row.

## `fearGreedDays` (type: `integer`):

feargreed mode: how many days of index history to return — 1 to 100.

## `maxResults` (type: `integer`):

Row cap per source — 1 to 2000, default 50.

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

Optional Apify proxy — useful if CoinGecko rate-limits heavy schedules.

## Actor input object example

```json
{
  "mode": "watch",
  "coins": [
    "BTC",
    "ETH",
    "SOL"
  ],
  "instruments": [
    "BTC-USDT-SWAP",
    "ETH-USDT-SWAP"
  ],
  "screen": "open_interest",
  "period": "1H",
  "fearGreedDays": 7,
  "maxResults": 50
}
```

# Actor output Schema

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

Dataset containing message, sentiment, or trending-symbol records

# 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 = {
    "mode": "watch",
    "coins": [
        "BTC",
        "ETH",
        "SOL"
    ],
    "instruments": [
        "BTC-USDT-SWAP",
        "ETH-USDT-SWAP"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("brick_joey_yto/crypto-derivatives-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 = {
    "mode": "watch",
    "coins": [
        "BTC",
        "ETH",
        "SOL",
    ],
    "instruments": [
        "BTC-USDT-SWAP",
        "ETH-USDT-SWAP",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("brick_joey_yto/crypto-derivatives-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 '{
  "mode": "watch",
  "coins": [
    "BTC",
    "ETH",
    "SOL"
  ],
  "instruments": [
    "BTC-USDT-SWAP",
    "ETH-USDT-SWAP"
  ]
}' |
apify call brick_joey_yto/crypto-derivatives-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,brick_joey_yto/crypto-derivatives-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/c3Qzynqt7D2r5eoIR/builds/hVDMckJwfjhSxagej/openapi.json
