# httpay.xyz API Gateway: Dune Analytics

> httpay.xyz API Gateway: Dune Analytics is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-08).

Proxies requests to the Dune Analytics API through a pay-per-call x402 gateway, enabling blockchain data queries and analytics.

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/dune/%7B*path%7D/*
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-08
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-fe1d41cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nGaFLAWHnlkZxcd_MoZ4U

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 httpay-xyz-fe1d41cb -d '<json body>'
```

Example prompt: Can you query Dune Analytics for the latest daily trading volume on Uniswap V3 using query ID 1234567 and return the results?

## When to prefer this

Use this endpoint when an agent needs programmatic access to Dune Analytics on-chain data without managing a Dune API key directly, and when per-call micropayment billing via x402 is acceptable. Ideal for ad-hoc blockchain analytics queries in agentic workflows where Dune's SQL-based on-chain dataset access is required.

## Known failure modes

- Invalid or non-existent Dune query ID returns a 404 or error from upstream
- Payment not fulfilled results in 402 response and request not forwarded
- Dune Analytics upstream rate limit or outage causes 5xx errors
- Malformed path parameter results in routing failure
- Expired or pending Dune query execution returns incomplete results

## How this service works

API Gateway: Dune Analytics API

## Output

Returns the raw JSON response from Dune Analytics API for the requested path — typically includes query execution results, rows of on-chain data, metrics, or dataset records depending on the Dune endpoint called.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-fe1d41cb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
