Real-time & AI
Integrate with AI
Let your AI assistant do the wiring. Copy one prompt, or open it straight in ChatGPT, Claude, Gemini or DeepSeek. It points the assistant at our integration guide, so the code it writes uses the right auth, parameters, error handling and plan limits.
The prompt
Paste this into any AI assistant. ChatGPT and Claude open with it already filled in; for Gemini and DeepSeek we copy it for you and open the chat, so you only need to paste.
Prompt
Read the Real Market API integration guide at https://realmarketapi.com/guide.md and follow it to integrate Real Market API (realmarketapi.com) into my project.
1. Look at my project first (language, framework, where config and secrets live). If you can't see my code, ask me which stack I use.
2. Ask me which symbols and timeframes I need, whether I need live updates (WebSocket) or periodic data (REST), and which plan I'm on if it matters.
3. Read the API key from an environment variable named REALMARKETAPI_API_KEY. Never hard-code it, and keep it server-side.
4. Use the official SDK for my language if there is one; otherwise plain HTTP, following the guide's conventions and error handling.
5. Finish with the guide's "Definition of done" checklist and tell me what you added and how to run it.The assistant needs a Real Market API key to run the code it writes. Create a free account to get one, then set it as REALMARKETAPI_API_KEY. Don't paste your key into the chat.
Coding agents
Agents that can read your repository (Claude Code, Cursor, GitHub Copilot, Windsurf, Codex) do best with a short instruction. They fetch the guide and work in your code directly.
Agent instruction
Read https://realmarketapi.com/guide.md and integrate Real Market API into this project following it. Use the REALMARKETAPI_API_KEY environment variable for the key.You can also save guide.md into your repository (for example as a skill or rules file) so the agent has it offline.
What the guide covers
guide.md is written for AI agents, in the SKILL.md format. It covers:- Base URL, the
apiKeyquery parameter and keeping the key server-side - Response and error shapes, and which error codes to retry
- The endpoint map: prices, candles, history, indicators, volatility, insight and modules
- Quick starts for curl, .NET, JavaScript/TypeScript and Python
- WebSocket streams with reconnect and backoff
- Plan limits and how to degrade gracefully, plus the MCP server for agents
- A definition-of-done checklist