# x402 Data Hub v2 — Treasury Governance Endpoint

> x402 Data Hub v2 — Treasury Governance Endpoint is a paid API for AI agents from data-hub-x402.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-11).

Returns on-chain treasury and governance data for crypto protocols, accessible via a paid x402 micropayment API

## Facts

- Endpoint: POST https://data-hub-x402.vercel.app/api/gov/treasury?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-data-hub-v2-treasury-governance-endpoint-1d5c6bfd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_B2HZIDr1-r1VwOhth9QhH

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 x402-data-hub-v2-treasury-governance-endpoint-1d5c6bfd -d '<json body>'
```

Example prompt: Pull the latest treasury and governance data for Uniswap from the x402 Data Hub — I want to see current treasury holdings and any active governance proposals.

## When to prefer this

Choose this endpoint when you need on-chain treasury and governance data for a specific DeFi protocol or DAO and are comfortable with x402 micropayment-based access at $0.1 USDC per call. It is suitable for agents querying governance metrics programmatically without building their own blockchain indexing infrastructure.

## Known failure modes

- Invalid or unsupported protocol identifier returns an error or empty result
- Payment of 0.1 USDC not received or x402 payment header malformed causes 402 Payment Required response
- Chain or governance contract not indexed results in empty data
- Rate limiting or Vercel cold-start latency causing timeouts
- Stale or delayed on-chain data if indexer is behind

## How this service works

16 paid endpoints - Crypto, Exchange, Yield, Governance, Sentiment

## Output

Returns structured JSON containing treasury balance details, asset holdings, and governance proposal data (proposal IDs, voting metrics, status) for the queried protocol, sourced from on-chain data.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-data-hub-v2-treasury-governance-endpoint-1d5c6bfd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data-hub-x402.vercel.app](https://www.zero.xyz/host/data-hub-x402.vercel.app/llms.txt)
