market2000.xyz
Price History — returns OHLC candlestick bars for any ticker and date range. Data is fetched from yfinance on first request and cached locally. Supports daily and intraday timeframes. HOW TO CALL: POST /get_price_history?ticker=AAPL&start_date=2024-01-02&end_date=2024-03-01 PARAMETERS: ticker — asset symbol (e.g. AAPL, BTC-USD, SPY, QQQ) start_date — inclusive start date (YYYY-MM-DD)
- Price per call
- $0.005
- Chain
- Base
- Method
- POST
- Paid calls · 30 days
- 0
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://market2000.xyz/get_price_history", { method: "POST" });
console.log(await res.json());https://market2000.xyz/get_price_history