# x402 Bazaar Rank – Government Data Services

> x402 Bazaar Rank – Government Data Services is a paid API for AI agents from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev, paid per call via x402, $0.032/call, status unknown (last checked 2026-10-22).

Returns a ranked list of top x402 micropayment services tagged 'government-data', ordered by 30-day paying wallets and call volume, with a signed snapshot receipt.

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/in-government-data?utm_source=zero.xyz
- Price: $0.032/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-bazaar-rank-government-data-services-87ad8820
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OncgT09GBc2HrvhCwszT8

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-bazaar-rank-government-data-services-87ad8820
```

Example prompt: Show me the top government data services on the x402 bazaar ranked by how many unique wallets paid for them in the last 30 days, including their call counts and prices.

## When to prefer this

Use this endpoint when you specifically need to discover x402 micropayment-compatible government or civic data services ranked by real-world adoption (paying wallets and call volume). Prefer it over generic API directories when you want verifiable usage signals and on-chain payment compatibility. Choose it over other x402 Bazaar Rank routes when your focus is specifically government, public sector, or civic open-data services.

## Known failure modes

- No services indexed under 'government-data' tag returns count:0 with empty services array
- Worker downtime or cold-start timeout returns 5xx error
- Stale snapshot if indexer has not refreshed recently, indicated by old generatedAt timestamp
- Malformed query parameters return 400-level error
- Fewer than 25 results if fewer than 25 services are indexed in this category

## How this service works

An open index of the machine-to-machine (agent) economy. x402 routes: ranked discovery over the live x402 service market, every indexed service scored by real 30-day calls and paying-wallet bounds, with a receipt naming the snapshot hash and scoring revision. /economy routes, for Tempo MPP, Virtuals ACP, Olas, Masumi, ERC-8004 agent registries, Solana agent registries, Base agent contracts and MCP servers (Official MCP Registry): each protocol's published figures (agent or server counts, transactions or payment events; payers and USD volume only where the source publishes them: payers for x402 and Tempo MPP, USD volume for x402 and Virtuals ACP), each with its unit, window and source; units differ, so totals are not summed. L402 and per-service MPP listings are not covered.

## Output

A JSON object containing a ranked array of up to 25 government-data-tagged x402 services, each with name, blockchain network (e.g. eip155:8453), 30-day call count, price in USD, resource URL, and unique paying wallets in the last 30 days. Also includes query metadata (operator, limit, matched count), the route used, a snapshot hash, scoring revision, and ISO timestamp of when the snapshot was generated.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 25,
  "query": {
   "by": "payers",
   "op": "top",
   "limit": 25,
   "where": {
    "tag": "government-data"
   }
  },
  "route": "/in-government-data",
  "matched": 359,
  "services": [
   {
    "name": "forecast api",
    "network": "eip155:8453",
    "calls30d": 310,
    "priceUsd": 0.01,
    "resource": "https://api.example.com/forecast",
    "payers30d": 42
   }
  ],
  "declaredBy": "agent",
  "generatedAt": "2026-09-17T12:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-bazaar-rank-government-data-services-87ad8820/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev](https://www.zero.xyz/host/x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/llms.txt)
