Backtesting Arena Live Subscriptions API
Polling + Webhook-Push notifications for state changes (Signal-Alert, Cycle-Band, Pulse-Score, Bullmarket-Stage). [API Pro tier and up — 3 active for Pro, 20 for Power]
Polling + Webhook-Push notifications for state changes (Signal-Alert, Cycle-Band, Pulse-Score, Bullmarket-Stage). [API Pro tier and up — 3 active for Pro, 20 for Power]
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/tradingstrategies-work:tradingstrategies-work-live-subscriptions-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: Backtesting Arena — Public Live Subscriptions API
description: 'Battle-tested market intelligence for humans and AI agents — every claim backtested, versioned, and explainable. Evidence and base rates, never financial advice.
**No execution, no custody:** No tool on this server can place an order, access an exchange account, or take a position — the platform holds no custody and executes no trades. Writes are limited to alert subscriptions and saved backtests; paid endpoints charge a fixed, pre-quoted per-call fee and nothing else.
Programmatic access to daily Bitcoin/crypto cycle scoring, on-chain indicators, aggregated strategy/sentiment insights, and on-demand backtests. Three channels:
- **REST** — Bearer-Token-Auth, this spec. Available now.
- **MCP** — same Bearer-Tokens, 104 tools at https://tradingstrategies.work/api/mcp. Available now.
- **x402** — pay-per-call USDC on Base, no account. 28 endpoints under /api/v1/agent/* from $0.01-$0.50. Available now.
**Your agent can produce, not just consume:** every authenticated backtest (POST /api/v1/backtests/run, MCP arena_run_backtest) is persisted and feeds the public evidence library (Strategy Insights, Edge Library, sentiment) — agent runs count exactly like human runs. x402-anonymous runs stay ephemeral.
Tiers: Free / API Pro €9,99/Mo / API Power €29,99/Mo. Live-Subscriptions (signal alerts, cycle changes, etc.) push updates via polling or webhook. Get a Free-tier key at /dashboard/account/api-keys (no credit-card required).'
version: 1.0.0
contact:
name: Backtesting Arena
url: https://tradingstrategies.work
email: info@tradingstrategies.work
license:
name: See terms
url: https://tradingstrategies.work/agb
x-logo:
url: https://tradingstrategies.work/og-image.png
servers:
- url: https://tradingstrategies.work
description: Production
tags:
- name: Live-Subscriptions
description: Polling + Webhook-Push notifications for state changes (Signal-Alert, Cycle-Band, Pulse-Score, Bullmarket-Stage). [API Pro tier and up — 3 active for Pro, 20 for Power]
paths:
/api/v1/subscriptions:
get:
summary: List active subscriptions
description: Returns active Live-Subscriptions for the current API key. [API Pro tier]
operationId: getV1Subscriptions
tags:
- Live-Subscriptions
security:
- bearerAuth: []
responses:
'200':
description: Active subscriptions.
content:
application/json:
schema:
type: object
properties:
subscriptions:
type: array
items:
$ref: '#/components/schemas/LiveSubscription'
tier:
$ref: '#/components/schemas/TierEnum'
'400':
description: Invalid input — fehlt Pflichtfeld oder Wert außerhalb des erlaubten Bereichs.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Unauthenticated — kein gültiger Bearer-Token im Authorization-Header.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Tier-Insufficient — Endpoint braucht höheren API-Tier. Response enthält upgrade_url.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Not-Found — Resource existiert nicht oder gehört nicht dem aktuellen User.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate-Limit überschritten — Tier-Quota (hourly/daily) oder Per-Endpoint-Quota erreicht. Retry-After-Header gesetzt.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal Error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: Upstream-Failure — Datenquelle nicht erreichbar (Binance, EODHD, etc.).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-min-tier: api_pro
/api/v1/subscriptions/updates:
get:
summary: Fetch pending subscription updates (polling)
description: Returns all undelivered updates for the API key, then marks them as delivered. Call regularly to consume the polling queue. Idempotent — subsequent calls return remaining undelivered only. [API Pro tier]
operationId: getV1SubscriptionUpdates
tags:
- Live-Subscriptions
security:
- bearerAuth: []
responses:
'200':
description: Pending updates.
content:
application/json:
schema:
type: object
properties:
updates:
type: array
items:
$ref: '#/components/schemas/SubscriptionUpdate'
tier:
$ref: '#/components/schemas/TierEnum'
'400':
description: Invalid input — fehlt Pflichtfeld oder Wert außerhalb des erlaubten Bereichs.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Unauthenticated — kein gültiger Bearer-Token im Authorization-Header.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Tier-Insufficient — Endpoint braucht höheren API-Tier. Response enthält upgrade_url.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Not-Found — Resource existiert nicht oder gehört nicht dem aktuellen User.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate-Limit überschritten — Tier-Quota (hourly/daily) oder Per-Endpoint-Quota erreicht. Retry-After-Header gesetzt.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal Error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: Upstream-Failure — Datenquelle nicht erreichbar (Binance, EODHD, etc.).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-min-tier: api_pro
/api/v1/subscriptions/{id}:
delete:
summary: Cancel a subscription
description: Idempotent. Sets active=false; updates stop firing. [API Pro tier]
operationId: deleteV1Subscription
tags:
- Live-Subscriptions
security:
- bearerAuth: []
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Cancelled.
'400':
description: Invalid input — fehlt Pflichtfeld oder Wert außerhalb des erlaubten Bereichs.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Unauthenticated — kein gültiger Bearer-Token im Authorization-Header.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Tier-Insufficient — Endpoint braucht höheren API-Tier. Response enthält upgrade_url.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Subscription not found.
'429':
description: Rate-Limit überschritten — Tier-Quota (hourly/daily) oder Per-Endpoint-Quota erreicht. Retry-After-Header gesetzt.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal Error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: Upstream-Failure — Datenquelle nicht erreichbar (Binance, EODHD, etc.).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-min-tier: api_pro
/api/v1/subscriptions/signal-alert:
post:
summary: Subscribe to strategy signal alerts
description: Fires when an existing Ampel-Config's `last_signal` changes (BUY ↔ SELL). User must first create the Ampel via Web `/dashboard/ampel`, then reference its UUID. [API Pro tier — Pro 3 active, Power 20]
operationId: postV1SubscriptionsSignalAlert
tags:
- Live-Subscriptions
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- ampel_config_id
properties:
ampel_config_id:
type: string
format: uuid
description: Existing ampel_config UUID from the same user.
signal_types:
type: array
items:
type: string
enum:
- BUY
- SELL
description: Optional filter.
delivery_method:
type: string
enum:
- polling
- webhook
default: polling
webhook_url:
type: string
format: uri
description: HTTPS-only. Required when delivery_method=webhook.
expires_at:
type: string
format: date-time
description: ISO timestamp; subscription auto-deactivates after.
responses:
'201':
description: Subscription created.
content:
application/json:
schema:
type: object
properties:
subscription:
$ref: '#/components/schemas/LiveSubscription'
'400':
description: Invalid input — fehlt Pflichtfeld oder Wert außerhalb des erlaubten Bereichs.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Unauthenticated — kein gültiger Bearer-Token im Authorization-Header.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Tier-Insufficient — Endpoint braucht höheren API-Tier. Response enthält upgrade_url.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Not-Found — Resource existiert nicht oder gehört nicht dem aktuellen User.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate-Limit überschritten — Tier-Quota (hourly/daily) oder Per-Endpoint-Quota erreicht. Retry-After-Header gesetzt.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal Error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: Upstream-Failure — Datenquelle nicht erreichbar (Binance, EODHD, etc.).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-min-tier: api_pro
/api/v1/subscriptions/cycle-band:
post:
summary: Subscribe to BTC cycle band changes
description: Fires when the BTC-Cycle band changes (capitulation → risk-off → neutral → constructive → euphoric). Optional `bands` filter restricts to specific targets. [API Pro tier]
operationId: postV1SubscriptionsCycleBand
tags:
- Live-Subscriptions
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
bands:
type: array
items:
type: string
description: 'Filter target bands. Default: any change triggers.'
delivery_method:
type: string
enum:
- polling
- webhook
default: polling
webhook_url:
type: string
format: uri
description: HTTPS-only. Required when delivery_method=webhook.
expires_at:
type: string
format: date-time
description: ISO timestamp; subscription auto-deactivates after.
responses:
'201':
description: Subscription created.
'400':
description: Invalid input — fehlt Pflichtfeld oder Wert außerhalb des erlaubten Bereichs.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Unauthenticated — kein gültiger Bearer-Token im Authorization-Header.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Tier-Insufficient — Endpoint braucht höheren API-Tier. Response enthält upgrade_url.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Not-Found — Resource existiert nicht oder gehört nicht dem aktuellen User.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate-Limit überschritten — Tier-Quota (hourly/daily) oder Per-Endpoint-Quota erreicht. Retry-After-Header gesetzt.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal Error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: Upstream-Failure — Datenquelle nicht erreichbar (Binance, EODHD, etc.).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-min-tier: api_pro
/api/v1/subscriptions/pulse-score:
post:
summary: Subscribe to Arena-Pulse threshold crossings
description: Fires when daily 0-100 score crosses `threshold_above` (up) or `threshold_below` (down). At least one threshold required. [API Pro tier]
operationId: postV1SubscriptionsPulseScore
tags:
- Live-Subscriptions
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
threshold_above:
type: number
minimum: 0
maximum: 100
threshold_below:
type: number
minimum: 0
maximum: 100
delivery_method:
type: string
enum:
- polling
- webhook
default: polling
webhook_url:
type: string
format: uri
description: HTTPS-only. Required when delivery_method=webhook.
expires_at:
type: string
format: date-time
description: ISO timestamp; subscription auto-deactivates after.
responses:
'201':
description: Subscription created.
'400':
description: Invalid input — fehlt Pflichtfeld oder Wert außerhalb des erlaubten Bereichs.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Unauthenticated — kein gültiger Bearer-Token im Authorization-Header.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Tier-Insufficient — Endpoint braucht höheren API-Tier. Response enthält upgrade_url.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Not-Found — Resource existiert nicht oder gehört nicht dem aktuellen User.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate-Limit überschritten — Tier-Quota (hourly/daily) oder Per-Endpoint-Quota erreicht. Retry-After-Header gesetzt.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal Error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: Upstream-Failure — Datenquelle nicht erreichbar (Binance, EODHD, etc.).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-min-tier: api_pro
/api/v1/subscriptions/bullmarket-stage:
post:
summary: Subscribe to Bullmarket-Ampel stage changes
description: Fires when active stage count (0-5) changes. Optional `direction` (up/down/any) + `stages` filter. [API Pro tier]
operationId: postV1SubscriptionsBullmarketStage
tags:
- Live-Subscriptions
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
direction:
type: string
enum:
- up
- down
- any
default: any
stages:
type: array
items:
type: integer
minimum: 0
maximum: 5
delivery_method:
type: string
enum:
- polling
- webhook
default: polling
webhook_url:
type: string
format: uri
description: HTTPS-only. Required when delivery_method=webhook.
expires_at:
type: string
format: date-time
description: ISO timestamp; subscription auto-deactivates after.
responses:
'201':
description: Subscription created.
'400':
description: Invalid input — fehlt Pflichtfeld oder Wert außerhalb des erlaubten Bereichs.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Unauthenticated — kein gültiger Bearer-Token im Authorization-Header.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Tier-Insufficient — Endpoint braucht höheren API-Tier. Response enthält upgrade_url.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Not-Found — Resource existiert nicht oder gehört nicht dem aktuellen User.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate-Limit überschritten — Tier-Quota (hourly/daily) oder Per-Endpoint-Quota erreicht. Retry-After-Header gesetzt.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal Error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'503':
description: Upstream-Failure — Datenquelle nicht erreichbar (Binance, EODHD, etc.).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-min-tier: api_pro
components:
schemas:
SubscriptionUpdate:
type: object
required:
- id
- subscription_id
- subscription_type
- payload
- created_at
properties:
id:
type: integer
subscription_id:
type: string
format: uuid
subscription_type:
type: string
enum:
- signal_alert
- cycle_band
- pulse_score
- bullmarket_stage
payload:
type: object
additionalProperties: true
created_at:
type: string
format: date-time
LiveSubscription:
type: object
required:
- id
- api_key_id
- subscription_type
- config
- delivery_method
- active
- created_at
properties:
id:
type: string
format: uuid
api_key_id:
type: string
format: uuid
subscription_type:
type: string
enum:
- signal_alert
- cycle_band
- pulse_score
- bullmarket_stage
config:
type: object
additionalProperties: true
delivery_method:
type: string
enum:
- polling
- webhook
webhook_url:
type:
- string
- 'null'
format: uri
active:
type: boolean
expires_at:
type:
- string
- 'null'
format: date-time
created_at:
type: string
format: date-time
last_triggered_at:
type:
- string
- 'null'
format: date-time
last_state:
type:
- object
- 'null'
additionalProperties: true
ErrorResponse:
type: object
required:
- error
- message
properties:
error:
type: string
enum:
- invalid_input
- unauthenticated
- tier_insufficient
- not_found
- rate_limited
- upstream_failed
- compute_failed
- internal
description: Stable error-code; map to client-side handling.
message:
type: string
description: Human-readable error message.
required_tier:
type:
- string
- 'null'
enum:
- api_pro
- api_power
- null
current_tier:
type:
- string
- 'null'
enum:
- free
- api_pro
- api_power
- null
upgrade_url:
type:
- string
- 'null'
format: uri
retry_after_seconds:
type:
- integer
- 'null'
details:
type:
- object
- 'null'
additionalProperties: true
TierEnum:
type: string
enum:
- free
- api_pro
- api_power
description: Echo des aktuellen Tier des aufrufenden API-Keys.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: API-Key
description: Get a Free-tier key at https://tradingstrategies.work/dashboard/account/api-keys
externalDocs:
description: Developer landing + curl examples
url: https://tradingstrategies.work/api