RealMarketAPI
Live data ยท Up to 10 yrs history ยท Production-ready

DocumentationBuilt for developers

Everything you need to stream real-time market data into your products โ€” from a 30-second quickstart to WebSocket reconnect strategies. Business and Enterprise plans include the full OHLCV archive with up to 10 years of historical data for back-testing and research.

27+
Symbols
6
Timeframes
10+
Endpoints
11
MCP Tools
<5ms
Avg latency
10yr
History

Base URLs

โšก
REST API
https://api.realmarketapi.com
๐Ÿ”
WebSocket
wss://api.realmarketapi.com
๐Ÿค–
MCP Server
https://ai.realmarketapi.com/mcp

Quick start

Fetch the latest Gold price in 30 seconds. Replace YOUR_API_KEY with the key from your dashboard.

curl
curl -X GET "https://api.realmarketapi.com/price?symbolCode=XAUUSD"   -H "x-api-key: YOUR_API_KEY"
๐Ÿ”‘Don't have an API key yet? Create a free account โ€” no credit card needed.

Explore the docs

Jump to the section that fits your use case.

๐Ÿš€
Start here

Getting Started

Authenticate with your API key, understand rate limits, explore supported symbols and timeframes.

  • API key setup
  • Authentication
  • Symbols & Timeframes
  • Best practices
Read more โ†’
โšก
All plans

REST Endpoints

Core market data endpoints plus indicator endpoints for SMA, EMA, RSI, MACD and support/resistance.

  • GET /price
  • GET /history
  • GET /candle
  • GET /symbol
  • GET /api/v1/indicator/*
Read more โ†’
๐Ÿ”
Pro & Business

WebSocket

Real-time streaming for live ticks, sub-second updates, and multi-symbol subscriptions without polling.

  • Sub-second ticks
  • Multi-symbol
  • Auto-reconnect
  • 5 language examples
Read more โ†’
๐Ÿ“–
Reference

API Reference

Every OHLCV field, HTTP status code, and structured exception code โ€” all in one place.

  • OHLCV fields
  • HTTP error codes
  • Exception codes
Read more โ†’
๐Ÿ“ˆ
Indicators

Technical Indicators

Use server indicator APIs for SMA, EMA, RSI, MACD and support/resistance, with formulas and integration examples.

  • GET /api/v1/indicator/sma
  • GET /api/v1/indicator/ema
  • GET /api/v1/indicator/rsi
  • GET /api/v1/indicator/macd
  • Support/Resistance
Read more โ†’
๐Ÿค–
Pro+

MCP Server

Connect AI agents like Claude Desktop and Cursor to live market data via the Model Context Protocol.

  • 11 MCP tools
  • Streamable HTTP
  • TypeScript & Python SDKs
  • Claude Desktop config
Read more โ†’
๐Ÿ“ฆ
SDK

SDK Clients

Official typed SDK for .NET โ€” install via NuGet and connect to real-time prices, candles, history and indicators in minutes.

  • RealMarketAPI.Sdk
  • .NET 10
  • DI-ready
  • Ticker ยท Indicators ยท Symbols
Read more โ†’
โ–ถ๏ธ

Try it live in the Playground

Run real requests against the API โ€” no backend required. Switch between REST and WebSocket, inspect responses, and copy code snippets.

Open Playground