# DeGov Agent API – Get Proposal by ID

> DeGov Agent API – Get Proposal by ID is a paid API for AI agents from agent-api.degov.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Retrieves detailed machine-readable data for a specific DAO governance proposal by its proposal ID

## Facts

- Endpoint: GET https://agent-api.degov.ai/v2/proposals/%7BproposalId%7D
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/degov-agent-api-get-proposal-by-id-15101ea8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gRWR_50v-Y4pYG_LEAUWv

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 degov-agent-api-get-proposal-by-id-15101ea8
```

Example prompt: Can you pull up the full details for DAO governance proposal ID 0xabc123 — I want to know its current status, what it's proposing, and how the votes are shaking out?

## When to prefer this

Choose this endpoint when you need structured, machine-readable details for a single specific DAO governance proposal and already know the proposal ID. It is ideal for agents that need to report on, monitor, or analyze a particular proposal's status, text, or voting outcome without scanning across all proposals. Prefer it over broader listing endpoints when the proposal ID is known.

## Known failure modes

- Invalid or unknown proposalId returns a 404 or error response
- Missing or invalid payment (x402 USDC or API token) results in 402 Payment Required
- Malformed proposalId format causes a 400 Bad Request
- Network or upstream indexer unavailability may cause 503 or timeout
- Proposal data may lag slightly behind on-chain state depending on indexer sync

## How this service works

Machine-readable DAO governance data: DAOs, proposals, votes, voters, and governance forum topics. Paid endpoints settle per request via x402 (USDC on Base) or a partner token (`x-degov-api-token`).

## Output

A JSON object containing detailed information about the specified governance proposal, including its title, description, current status (active/passed/failed/queued), vote counts (for/against/abstain), proposer address, start and end block or timestamps, and any associated metadata or on-chain references.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/degov-agent-api-get-proposal-by-id-15101ea8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-api.degov.ai](https://www.zero.xyz/host/agent-api.degov.ai/llms.txt)
