{"uid":"cap_5xoKS0MnpEkktGuKWDIDX","slug":"bags-agent-api-index-bcfeba92","name":"BAGS Agent API Index","description":"BAGS Agent API index — machine-readable directory of the agentic payment API, MCP server, and x402 payment surface.","url":"https://staging.getbags.app/api/v1","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XYy9s7s64p8LI1oF8ftv6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a machine-readable directory of the BAGS agentic payment API, MCP server, and x402 payment surface endpoints.","exampleAgentPrompt":"Show me the BAGS Agent API directory so I can see all available agentic payment endpoints and the x402 payment surface.","exampleUseCases":[{"title":"Discover available payment actions","prompt":"What payment actions can I take with the BAGS API? Show me the full index of endpoints so I can figure out how to send a USDC payment from my agent."},{"title":"Explore MCP server capabilities","prompt":"I'm setting up an AI agent that uses the BAGS MCP server — can you pull the API index so I can see what tools and routes are available?"},{"title":"Bootstrap x402 integration","prompt":"I want to integrate x402 payments into my app using BAGS — fetch the API directory so I know what endpoints exist and what the payment surface looks like."}],"resultDescription":"A machine-readable JSON directory listing the available routes, capabilities, MCP server details, and x402 payment surface exposed by the BAGS agentic payment API.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:33:25.207Z","isFirstParty":false}