TraderSpy Your strategies API
The Your strategies API from TraderSpy — 2 operation(s) for your strategies.
The Your strategies API from TraderSpy — 2 operation(s) for your strategies.
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/traderspy-app:traderspy-app-your-strategies-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: TraderSpy Signals Your strategies API
version: 1.0.0
description: 'Read-only crypto futures market data: AI signals, smart-money positioning, prices, candles, derivatives, technical indicators, a screener and condition backtests; and, for a key you allow to, your own strategies and the alerts they sent. Nothing else from your account, and no trading. Every request counts as one call against the plan of the key’s account. A key can be restricted to IP addresses (for servers) or to websites (for web pages), and capped per day.'
x-docs: https://traderspy.app/api
servers:
- url: https://api.traderspy.app
security:
- bearerKey: []
- headerKey: []
tags:
- name: Your strategies
paths:
/v1/strategies:
get:
operationId: strategiesList
summary: Your strategies
description: 'The strategies you built on TraderSpy, newest first: their rules in words, timeframe, coins, whether they run, and the alerts sent so far. Needs a key allowed to read your strategies (an option in the key’s settings); otherwise 403 `strategies_not_allowed`.'
tags:
- Your strategies
parameters: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'400':
description: '`invalid_request`: A parameter is missing, unknown or out of range. `details` names it.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: '`missing_api_key`: No API key was sent. Send it as `Authorization: Bearer tspy_…` or `X-API-Key`. `invalid_api_key`: The key does not exist, was revoked, or its account is closed.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: '`plan_not_included`: The account’s plan does not include API access. `ip_not_allowed`: The key only works from the IP addresses set on it; this request came from another one. `origin_not_allowed`: The key only works from the websites set on it; this request named another website, or none. `strategies_not_allowed`: The key may not read your strategies. Switch that on in the key’s settings.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: '`not_found`: No such endpoint, or the record (signal, trader) does not exist. `no_data`: TraderSpy has no data for that symbol or timeframe.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: '`rate_limited`: More than the per-minute limit. Wait `Retry-After` seconds. `daily_limit_reached`: The plan’s calls for this UTC day are used. Resets at 00:00 UTC. `key_daily_limit_reached`: The key’s own daily cap is used (the account may have calls left). Resets at 00:00 UTC.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: '`internal_error`: Something failed on our side. Quote the `requestId` to support.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: '`service_unavailable`: A data source did not answer in time. Retry after `Retry-After` seconds; the call was not counted.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/strategies/alerts:
get:
operationId: strategiesAlerts
summary: Strategy alerts
description: 'The alerts your strategies sent, newest first: coin, timeframe, price and the rules that matched. Poll with `since` for new ones. Needs a key allowed to read your strategies (an option in the key’s settings); otherwise 403 `strategies_not_allowed`.'
tags:
- Your strategies
parameters:
- name: limit
in: query
required: false
description: Alerts per page.
schema:
type: integer
minimum: 1
maximum: 100
default: 20
- name: offset
in: query
required: false
description: Alerts to skip (pagination).
schema:
type: integer
minimum: 0
maximum: 10000
default: 0
- name: since
in: query
required: false
description: 'Only alerts sent after this time: ISO 8601 with a zone (`2026-11-19T10:00:00Z`) or a UTC date (`2026-11-19`). To poll for new alerts, pass the newest `createdAt` you already have; an empty `data` means nothing new.'
schema:
type: string
- name: strategyId
in: query
required: false
description: Only the alerts of this strategy (an `id` from `/v1/strategies`).
schema:
type: string
- name: coin
in: query
required: false
description: Only alerts on this coin (`BTC`, `ETHUSDT`).
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'400':
description: '`invalid_request`: A parameter is missing, unknown or out of range. `details` names it.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: '`missing_api_key`: No API key was sent. Send it as `Authorization: Bearer tspy_…` or `X-API-Key`. `invalid_api_key`: The key does not exist, was revoked, or its account is closed.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: '`plan_not_included`: The account’s plan does not include API access. `ip_not_allowed`: The key only works from the IP addresses set on it; this request came from another one. `origin_not_allowed`: The key only works from the websites set on it; this request named another website, or none. `strategies_not_allowed`: The key may not read your strategies. Switch that on in the key’s settings.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: '`not_found`: No such endpoint, or the record (signal, trader) does not exist. `no_data`: TraderSpy has no data for that symbol or timeframe.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: '`rate_limited`: More than the per-minute limit. Wait `Retry-After` seconds. `daily_limit_reached`: The plan’s calls for this UTC day are used. Resets at 00:00 UTC. `key_daily_limit_reached`: The key’s own daily cap is used (the account may have calls left). Resets at 00:00 UTC.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: '`internal_error`: Something failed on our side. Quote the `requestId` to support.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: '`service_unavailable`: A data source did not answer in time. Retry after `Retry-After` seconds; the call was not counted.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
- requestId
properties:
code:
type: string
enum:
- invalid_request
- missing_api_key
- invalid_api_key
- plan_not_included
- ip_not_allowed
- origin_not_allowed
- strategies_not_allowed
- not_found
- no_data
- rate_limited
- daily_limit_reached
- key_daily_limit_reached
- body_too_large
- internal_error
- service_unavailable
message:
type: string
requestId:
type: string
details:
type: array
items:
type: object
properties:
param:
type: string
message:
type: string
securitySchemes:
bearerKey:
type: http
scheme: bearer
description: '`Authorization: Bearer tspy_…`. Never in the URL.'
headerKey:
type: apiKey
in: header
name: X-API-Key
description: The same key in its own header.