POST
https://www.brainiac.software/api/v1/crypto-prices/spot$0.001 USDCCrypto spot price
Return a USD spot price for a crypto ticker by comparing Chainlink Data Feeds on Base and the Coinbase Exchange public ticker.
Body
| Field | Required | Notes |
|---|---|---|
symbol | Yes | string |
quote | No | string |
Request exampleJSON
{
"symbol": "BTC"
}Response exampleJSON
{
"status": "complete",
"retrievedAt": "2026-11-20T21:36:20.000Z",
"symbol": "BTC",
"quote": "USD",
"price": "58718.89",
"agree": "pass",
"differencePct": 0.04,
"change24hPct": -4.47,
"volume24h": "23253.21341197",
"sources": [
{
"name": "chainlink",
"network": "base",
"feed": "BTC / USD",
"proxy": "0x0000000000000000000000000000000000000001",
"price": "58740.12",
"updatedAt": "2026-11-20T21:35:00.000Z",
"decimals": 8
},
{
"name": "coinbase",
"productId": "BTC-USD",
"price": "58718.89",
"bid": "58718.89",
"ask": "58718.90",
"time": "2026-11-20T21:36:20.000Z"
}
],
"unavailable": [],
"missing_items": [],
"agreeThresholdPct": 1
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/crypto-prices/spot" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"symbol": "BTC"
}
JSONPOST
https://www.brainiac.software/api/v1/crypto-prices/history$0.002 USDCCrypto price history
Historical USD prices for a crypto ticker such as BTC, ETH, or SOL from Chainlink Data Feeds on Base.
Body
| Field | Required | Notes |
|---|---|---|
symbol | Yes | string |
quote | No | string |
days | No | integer |
cursor | No | string |
Request exampleJSON
{
"symbol": "ETH",
"days": 30
}Response exampleJSON
{
"status": "complete",
"data": {
"symbol": "ETH",
"quote": "USD",
"days": 30,
"first": "3120.12",
"last": "3045.55",
"high": "3350.01",
"low": "2890.40",
"changePct": "-2.3901",
"points": [
{
"time": "2026-10-21T12:00:00.000Z",
"price": "3120.12",
"roundId": "18446744073709552000"
},
{
"time": "2026-11-20T12:00:00.000Z",
"price": "3045.55",
"roundId": "18446744073709553000"
}
],
"asOf": "2026-11-20T22:40:00.000Z",
"limitation": "On-chain aggregator rounds, not exchange OHLCV or volume. first/last/high/low/changePct are derived from the official"
},
"nextCursor": null,
"progress": {
"processed": 0,
"total": null,
"unit": "items",
"scannedRange": null
},
"sources": [],
"missing_items": [],
"limitations": []
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/crypto-prices/history" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"symbol": "ETH",
"days": 30
}
JSON