Introduction

Read your trading accounts, and every account published on ShowMyTrades, as JSON, from your own code or from an AI assistant.

The ShowMyTrades API gives you your trading data as JSON: accounts, statistics, closed trades and open positions. Everything you can see on the site, you can pull into your own spreadsheet, script, dashboard or AI assistant.

It is free, in exchange for a visible credit: the line Data from ShowMyTrades, linked, wherever you show the data. See Attribution.

Public data needs no key. Searching the accounts traders have published, reading one of them and composing its widget work without any authentication, in REST and over MCP. A key is needed only for your own accounts, trades and positions, and it raises the rate limit. See Authentication.
Only here to put your results on your own site? Follow Show your trading results on your website: it goes from signing up to a live chart, step by step.

Two things you can do:

Read your own accounts

Every account you have connected (MT4, MT5, cTrader, TradeLocker) including private ones, plus your portfolios.

Read any public account

Every account published on ShowMyTrades, and a search across all of them. The same data the public pages show. No key required.

Base URL

https://showmytrades.com/api/v1

Every path in this reference is relative to that base.

A first request

No key is needed for public accounts. This finds verified accounts with a year of history that never drew down more than 10%:

curl -G https://showmytrades.com/api/v1/search/accounts \
  -d verified=true -d min_age_days=365 -d max_drawdown_percent=10 -d sort=-gain

For your own accounts, create a key in Settings → Developer API Keys, then:

curl https://showmytrades.com/api/v1/accounts \
  -H "Authorization: Bearer smt_live_YOUR_KEY"

What the API does not do

Being explicit about this saves you time:

No writing
The API is read-only. It cannot create, rename, publish or delete anything, and it cannot place or close trades. There is no key that can: a write permission cannot even be stored on a key.
No people search
You can read and search accounts. There is no endpoint that lists or searches traders. Of an account owner you get their public slug and brand name, never a personal name.
No real-time stream
Data is served from the same pre-computed statistics the site uses, refreshed as your accounts report. For push delivery, webhooks are coming.
But there IS an AI interface
Beyond REST, an MCP server lets Claude, ChatGPT and other assistants read the same data on your behalf: public accounts without a key, your own with one.

Where to go next

Show results on your website

From signing up to a live chart on your page, with a widget or with the API.

Authentication

Create a key and send it with every request.

Attribution

The credit that makes the API free: what to show and where it links.

Conventions

Units, signs, dates and pagination. Read this one: it explains what the numbers mean.

Accounts

List your accounts, retrieve one, expand its statistics.

Trades & positions

Closed trades and currently open positions.

MCP server

Connect Claude or ChatGPT: search public track records without a key, your own accounts with one.

Widget reference

Every embeddable widget, its URL and its parameters, plus the endpoint that composes the snippet.