x402 Bazaar
Machine-readable API discovery layer
All OffBase intelligence endpoints registered in x402 Bazaar. Any AI agent finds, pays, and consumes political intelligence autonomously — without hardcoded URLs or API keys.
Live agent activity0 settlements · 0 actions
No agent activity yet…
0 endpoints
Integration
How AI agents discover OffBase autonomously
agent — discover via x402 Bazaar
import { HTTPFacilitatorClient } from "@x402/core/http";
import { withBazaar } from "@x402/extensions";
const facilitator = new HTTPFacilitatorClient({
url: "https://x402.org/facilitator",
});
const bazaar = withBazaar(facilitator);
// Find political intelligence endpoints
const results = await bazaar.extensions.bazaar.search({
query: "political wallet intelligence",
});
// Filter by price < $0.01
const cheap = results.resources.filter(r =>
r.accepts.some(a => Number(a.amount) < 10000)
);
// x402 client auto-pays USDC on Base and retries
const api = wrapAxiosWithPayment(axios.create(), x402client);
const intel = await api.get(cheap[0].resource);
console.log(intel.data);
// { senator: 'Lummis', bought: 'ETH', amount: '$2.4M' }MCP tool — call from Claude / GPT
// Any MCP-enabled AI client
User: "What are senators buying before the crypto bill?"
// x402 MCP client autonomously:
// 1. Discovers offbase_query via Bazaar
// 2. Pays 0.005 USDC via exact scheme on Base
// 3. Gets intelligence response
// 4. Returns structured result to Claude
Result: {
"signals": [{
"wallet": "0x9e1a4ef…",
"senator": "Lummis",
"action": "accumulated",
"asset": "ETH",
"amount": 485000,
"pattern": "pre-vote",
"confidence": 0.94,
"bill": "S. 2401 — RFIA 2026"
}]
}