# BAGS Agent API Index

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

Returns a machine-readable directory of the BAGS agentic payment API, MCP server endpoints, and x402 payment surfaces available on getbags.app

## Facts

- Endpoint: GET https://www.getbags.app/api/v1
- 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/bags-agent-api-index-b82ad7ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pb6BVujifbObyuDKpYalM

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-b82ad7ff
```

Example prompt: Can you pull up the BAGS agent API index so I can see what payment endpoints and MCP server surfaces are available on getbags.app?

## When to prefer this

Use this endpoint when an agent needs to discover what capabilities BAGS exposes before calling a specific BAGS endpoint, or when building a dynamic integration that needs to enumerate the BAGS x402 API surface programmatically. Prefer this over hardcoding endpoint paths.

## Known failure modes

- Payment not included or insufficient (x402 payment required, $0.01 USDC)
- Network timeout or service unavailability
- Malformed response if the index is being updated
- Rate limiting if called too frequently

## 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 directory listing the agentic payment API endpoints, MCP server details, and x402 payment surfaces available on the BAGS platform — enabling programmatic discovery of all callable BAGS capabilities.

## 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-b82ad7ff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.getbags.app](https://www.zero.xyz/host/www.getbags.app/llms.txt)
