73trust / 100
Ohlcv Bitcoin
by x402.asterpay.io in Markets & finance
x402 APIPassing, checked 3 h ago
Get OHLCV candlestick data for charting and analysis
GET https://x402.asterpay.io/v1/market/ohlcv/bitcoin
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 203 ms typical, 203 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.asterpay.io/v1/market/ohlcv/bitcoin?interval=1h&limit=24&symbol=ethereum"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.asterpay.io%2Fv1%2Fmarket%2Fohlcv%2Fbitcoin
const res = await pay("https://x402.asterpay.io/v1/market/ohlcv/bitcoin?interval=1h&limit=24&symbol=ethereum");
console.log(await res.json());Example input
{
"interval": "1h",
"limit": "24",
"symbol": "ethereum"
}Example output
{
"candles": [
{
"close": 3465,
"high": 3480,
"low": 3420,
"open": 3450,
"timestamp": "2026-02-01T11:00:00Z",
"volume": 125000000
}
],
"interval": "1h",
"symbol": "ethereum"
}Security scan
- Charges more than its listed price in payment
Listed at $0.01, charges $0.015
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 451 ms | $0.015 |
| 8 h ago | Passed | 402 | 203 ms | $0.01 |
History
| 11 Oct 2026 | Price changed from $0.01 to $0.015 |