Backtesting Arena Bitcoin Charts API
21 editorial Bitcoin chart indicators (Mayer, MVRV, NUPL, SOPR, Puell, etc.) with methodology docs.
21 editorial Bitcoin chart indicators (Mayer, MVRV, NUPL, SOPR, Puell, etc.) with methodology docs.
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-bitcoin-charts-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 Bitcoin Charts 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: Bitcoin Charts
description: 21 editorial Bitcoin chart indicators (Mayer, MVRV, NUPL, SOPR, Puell, etc.) with methodology docs.
paths:
/api/v1/charts:
get:
summary: List Bitcoin chart indicators
description: Returns the catalog of ~23 editorial chart indicators (Mayer, MVRV, NUPL, SOPR, Puell, Pi-Cycle, Rainbow, Power-Law, 200WMA-Heatmap, HODL-Waves, Funding, Hash-Ribbons, Fear&Greed, ETF-Flows, Monthly-Returns, etc.) with slug + name + category. Each entry carries `has_api_series` (true ⇒ /charts/{slug}/latest+history return a time-series). Use the slug for /charts/{slug}/* sub-resources. [Free tier]
operationId: getV1ChartsList
tags:
- Bitcoin Charts
security:
- bearerAuth: []
responses:
'200':
description: Chart catalog.
'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: free
/api/v1/charts/{slug}/latest:
get:
summary: Get latest chart value
description: Most-recent data point as uniform multi-field payload `{ slug, kind, fields, date, ...values }`. `kind` ∈ metric|computed|table. Scalar charts expose one value field (e.g. `v`); multi-line charts several (e.g. hash-ribbons → ma30/ma60, rainbow → price/centerline/band, funding → per-exchange). MVRV-based slugs also include a `regime` label. Covers all `has_api_series` slugs. [Free tier]
operationId: getV1ChartLatest
tags:
- Bitcoin Charts
security:
- bearerAuth: []
parameters:
- name: slug
in: path
required: true
schema:
type: string
description: Chart slug from /v1/charts.
responses:
'200':
description: Latest indicator snapshot.
'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: free
/api/v1/charts/{slug}/history:
get:
summary: Get chart historical series
description: 'Time-series `{ slug, kind, fields, from, to, count, history: [{ date, ...fields }] }`. Uniform multi-field payload (see /latest). Daily charts honor `days`/`from`/`to` with tier-staggered range cap; monthly/yearly/projection charts (e.g. monthly-returns, cycle-overlay, yearly-lows) return their full natural window. `view` selects an alternative alignment where a chart offers one — currently cycle-overlay only: `view=halving` (one row per cycle and day since halving: cycle, day, multiple of the halving-day close) and `view=bear` (one row per bear market and day since the cycle high: cycle, day, drawdown_pct). Both return `kind=table` plus a `meta` block with the per-cycle summary (peak / trough, days, provisional flag for the open cycle) and the mechanical rule; the open cycle''s high is the highest close so far and is NOT a top signal. Any other slug rejects `view` with invalid_input. [Free tier]'
operationId: getV1ChartHistory
tags:
- Bitcoin Charts
security:
- bearerAuth: []
parameters:
- name: slug
in: path
required: true
schema:
type: string
- name: days
in: query
description: 'History-Window in Tagen. Tier-Cap: Free 30d, API Pro 365d, API Power 3650d. Über-Cap wird auf Cap geclampt (kein 400).'
schema:
type: integer
minimum: 1
default: 30
- name: view
in: query
required: false
schema:
type: string
enum:
- halving
- bear
description: 'Alternative alignment (cycle-overlay only): halving = days since halving, bear = days since cycle high. Omit for the default calendar projection.'
responses:
'200':
description: History series.
'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: free
/api/v1/charts/{slug}/methodology:
get:
summary: Get chart methodology document (DE+EN)
description: ~800-word methodology explanation in both DE and EN. Includes formula, signal interpretation, historical performance. [Free tier]
operationId: getV1ChartMethodology
tags:
- Bitcoin Charts
security:
- bearerAuth: []
parameters:
- name: slug
in: path
required: true
schema:
type: string
responses:
'200':
description: Methodology in both languages.
'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: free
components:
schemas:
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
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