# Onvexia SQL Query — Blockchain Analytics

> Onvexia SQL Query — Blockchain Analytics is a paid API for AI agents from onvexia.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-17).

Execute SQL queries against Onvexia's blockchain analytics database covering thousands of assets, labelled addresses, and half a million analysed documents across ten chains.

## Facts

- Endpoint: POST https://onvexia.com/v1/sql
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/onvexia-sql-query-blockchain-analytics-5914cddf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xIR4QUcLZjqOGnKp9fLTz

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability onvexia-sql-query-blockchain-analytics-5914cddf -d '<json body>'
```

Example prompt: Run a SQL query against Onvexia's blockchain database to show me the labelled addresses and supply history for Ethereum from 2015 onward — give me the chain, address labels, and token age data.

## When to prefer this

Choose this endpoint when you need flexible, ad-hoc SQL-based querying over deep blockchain analytics data — especially when you need labelled addresses, historical supply data dating to 2008, or cross-chain asset analytics fused from document analysis. Prefer it over REST or GraphQL siblings when your query logic is complex, multi-dimensional, or requires aggregation across assets, chains, or time periods.

## Known failure modes

- Invalid or malformed SQL query returns an error response with no data rows
- Querying unsupported chains or assets returns empty data array
- Exceeding rate limits or quota returns a payment or 402 error
- Schema mismatch in the properties input field causes a 400-level error
- Network or service downtime returns a 5xx error

## How this service works

Thousands of assets across ten chains, half a million analysed documents, labelled addresses and supply-age history reaching back to 2008 — fused into one reading per asset. REST, SQL, GraphQL and MCP.

## Output

A JSON object with a 'data' array containing query result rows and a 'meta' object with documentation and endpoint references. Results reflect Onvexia's proprietary fusion of on-chain data, labelled addresses, supply-age history from 2008, and half a million analysed documents across ten blockchains.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [],
  "meta": {
   "docs": "https://onvexia.com/openapi.json",
   "endpoint": "/v1/sql"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onvexia-sql-query-blockchain-analytics-5914cddf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onvexia.com](https://www.zero.xyz/host/onvexia.com/llms.txt)
