MetaDuro API & Developer Hub
OpenAPI 3.0.3 REST / JSON Token Auth: Free · Pro · Adm

MetaDuro Financial Analytics API

Access cryptocurrency and stock seasonality, algorithmic strategy backtests, market anomaly scans, and execution automation programmatically. Designed for external quantitative developers and autonomous AI agents.

Base API Path: https://metaduro.com/api

1. Authentication & Rate Limits (Daily Usage Tokens)

Pass authentication API tokens via HTTP headers. Each metered analysis request deducts usage tokens from your daily allowance.

# Authentication Header (Bearer Token)
Authorization: Bearer mtd_live_your_token_here

# Alternative Header
X-API-Key: mtd_live_your_token_here
TierDaily AllowanceReset Time
free (Anonymous)10 tokens/day00:00 Europe/Berlin
plus (Registered)50 tokens/day00:00 Europe/Berlin
pro (Upgraded)100 tokens/day00:00 Europe/Berlin
adm (Admin)10,000 tokens/day00:00 Europe/Berlin

All API keys and browser sessions for an account share the daily balance. Check balance via GET /api/user/usage (unmetered, 0 tokens).

2. Time-Series & Financial Semantics

Strict quantitative standards ensure reproducible, backtest-ready data:

  • Symbol Uniformity: Format is ticker:exchange:interval (e.g. btcusd:coinbase:1D, spy:amex:1D).
  • UTC Timestamps: All candle intervals and session records are stored in UTC.
  • No Incomplete Candle Bias: Active, live-forming candles are excluded from backtests to avoid repainting artifacts.
  • Data Freshness & Caching: Cached historical data is served instantly. Pass dl=1 (pro tier) to download fresh bars from upstream exchange.
  • Boolean Handling: dl accepts 1, true, yes, on or integer bar count (e.g. dl=500).

3. Five Practical Developer Workflows

A. Find Supported Symbols
curl -s "https://metaduro.com/api/data/assets?search=btc"
B. Monthly & Weekday Seasonality
curl -s "https://metaduro.com/api/data/seasonality?s=btcusd:coinbase:1D&datet=month"
C. Read Saved Public Strategy
curl -s "https://metaduro.com/api/data/mystr/bitcoin-rsi-oversold-daily-u-btcrsi"
D. Run Custom Backtest (DSL)
curl -X POST "https://metaduro.com/api/data/str" \
  -H "Authorization: Bearer $MTD_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"s":"btcusd:coinbase:1D","o":[["rsi","<",30]],"c":[["rsi",">",70]],"sl":5,"tp":15,"bal":10000}'

Interactive OpenAPI Explorer

Direct testing interface with schema definitions