BagsBags Docs

API Reference

BAGS Agent API — x402, payment links, products, and transactions.

Endpoint documentation for the BAGS Agent API at https://www.getbags.app. Prefer versioned paths under /api/v1/*.

OpenAPI source of truth: openapi.yaml.

Authentication

Authorization: Bearer bag_test_sk_your_key_here
Key typePrefixEnvironment
Testbag_test_sk_*Sandbox (no real money)
Livebag_live_sk_*Production

See Authentication.

Endpoints

Agent surfaces

SurfaceURL
MCPPOST /api/mcp/mcp
Auth skill/auth.md
Merchants skill/merchants.md

See Agents & MCP and Sell to agents.

On this page