BAGS Agent API

by BAGS Agent API

GETBaseBase Sepolia

$0.01

per call · USD Coin on Base

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

Endpoint

GET https://staging.getbags.app/api/v1

2

Calls / 30d

2

Unique payers / 30d

Aug 30

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://staging.getbags.app/api/v1", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://staging.getbags.app/api/v1" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "api_catalog": "https://staging.getbags.app/.well-known/api-catalog",
  "auth": "https://staging.getbags.app/auth.md",
  "documentation": "https://docs.getbags.app",
  "mcp_server": "https://staging.getbags.app/api/mcp/mcp",
  "name": "BAGS Agent API",
  "openapi": "https://staging.getbags.app/api/openapi.json",
  "version": "v1",
  "x402": {
    "agentic_payments": "https://docs.getbags.app/docs/providers/sell-to-agents",
    "discovery_challenge": "https://staging.getbags.app/api/v1",
    "protocol": "https://x402.org",
    "resource_pattern": "https://staging.getbags.app/api/agent/link/{paymentLinkId}"
  }
}

Payment details

Pay to0x94237cd4aa4afd784d6fa87feb1b6649816d8418
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Base Sepolia
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from BAGS Agent API & similar services