# AgentBodega Public Data Catalog

> AgentBodega Public Data Catalog is a paid API for AI agents from agentbodega.store, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-23).

Returns a catalog of available public-data API endpoints on AgentBodega, including their names, pricing modes, and categories.

## Facts

- Endpoint: POST https://agentbodega.store/api/public-data/catalog?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentbodega-public-data-catalog-1db7d6c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mwe4pJxSVrVgPRBJHZFLz

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 agentbodega-public-data-catalog-1db7d6c5 -d '<json body>'
```

Example prompt: Show me the full catalog of public-data endpoints available on AgentBodega — I want to see which categories exist, how many APIs are in each, and what pricing modes they use.

## When to prefer this

Use this endpoint when an agent needs to discover which public-data APIs are available on AgentBodega before deciding which specific endpoint to call. It is the right first step in a dynamic workflow where the agent doesn't know in advance which data sources exist. Prefer it over hardcoding endpoint names, especially when AgentBodega's catalog may change over time.

## Known failure modes

- Payment not included or invalid x402 payment header — endpoint returns 402 Payment Required
- POST body malformed — may return 400 Bad Request
- No endpoints currently published — catalog arrays may be empty
- Service unavailable — 500 or timeout if AgentBodega infrastructure is down

## How this service works

Return AgentBodega's Public Data department offerings grouped by category with full input/output schemas, prices, route paths, and workflow guidance.

## Output

A JSON object containing an array of available endpoint descriptors (each with a name, dynamic or fixed price mode, and category), an array of category summaries with counts, and a department object identifying the AgentBodega Public Data Department.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "fields": [
      {
       "name": "query",
       "type": "string",
       "required": false
      },
      {
       "name": "category",
       "type": "string",
       "required": false
      },
      {
       "name": "name",
       "type": "string",
       "required": false
      },
      {
       "name": "includeSchemas",
       "type": "boolean",
       "required": false
      },
      {
       "name": "limit",
       "type": "integer",
       "required": false
      }
     ],
     "required": [],
     "fieldCount": 5,
     "contentType": "application/json",
     "optionalPreview": [
      "query",
      "category",
      "name",
      "includeSchemas",
      "limit"
     ],
     "omittedFieldCount": 0
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "endpoints": [
   {
    "name": "osha-violations-scraper",
    "price": {
     "mode": "dynamic"
    },
    "category": "public-records"
   }
  ],
  "categories": [
   {
    "count": 3,
    "category": "public-records"
   }
  ],
  "department": {
   "name": "AgentBodega Public Data Department",
   "department": "Public Data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentbodega-public-data-catalog-1db7d6c5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentbodega.store](https://www.zero.xyz/host/agentbodega.store/llms.txt)
