---
title: "BigQuery spend ledger"
method: GET
path: "/v1/chain/bq-spend"
---

# BigQuery spend ledger

`GET /v1/chain/bq-spend`

## Request

- Base URL: `https://api.onvexia.com`
- URL: `https://api.onvexia.com/v1/chain/bq-spend`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in header `Authorization`
  - API key in header `X-PAYMENT`

What the on-chain backfills actually cost, by month. Every query is dry-run costed before it runs.

## Response `200`

OK

## Other responses

- `402`: Payment required (x402): no account needed, pay per call
- `404`: Not found, or metric registered but not yet served (the body names it)

---

[API](https://skmtc.dev/onvexia/apis/onvexia-crypto-sentiment-whale-tracking-onchain-analytics-ap.md) · [All operations](https://skmtc.dev/onvexia/apis/onvexia-crypto-sentiment-whale-tracking-onchain-analytics-ap/llms.txt) · [OpenAPI document](https://skmtc.dev/onvexia/apis/onvexia-crypto-sentiment-whale-tracking-onchain-analytics-ap/revisions/7619665fc084?raw)
