mirrored listing x402 eip155:8453

Clear explanation of what code does, how it works, and why

Clear explanation of what code does, how it works, and why.

Do you run api.24klabs.ai? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
50000 (raw units)
price
4
calls / 30d
1
unique payers
2026-08-30
updated

Provider

api.24klabs.ai · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xe73D86f185bE79a33b0318d881B71f2a24371114",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "maxTimeoutSeconds": 300
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "code": "def fib(n): return n if n < 2 else fib(n-1)+fib(n-2)",
          "language": "python"
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "model": "claude-haiku-4-5",
          "result": "This function computes Fibonacci numbers recursively...",
          "tokens_used": 180
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "properties": {
                "code": {
                  "description": "Primary input content",
                  "type": "string"
                },
                "context": {
                  "description": "Optional context or instructions",
                  "type": "string"
                },
                "language": {
                  "description": "Programming language (code services)",
                  "type": "string"
                }
              },
              "required": [
                "code"
              ]
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "POST",
                "PUT",
                "PATCH"
              ],
              "type": "string"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}

Use it

curl

curl "https://api.24klabs.ai/api/explain-code"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://api.24klabs.ai/api/explain-code");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}

Python

import httpx
res = httpx.get("https://api.24klabs.ai/api/explain-code")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/6393.json, and this resource appears in /discovery/resources and /discovery/search.