# BAGS Agent API Index

> BAGS Agent API Index is a paid API for AI agents from staging.getbags.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns a machine-readable directory of the BAGS agentic payment API, MCP server, and x402 payment surface endpoints.

## Facts

- Endpoint: GET https://staging.getbags.app/api/v1
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bags-agent-api-index-bcfeba92
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5xoKS0MnpEkktGuKWDIDX

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 bags-agent-api-index-bcfeba92
```

Example prompt: Show me the BAGS Agent API directory so I can see all available agentic payment endpoints and the x402 payment surface.

## When to prefer this

Use this endpoint when an AI agent needs to discover what capabilities the BAGS agentic payment API exposes before making specific payment calls, or when bootstrapping an x402 payment integration and needing a machine-readable map of available routes and the MCP server surface.

## Known failure modes

- 402 Payment Required if x402 payment of $0.01 USDC is not included in the request
- 503 Service Unavailable if the staging server is down or under maintenance
- Empty or partial directory if the API is in an incomplete staging state
- Timeout if the server is slow to respond on the staging environment

## How this service works

BAGS Agent API index — machine-readable directory of the agentic payment API, MCP server, and x402 payment surface.

## Output

A machine-readable JSON directory listing the available routes, capabilities, MCP server details, and x402 payment surface exposed by the BAGS agentic payment API.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bags-agent-api-index-bcfeba92/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from staging.getbags.app](https://www.zero.xyz/host/staging.getbags.app/llms.txt)
