grokzilla.shop / try

{ try it }

"skills": 21, // pay-per-call, no account, no API key
"protocol": "x402 v2 · scheme exact",
"network": "eip155:8453", // Base mainnet
"this_page_pays": false // "Send unpaid request" only shows the 402 challenge. Paying stays with your own wallet or agent.
optional · prompt only The Base address your agent pays from. It is only written into the copyable agent prompt so your agent knows which wallet to use. It is never sent to the server and nothing is signed here.

← all 21 skills

"base64": { Base64 Encode/Decode $0.003 Base64-encode UTF-8 text or decode base64 back to text, standard or URL-safe alphabet. Deterministic, no network.
"method": "POST", "content_type": "application/json",
"price_usd": 0.003, // 3000 atomic USDC (6 decimals)
"network": "eip155:8453", // Base mainnet
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", // USDC
"payTo": "0xc22f9CAEBAc37fE72D5142f35f21f6696Ea9Ef69",
"docs": "/docs/base64",
"you_provide": { // JSON body fields
required string "encode" turns text into base64, "decode" turns base64 back into text. Required · string one of "encode", "decode" Example: "encode"
required string The UTF-8 text to encode, or the base64 string to decode. Required · string max length 400000 Example: "hello agent"
optional boolean true uses the URL-safe alphabet (- and _ instead of + and /). Optional · boolean default false Example: false
},
"request_body": // live, from your inputs
{
  "mode": "encode",
  "text": "hello agent",
  "url_safe": false
}
"you_get": { // HTTP 200 application/json after payment
"output_schema":
{
  "type": "object",
  "properties": {
    "skill": {
      "type": "string"
    },
    "ok": {
      "type": "boolean"
    },
    "mode": {
      "type": "string"
    },
    "url_safe": {
      "type": "boolean"
    },
    "output": {
      "type": "string"
    },
    "bytes": {
      "type": "integer"
    }
  },
  "required": [
    "ok",
    "skill"
  ]
}
"example":
{
  "skill": "base64",
  "ok": true,
  "mode": "encode",
  "url_safe": false,
  "output": "aGVsbG8gYWdlbnQ=",
  "bytes": 11
}
},
"flow": [
  1. POST https://grokzilla.shop/api/skills/base64 with the JSON body, no payment header
  2. ← 402 Payment Required + PAYMENT-REQUIRED header: base64 JSON {x402Version: 2, accepts: [{scheme: "exact", network: "eip155:8453", asset: USDC, amount: "3000", payTo}]} (same JSON in the body)
  3. your x402 client checks amount ≤ $0.003 and signs a USDC transfer authorization to payTo with your wallet
  4. retry the same POST with PAYMENT-SIGNATURE: <base64> (x402 v2) or X-PAYMENT (v1 clients)
  5. ← 200 OK with the result JSON + PAYMENT-RESPONSE header (base64 settlement receipt, tx hash on Base)
],
"copy": { // fills in from your inputs as you type
"agent_prompt"

        
"curl" // unpaid: shows the 402

        
"agentcash" // pays from your AgentCash wallet

        
},
"try": // POSTs unpaid to /api/skills/base64 on this host and decodes the 402. Never pays.
}