okx-market

Fetch OKX spot, swap, futures, and index market data via public REST APIs.

Updated Jun 12, 2026
One-click install
npx skills add https://github.com/GGwujun/SigmX --skill okx-market-ggwujun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: okx-market
Source: https://github.com/GGwujun/SigmX/tree/main/agent/src/skills/okx-market
Command: npx skills add https://github.com/GGwujun/SigmX --skill okx-market-ggwujun

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides straightforward access to public OKX market data endpoints, enabling developers to fetch real-time quotes, candles, funding rates, open interest, and other market information without authentication.

Core Features & Use Cases

  • Retrieve real-time and historical market data for SPOT, SWAP, FUTURES, and INDEX instruments (tickers, candles, funding rates, open interest)
  • Build dashboards, research reports, or automated trading workflows using structured data
  • Use the included scripts and references to experiment with OKX market data in Python

Quick Start

Query the public OKX market data API to fetch the desired instrument data and return it in a structured format.

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 market data like tickers and candles using Python?

You can fetch OKX market data by querying public REST APIs using Python requests, then parsing the returned tickers and candles into structured formats with pandas for analysis.

Can I retrieve funding rates and open interest for perpetual swaps without API authentication?

Yes, you can retrieve funding rates and open interest for perpetual swaps without authentication by querying OKX public endpoints directly to get real-time market data.

What's the best way to get historical candles for OKX spot and futures instruments?

The best way to get historical candles for OKX spot and futures instruments is to query the public market data endpoints, which return structured candle data ready for pandas analysis.

Does this OKX market data approach work for building automated trading workflows?

Yes, this approach works for automated trading workflows by providing ready-made Python scripts that fetch structured ticker, candle, and open interest data from OKX public endpoints.

Do I need API keys to access OKX index data and real-time quotes?

No, you do not need API keys to access OKX index data and real-time quotes because the Skill exclusively uses public REST API endpoints that require no authentication.

What are the limitations of using public OKX endpoints for market data analysis?

Using public OKX endpoints limits you to fetching market data like tickers, candles, and funding rates, which is sufficient for research and dashboards but excludes private account or trading endpoints.