# x402-free-Hub Governance Treasury Endpoint

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

Retrieves treasury-related governance data for a given Snapshot space, such as proposals, votes, and financial governance activity.

## Facts

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

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-free-hub-governance-treasury-endpoint-ad5f5239 -d '<json body>'
```

Example prompt: Can you pull the treasury governance data for the 'ens.eth' Snapshot space — give me the first 10 results?

## When to prefer this

Use this endpoint when you need structured treasury governance data from a specific Snapshot space and want a pay-per-call model via x402 micropayments rather than managing a Snapshot API key or running your own subgraph queries.

## Known failure modes

- Missing required spaceId returns a 400 validation error
- Invalid or non-existent Snapshot space ID returns empty results or a 404-like error
- Payment of 0.1 USDC not provided returns a 402 Payment Required response
- Upstream Snapshot API unavailable causes a 503 or timeout
- Rate limiting or node congestion may cause delayed responses

## How this service works

12 paid endpoints - Yield, Governance, Sentiment (all free APIs)

## Output

Returns treasury-related governance data for the specified Snapshot space, including proposals and related governance records, limited by the optional 'first' count parameter.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "spaceId"
 ],
 "properties": {
  "first": {
   "type": "number"
  },
  "spaceId": {
   "type": "string",
   "description": "Snapshot space ID (e.g. 'ens.eth')"
  }
 }
}
```

## More

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