okx-market

Retrieve OKX spot, swap, futures, option, and index market data via HTTP GET requests.

30.4k|4.9k|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/HKUDS/Vibe-Trading --skill okx-market
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: okx-market
Source: https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/okx-market
Command: npx skills add https://github.com/HKUDS/Vibe-Trading --skill okx-market

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Pulling live OKX spot, derivatives, and index data from scattered documentation is time consuming, so this skill centralizes the public REST endpoints and sample scripts to deliver ready data without API keys.

Core Features & Use Cases

  • Direct instructions for fetching spot tickers, bulk tickers, trades, candles, funding rates, open interest, and price limits from OKX.
  • Python scripts that parse responses into pandas dataframes and surface ranked volume or funding information for rapid analysis.
  • Use case: compare BTC-USDT funding rates, mark price, and open interest before deciding whether to enter a perpetual swap trade by leveraging the provided references.

Quick Start

Use Python requests to call the OKX market ticker endpoint for BTC-USDT and inspect the JSON reply for last price and 24 hour metrics.

Frequently Asked Questions about okx-market

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch OKX crypto market data like spot tickers and funding rates using Python?

To fetch OKX crypto market data, use Python requests to send HTTP GET requests to public endpoints with instType or instId parameters, retrieving spot tickers, funding rates, and open interest without API keys.

Can I retrieve OKX derivatives data such as swap and futures open interest without authentication?

Yes, you can retrieve OKX derivatives data without authentication by accessing public market endpoints, which support fetching swap, futures, option, and index data for market research and trading signals.

How do I parse OKX REST API JSON responses into pandas dataframes for analysis?

You can parse OKX REST API JSON responses into pandas dataframes by using the provided Python scripts, which structure prices, limit data, and ranked volume information for rapid market analysis.

What OKX market data types are available for retrieval through public REST endpoints?

Available OKX market data types include spot and bulk tickers, trades, candles, funding rates, open interest, and price limits, covering spot, swap, futures, option, and index data retrieval tasks.

Do I need an API key to access OKX market data for crypto trading signals?

No, you do not need an API key to access OKX market data, as the skill centralizes public REST endpoints to deliver ready data for crypto prices, mark prices, and limit data without authentication.

How do I compare BTC-USDT funding rates and mark price before entering a perpetual swap trade?

To compare BTC-USDT funding rates and mark price, call the OKX market ticker endpoint using Python requests, then inspect the JSON reply for 24 hour metrics and open interest to inform your trade.