Daily historical OHLCV data for cryptocurrencies via Alpha Vantage, pay-per-call over Tempo.
What it does
This endpoint returns daily open, high, low, close, and volume (OHLCV) data for a specified cryptocurrency priced in a chosen market currency (e.g., USD, EUR). It is part of a broader Alpha Vantage suite exposed through the Locus MPP (Micropayment Protocol) gateway, which wraps the upstream Alpha Vantage API and settles payments via Tempo L2 using pathUSD. Each call costs 8,000 base units of pathUSD (6 decimals), which equals $0.008 per request.
The endpoint accepts POST requests with a JSON body containing two required fields: `symbol` (the cryptocurrency ticker, e.g., "BTC", "ETH") and `market` (the fiat or quote currency, e.g., "USD"). The response format follows Alpha Vantage's standard Digital Currency Daily output, providing daily time-series data with OHLCV values. Output can be returned as JSON (default) or CSV.
This specific endpoint is one of 26 Alpha Vantage endpoints available through the Locus MPP gateway, covering equities, forex, crypto, commodities, economic indicators, technical analysis (SMA, EMA, MACD, RSI, Bollinger Bands), fundamentals (income statement, balance sheet, cash flow, earnings), and news sentiment. All endpoints share the same per-call price of $0.008. The probe returned 404 on HEAD/GET, which is expected since the endpoint requires POST; the OpenAPI spec confirms the POST method with a 402 payment challenge.
Capabilities
Use cases
- —Fetching daily historical price data for Bitcoin, Ethereum, or other cryptocurrencies for backtesting trading strategies
- —Building dashboards that display daily crypto price charts denominated in various fiat currencies
- —Feeding daily crypto OHLCV data into ML models for price prediction
- —Comparing cryptocurrency performance across different market currencies over time
Fit
Best for
- —Agents and bots that need on-demand crypto price history without API key management
- —Pay-per-call access to Alpha Vantage crypto data without a subscription
- —Automated pipelines that need daily-granularity cryptocurrency data
Not for
- —Real-time or sub-daily cryptocurrency price streaming (use intraday endpoints instead)
- —High-frequency trading requiring tick-level or order-book data
- —Users who already have an Alpha Vantage API key and prefer direct access
Quick start
curl -X POST https://alphavantage.mpp.paywithlocus.com/alphavantage/digital-currency-daily \
-H "Content-Type: application/json" \
-d '{"symbol": "BTC", "market": "USD"}'Example
Request
{
"market": "USD",
"symbol": "BTC"
}Endpoint
Quality
Full OpenAPI schema with clear request parameters and payment info is available. However, the probe did not capture a live 402 challenge (HEAD/GET returned 404 because the endpoint is POST-only), no response schema or example response is documented, and crawled pages returned only generic 404 messages. Price and method are well-defined from the OpenAPI spec.
Warnings
- —Probe returned 404 on HEAD and GET; endpoint is POST-only so liveness could not be confirmed via the probe's methods
- —No response schema or example response is provided in the OpenAPI spec
- —Currency address 0x20c000000000000000000000b9537d11c60e8b50 is assumed to be pathUSD with 6 decimals based on the Tempo settlement method; if decimals differ, the $0.008 price would be incorrect
- —Upstream Alpha Vantage data coverage and freshness depend on Alpha Vantage's own data pipeline
Citations
- —The endpoint accepts POST with required fields symbol and market, and costs 8000 base units via Tempo settlementhttps://alphavantage.mpp.paywithlocus.com
- —Alpha Vantage provides financial market data including stock prices, forex, crypto, commodities, economic indicators, technical analysis, and news sentimenthttps://www.alphavantage.co/documentation/"
- —Additional documentation available at the Locus MPP docs for Alpha Vantagehttps://beta.paywithlocus.com/mpp/alphavantage.md