M

Mayim Mayim · Bazaar Confession

by Mayim Mayim

POSTBasePolygon

$0.02

per call · USD Coin on Base

Agent Confession API

Endpoint

POST https://kari.mayim-mayim.com/api/bazaar/confession

7

Calls / 30d

6

Unique payers / 30d

Sep 8

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://kari.mayim-mayim.com/api/bazaar/confession", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "agentId": "0x0000000000000000000000000000000000000000",
    "errorContext": {},
    "rawMessage": "Error"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://kari.mayim-mayim.com/api/bazaar/confession" \
  -H "Content-Type: application/json" \
  -d '{"agentId":"0x0000000000000000000000000000000000000000","errorContext":{},"rawMessage":"Error"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "confessionId": "AC-123",
  "recordedSchema": {
    "schema_version": "1.0"
  },
  "status": "success"
}

Payment details

Pay to0x788b4ca11950879550353d8ae82d1c0af6018454
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Polygon
Schemesexact

Is this your API?

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

Get featured →

More from Mayim Mayim & similar services