TradingPal Tickers API
The account's tracked tickers, the same list as the site's My watchlist.
The account's tracked tickers, the same list as the site's My watchlist.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/tradingpal-io:tradingpal-io-tickers-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: TradingPal pattern Tickers API
version: v1
summary: Breakout patterns on stocks & crypto, with the historical win rate and a suggested entry, stop and target.
description: 'TradingPal helps you find better breakout patterns on stocks & crypto, faster. It looks at the entire market for wedges, pennants and triangles that form right before a large run. Based on research and backtesting, we sift out poorly formed patterns and ones with poor historical results. Each pattern comes with its historical win rate and a suggested entry, stop and target. This API serves what the nightly scan found across the whole market, ranked as the screener ranks it, and the current setups on the tickers an account tracks, with the two lines to draw as dated endpoints (straight on a log-scale price axis), the trigger, stop and target, the track record behind each setup, the last occurrences with outcomes, and a chart image. Nothing is computed per request: every answer is the stored artifact of the last nightly run, and every response says which session it describes in as_of_session, so say that session when presenting the data and do not cache setups across days. Rules for agents: never present a win rate alone. Every track record carries a summary sentence with the sample size, the win rate, the average win and the average loss; quote it whole. This is educational chart analysis, not investment advice; repeat the disclaimer when the user may act on it. Keyed routes send Authorization: Bearer tp_live_… and work only on the tickers the account tracks; the families, universe, demo and docs routes need no key. Reference: https://api.tradingpal.io/api/v1/llms.txt. MCP server: https://api.tradingpal.io/mcp.'
termsOfService: https://tradingpal.io/terms
contact:
url: https://tradingpal.io/developers
servers:
- url: https://api.tradingpal.io/api/v1
security:
- ApiKey: []
- OAuth2:
- patterns
tags:
- name: tickers
description: The account's tracked tickers, the same list as the site's My watchlist.
paths:
/tickers:
get:
operationId: listTrackedTickers
summary: Tracked tickers
description: Returns the tickers the account tracks, in the order they were added, each with whether the nightly covers it, plus the count, the cap and the account the list belongs to. The tracked set is the account's My watchlist on the TradingPal site, so it also changes when the user edits the watchlist there. The pattern and history routes answer only for these tickers.
tags:
- tickers
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Tickers'
'401':
description: 'missing_api_key (no Authorization: Bearer tp_live_… header) or invalid_api_key (unknown, revoked, or the account is inactive)'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: forbidden (the account is not on Premium+, the plan with API access)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: rate_limited; wait details.retry_after_seconds
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: X-TradingPal-Client
in: header
required: false
schema:
type: string
description: Optional name of the agent or script making the call. It is recorded in the account's usage log so the user can see which client made which calls; the User-Agent is recorded when it is absent.
x-mcp-tool: list_tracked_tickers
security:
- ApiKey: []
- OAuth2:
- patterns
patch:
operationId: updateTrackedTickers
summary: Add or remove tracked tickers
description: Adds the symbols in `add` to the tracked set and removes the ones in `remove`, leaving the rest alone; removals apply first. Every added symbol must be a ticker TradingPal knows and the result must fit the cap, otherwise nothing changes and the error names the offending symbols; names in `remove` that are not tracked are ignored. Send either list or both. Symbols are upper-cased and duplicates dropped. This also changes the user's My watchlist on the site. The agent tools add_tickers and remove_tickers call this.
tags:
- tickers
responses:
'200':
description: The tracked set as it stands
content:
application/json:
schema:
$ref: '#/components/schemas/Tickers'
'400':
description: bad_request (neither list sent, or a field is not a list), invalid_symbol (details.symbols), unknown_symbol (details.symbols) or ticker_cap_exceeded (details.cap, details.tracked, details.adding)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: 'missing_api_key (no Authorization: Bearer tp_live_… header) or invalid_api_key (unknown, revoked, or the account is inactive)'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: forbidden (the account is not on Premium+, the plan with API access)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: rate_limited; wait details.retry_after_seconds
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: X-TradingPal-Client
in: header
required: false
schema:
type: string
description: Optional name of the agent or script making the call. It is recorded in the account's usage log so the user can see which client made which calls; the User-Agent is recorded when it is absent.
requestBody:
required: true
description: The tickers to add and the tickers to remove.
content:
application/json:
schema:
type: object
description: The tickers to add and the tickers to remove; send either or both.
properties:
add:
type: array
description: Exchange symbols to start tracking, upper case (BRK.B). Each must be a ticker TradingPal knows; already tracked ones are ignored.
items:
type: string
description: Exchange symbol.
remove:
type: array
description: Exchange symbols to stop tracking; names not on the list are ignored.
items:
type: string
description: Exchange symbol.
examples:
- add:
- NVDA
remove:
- AAPL
- add:
- NVDA
- remove:
- AAPL
x-mcp-tool:
- add_tickers
- remove_tickers
security:
- ApiKey: []
- OAuth2:
- patterns
put:
operationId: setTrackedTickers
summary: Replace the tracked tickers (all-or-nothing)
description: 'Replaces the whole tracked set with the symbols in the body, all or nothing: every symbol must be a ticker TradingPal knows and the list must fit the cap, otherwise nothing changes and the error names the offending symbols. Read GET /tickers first and include the tickers to keep. Symbols are upper-cased and duplicates dropped. This also rewrites the user''s My watchlist on the site.'
tags:
- tickers
responses:
'200':
description: The new tracked set
content:
application/json:
schema:
$ref: '#/components/schemas/Tickers'
'400':
description: bad_request (symbols is not a list), invalid_symbol (details.symbols), unknown_symbol (details.symbols) or ticker_cap_exceeded (details.cap, details.sent)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: 'missing_api_key (no Authorization: Bearer tp_live_… header) or invalid_api_key (unknown, revoked, or the account is inactive)'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: forbidden (the account is not on Premium+, the plan with API access)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: rate_limited; wait details.retry_after_seconds
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
- name: X-TradingPal-Client
in: header
required: false
schema:
type: string
description: Optional name of the agent or script making the call. It is recorded in the account's usage log so the user can see which client made which calls; the User-Agent is recorded when it is absent.
requestBody:
required: true
description: The full new tracked list.
content:
application/json:
schema:
type: object
description: The full new tracked list.
properties:
symbols:
type: array
description: The complete new list of exchange symbols, upper case (BRK.B). Every symbol must be a ticker TradingPal knows and the list must fit the cap; duplicates are dropped.
items:
type: string
description: Exchange symbol.
required:
- symbols
examples:
- symbols:
- NVDA
- AAPL
x-mcp-tool: set_tracked_tickers
security:
- ApiKey: []
- OAuth2:
- patterns
components:
schemas:
Tickers:
type: object
title: Tickers
description: 'The account''s tracked tickers: the account''s My watchlist on the TradingPal site.'
properties:
api_version:
type: string
const: v1
description: The contract version, always v1. Field names in v1 do not change, and v1 stays available at least 12 months after a v2 ships.
as_of_session:
type:
- string
- 'null'
description: The last trading session the data describes, as an ISO date. Setups change nightly, so say it when presenting data and do not cache setups across days. Null on routes that do not read a dated artifact (account, tickers, history, families, universe and the demo index).
format: date
data_version:
type:
- string
- 'null'
description: 'Identifier of the stored artifact the answer came from: the candidate-book generation for patterns, the sealed manifest for family records. Null when the route reads no versioned artifact.'
source:
type: object
description: Who produced the data. Constant on every response.
properties:
name:
type: string
description: Always "TradingPal".
url:
type: string
description: Always https://tradingpal.io.
format: uri
disclaimer:
type: string
const: Educational breakout-pattern analysis from TradingPal, not investment advice. Past results do not guarantee future outcomes.
description: The educational-use disclaimer, constant on every response. Repeat it when presenting a setup as something the user might act on.
tickers:
type: array
description: The tracked tickers, in the order they were added.
items:
type: object
description: One tracked ticker.
properties:
symbol:
type: string
description: Exchange symbol, upper case.
covered:
type: boolean
description: True when the active nightly manifest covers the symbol, so the pattern and history routes can answer for it. False means it is tracked but the nightly has no data for it.
count:
type: integer
description: Number of tracked tickers.
cap:
type: integer
description: Maximum number of tickers the account may track.
account:
type: object
description: The TradingPal account the list belongs to, so a host can say which account is connected when the list is not the one the user expected.
properties:
email:
type: string
description: The account's sign-in email.
required:
- api_version
- as_of_session
- source
- disclaimer
examples:
- api_version: v1
tickers:
- symbol: NVDA
covered: true
count: 1
cap: 200
account:
email: you@example.com
Error:
type: object
title: Error
description: Every non-2xx answer. The code is stable; message and fix are written so an agent can act on them.
properties:
error:
type: string
description: Machine-readable code, for example setup_not_found. The llms.txt reference lists every code with its HTTP status.
message:
type: string
description: What went wrong, in one sentence.
fix:
type: string
description: 'What to do next: the route or tool to call, or the input to change. Absent when there is nothing to do.'
docs_url:
type: string
description: The developer docs, where keys are created.
format: uri
details:
type: object
description: 'Code-specific extras: retry_after_seconds on rate_limited, symbols on invalid_symbol and unknown_symbol, cap and sent on ticker_cap_exceeded, demo_symbols on not_a_demo_symbol. Absent otherwise.'
properties: {}
additionalProperties: true
required:
- error
- message
- docs_url
examples:
- error: setup_not_found
message: no current setup NVDA:D:falling_wedge:500 on NVDA
fix: Setups change nightly; re-read the current patterns for the symbol.
docs_url: https://tradingpal.io/developers
securitySchemes:
ApiKey:
type: http
scheme: bearer
bearerFormat: tp_live_…
description: 'An API key in the Authorization header: "Authorization: Bearer tp_live_…". Create one at https://tradingpal.io/developers. Limits are 60 requests a minute and 10,000 a day per account (all its keys together), and 1,000 different current setups a day from the scan and per-ticker patterns. Keyed routes answer only for accounts on Premium+ (which includes Premium); the fix on a 403 says where to get it (https://tradingpal.io/developers/quickstart).'
OAuth2:
type: oauth2
description: 'The sign-in flow MCP hosts run (OAuth 2.1 with PKCE and dynamic client registration): the host opens the browser, the user approves, and the grant is a key named after the host on the keys page. The access token goes in the same Authorization header. Metadata at https://api.tradingpal.io/.well-known/oauth-authorization-server.'
flows:
authorizationCode:
authorizationUrl: https://api.tradingpal.io/oauth/authorize
tokenUrl: https://api.tradingpal.io/oauth/token
refreshUrl: https://api.tradingpal.io/oauth/token
scopes:
patterns: 'Everything the account''s key can do: read setups, history, records and charts, and change tracked tickers.'
SessionCookie:
type: apiKey
in: cookie
name: tp_sessionid
description: The TradingPal site session cookie, for the key-management routes only; they are used by the developers page, not by API clients.
externalDocs:
url: https://api.tradingpal.io/api/v1/llms.txt
description: The reference for agents