Backtesting Arena On-Chain Series API
BRK (Bitcoin Research Kit) raw on-chain series. Full history from 2009-01-03 — MVRV, Realized Price, SOPR, NUPL, address-supply cohorts, mining metrics.
BRK (Bitcoin Research Kit) raw on-chain series. Full history from 2009-01-03 — MVRV, Realized Price, SOPR, NUPL, address-supply cohorts, mining metrics.
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-on-chain-series-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 On-Chain Series 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: On-Chain Series
description: BRK (Bitcoin Research Kit) raw on-chain series. Full history from 2009-01-03 — MVRV, Realized Price, SOPR, NUPL, address-supply cohorts, mining metrics.
paths:
/api/v1/onchain/series:
get:
summary: List available BRK on-chain series
description: 'Catalog der 78 BRK-Series (Gruppen: pilot, sentiment, mining, supply, cointime, activity, liquidity — MVRV, NUPL, SOPR, Realized Price, tx_count, transfer_volume_usd, etc.) mit id + label + group; Serien mit Kompositions-Brüchen (SegWit/Taproot/Ordinals) tragen composition_breaks[], semantisch heikle eine semantics_note. [Free tier]'
operationId: getV1OnchainSeriesList
tags:
- On-Chain Series
security:
- bearerAuth: []
responses:
'200':
description: Series 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/onchain/series/{id}/latest:
get:
summary: Latest on-chain series value
description: Most-recent daily value of the BRK series. [Free tier]
operationId: getV1OnchainSeriesLatest
tags:
- On-Chain Series
security:
- bearerAuth: []
parameters:
- name: id
in: path
required: true
schema:
type: string
description: Series id from /v1/onchain/series.
responses:
'200':
description: Latest value with as-of date.
'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: Unknown series id.
'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/onchain/series/{id}/history:
get:
summary: On-chain series history
description: Daily series (history to 2009-01-03). Window tier-clamped (Free 30d / Pro 365d / Power 3650d) — `from` earlier than the tier window is clamped, and the response carries a `range` block (requested_days, granted_days, clamped, clamp_reason, tier) so a clamped window announces itself. Series with composition breaks carry composition_breaks[]. [Free tier]
operationId: getV1OnchainSeriesHistory
tags:
- On-Chain Series
security:
- bearerAuth: []
parameters:
- name: id
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
responses:
'200':
description: Time-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: Unknown series id.
'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