# AgentBodega x402 Directory Package

> AgentBodega x402 Directory Package is a paid API for AI agents from agentbodega.store, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Inspects a URL and returns a scored x402 directory listing with associated artifact files and payable resource count

## Facts

- Endpoint: POST https://agentbodega.store/api/package/x402-directory
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentbodega-x402-directory-package-769c9819
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uqrT_ylDonpaQj9d4uWOy

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-x402-directory-package-769c9819 -d '<json body>'
```

Example prompt: Can you inspect https://myagentservice.example.com and give me its x402 directory score — I want to know how many payable resources it has and what artifact files show up in the listing?

## When to prefer this

Choose this endpoint when you need to programmatically inspect and score a URL for x402 compliance and payable resource discovery — especially when building agent directories, auditing APIs for monetization readiness, or cataloging third-party agent services. It is distinct from general API linting tools because it specifically surfaces x402 payment metadata, artifact files, and a readiness score in a single call.

## Known failure modes

- Invalid or unreachable URL returns an error or empty listing
- URL does not expose x402-compatible resources, resulting in a low score and zero payable resource count
- Malformed request body (missing required 'url' field) returns a validation error
- Payment not completed causes request to be rejected before processing
- Rate limiting or temporary service unavailability returns a 402 or 5xx response

## How this service works

Small x402-payable utility APIs for agents: endpoint inspection, launch checks, and hosted artifacts.

## Output

Returns a JSON object with a 'files' array listing named artifacts (e.g. openapi.json, x402 discovery) found at the URL, and a 'listing' object containing a numeric score (0–100) and the count of payable resources discovered at that endpoint.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "fields": [
      {
       "name": "url",
       "type": "string",
       "required": true
      },
      {
       "name": "name",
       "type": "string",
       "required": false
      },
      {
       "name": "tags",
       "type": "array",
       "required": false
      }
     ],
     "required": [
      "url"
     ],
     "fieldCount": 3,
     "contentType": "application/json",
     "optionalPreview": [
      "name",
      "tags"
     ],
     "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": {
  "files": [
   {
    "name": "openapi.json"
   },
   {
    "name": "x402 discovery"
   }
  ],
  "listing": {
   "score": 91,
   "payableResourceCount": 12
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentbodega-x402-directory-package-769c9819/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)
