Developer Platform

Build on your trading analytics with our API & webhooks

REST API. TradingView webhook integration. An MCP server that plugs your trading data into Claude or Cursor. An interactive playground to test it all live. Everything you need to build on top of TradeInsights.

Get your last 20 trades
curl https://tradeinsights.io/api/v1/trades?limit=20 \
  -H "Authorization: Bearer tia_your_api_key"

# →  { "data": [ { "id": 12891, "symbol": "AAPL",
#                  "type": "long", "profit_loss": 184.50, ... } ] }

Everything in one platform

REST API v1

Read your trades, write new entries, fetch analytics and equity curves — all through a clean, versioned REST API with Bearer token auth.

TradingView Webhooks

Send TradingView alerts straight into your journal as draft trades. Full delivery logs and one-click replay on every webhook call.

MCP Server for AI

Plug your trading data directly into Claude, Cursor, or any MCP-compatible assistant. Ask questions about your performance in plain English.

Interactive Playground

Test every endpoint live in the Developer Portal. Paste your API key, build a request, see the response, and copy production-ready code snippets.

Per-Key Rate Limits

Tiered rate limits, monthly quotas, and per-request overage metering — all transparent in your usage dashboard.

Usage Analytics

Track API calls by endpoint, response times, error rates, and projected monthly cost in real time.

Pick a developer plan

Standalone API plans. Already on Premium or Pro? Your API tier is included automatically.

Sandbox

Free

For testing and exploration

  • 1,000 calls/month
  • 60 req/min rate limit
  • Read trades & profile
  • Community support
Most popular

Developer

$19/mo

For indie builders and side projects

  • 10,000 calls/month
  • 300 req/min rate limit
  • Full read & write access
  • TradingView webhooks
  • MCP server access
  • Email support

Pro

$49/mo

For production apps and trading firms

  • 50,000 calls/month
  • 600 req/min rate limit
  • Everything in Developer
  • AI-assisted evidence endpoints
  • Equity curve & advanced analytics
  • Priority support

Bring your trades into Claude or Cursor

The MCP server lets your favorite AI assistant query your trading history, pull stats, and answer evidence-review questions — without exporting CSVs or copy-pasting screenshots. Authentication is the same API key you already use.

Built for production

Hashed keys

API keys are SHA-256 hashed at rest. Revoke any key instantly from the portal.

Tiered rate limits

Per-minute and per-month quotas enforced per key. Standard 429 responses with Retry-After headers.

Usage transparency

Every call is logged. See response times, error rates, and projected billing in real time.

Frequently asked questions

What is the TradeInsights API?

A versioned REST API at /api/v1 that lets you read trades, write new entries, fetch performance analytics, and connect TradingView alerts directly to your trading journal. Authentication is via Bearer tokens issued through the Developer Portal.

What is the MCP server?

Model Context Protocol (MCP) is an open standard that lets AI assistants like Claude and Cursor access authorized data. Our MCP server at /api/v1/mcp gives your assistant tools to query trading history, run analytics, and request guarded evidence reviews on your behalf.

Can I use the API on the free plan?

Yes — the Sandbox tier is free and gives you 1,000 API calls per month for testing. To unlock writes, webhooks, and the MCP server, upgrade to the Developer ($19/mo) or Pro ($49/mo) plan.

Are the API plans separate from my journal subscription?

Yes. API plans are standalone Stripe subscriptions managed in the Developer Portal. If you already have a Premium or Pro journal subscription, your API tier is granted automatically — no double billing.

How do I connect TradingView alerts to my journal?

Generate a webhook token in the Developer Portal, paste the unique URL into your TradingView alert's webhook field, and set the alert message to JSON with symbol, action, and price. We log every delivery and let you replay any of them with one click.

Is there an interactive way to try the API?

Yes. The Developer Portal includes an API Playground tab where you can pick an endpoint, fill in parameters, send live requests with your own API key, and copy the resulting cURL, Node.js, or Python snippet.

Ready to build?

Create an API key in under a minute. Start with the free Sandbox tier.

Ask me anything

AI Assistant

Hi! How can I help you today?
Powered by AssistLayer