OKX Market Scraper
Pricing
from $3.50 / 1,000 results
OKX Market Scraper
Scrape live market data for all OKX spot and futures (swap) instruments in one run β last price, 24h change, high/low, volume, bid/ask and more. Schedule it for a continuously fresh price feed.
Pricing
from $3.50 / 1,000 results
Rating
0.0
(0)
Developer
Logiover
Maintained by CommunityActor stats
0
Bookmarked
5
Total users
0
Monthly active users
9 hours ago
Last modified
Categories
Share
π’ OKX Market Scraper β Live OKX Spot & Futures Prices, Volume & Market Data
Scrape live market data from OKX β one of the world's leading cryptocurrency exchanges β straight from its official public API. This OKX scraper delivers a clean, structured snapshot of every OKX spot and futures (swap) instrument: last price, 24h change, high/low, 24h volume and bid/ask spread. Export to JSON, CSV or Excel.
Crypto prices move every second, so this Actor is built for scheduled, recurring use to keep a continuously fresh OKX market feed. No login and no OKX API key required.
β¨ What this Actor does / Key features
- π‘ Pulls live OKX market data directly from the official OKX public API β fast, reliable and fully structured
- π Complete market coverage β every OKX SPOT and SWAP (perpetual futures) instrument in a single run, plus FUTURES and OPTION support
- πΉ Rich data per pair β last price, 24h open/high/low, 24h price change %, base and quote volume, bid and ask price
- π’ Sort instruments by quote volume, base volume, 24h price change or last price
- π Filter out low-volume instruments with a minimum 24h volume threshold
- βΎοΈ Leave the limit empty to pull every available pair, or cap the run with
maxPairs - π€ No API key, no login, no blocking β ideal for scheduled recurring runs
- π€ Structured output ready for JSON, CSV and Excel export
π Input
| Field | Type | Description |
|---|---|---|
instTypes | array | Which OKX markets to scrape: SPOT, SWAP (perpetual futures), FUTURES, OPTION. |
minVolumeUsd | integer | Drop instruments with 24h quote volume below this value. 0 = no filter. |
sortBy | string (select) | Rank instruments by volCcy24h (quote volume), vol24h (base volume), priceChangePercent24h or lastPrice. |
maxPairs | integer | Maximum number of instruments to save. 0 = all. |
π Example input
{"instTypes": ["SPOT", "SWAP"],"minVolumeUsd": 100000,"sortBy": "volCcy24h","maxPairs": 0}
π¦ Output
Each instrument is saved as one structured record.
| Field | Description |
|---|---|
instId | Instrument ID (e.g. BTC-USDT, ETH-USDT-SWAP) |
instType | Instrument type β SPOT, SWAP, FUTURES or OPTION |
lastPrice | Most recent traded price |
open24h | Price 24 hours ago |
high24h | Highest price in the last 24 hours |
low24h | Lowest price in the last 24 hours |
priceChangePercent24h | 24-hour price change as a percentage |
volume24h | Trading volume in the last 24h (base currency) |
volumeCcy24h | Trading volume in the last 24h (quote currency) |
bidPrice | Current best bid price |
askPrice | Current best ask price |
timestamp | Exchange timestamp of the ticker data |
scrapedAt | When the Actor scraped this record |
Sample record
{"instId": "BTC-USDT","instType": "SPOT","lastPrice": 64235.1,"open24h": 63010.0,"high24h": 64880.0,"low24h": 62700.0,"priceChangePercent24h": 1.94,"volume24h": 12850.4,"volumeCcy24h": 821400000.0,"bidPrice": 64234.9,"askPrice": 64235.2,"timestamp": "2026-05-14T09:00:00.000Z","scrapedAt": "2026-05-14T09:00:01.250Z"}
π‘ Use cases
- Traders & trading bots β feed live OKX prices and spreads into strategies, screeners and dashboards.
- Market researchers & analysts β track volume, volatility and 24h trends across the entire OKX exchange.
- Price monitoring & alerts β watch specific pairs on a schedule and trigger alerts on price moves.
- Quant & data science teams β build a historical OKX market-data archive by running the Actor on a recurring schedule.
- Portfolio & PnL tools β pull current prices to value crypto holdings in real time.
β Frequently Asked Questions
Do I need an OKX account or API key? No. The Actor uses the official OKX public market API β no login, no API key and no authentication required.
Is this legal? The Actor reads publicly available market data from OKX's official public API. Use the data responsibly and in line with OKX's terms of service.
How much data can I get in one run?
Leave maxPairs at 0 to pull every available instrument for the selected instTypes β that can be thousands of spot and swap pairs in a single run.
Can I filter and sort the results?
Yes. Use minVolumeUsd to drop low-volume instruments and sortBy to rank results by quote volume, base volume, 24h price change or last price.
How fresh is the data? Each run pulls a live snapshot from OKX. Because crypto prices change constantly, schedule the Actor to run every few minutes for a near-real-time feed.
Can I scrape only futures or only spot?
Yes. Set instTypes to just ["SPOT"], just ["SWAP"], or any combination of SPOT, SWAP, FUTURES and OPTION.
What output formats are supported? Results are stored in an Apify dataset and can be exported as JSON, CSV, Excel, XML or HTML, or pulled via the Apify API.
β° Scheduling & integration
Schedule this Actor on Apify to run every few minutes, hourly or daily for a continuously updated OKX market dataset with zero manual work. Export to JSON, CSV or Excel, call it via the Apify API, or push results to Google Sheets, databases and webhooks through Apify integrations.