mirrored listing x402 eip155:8453

Check Python for syntax errors, lint and type mistakes, unsafe constructs and hardcoded cr

Check Python for syntax errors, lint and type mistakes, unsafe constructs and hardcoded credentials, and against the examples the caller supplies, without running it.

Do you run api.statemind.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
10000 (raw units)
price
3
calls / 30d
3
unique payers
2026-09-17
updated

Provider

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

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xaa7116CdDA58286F4cdA40C6F735762C22447104",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "maxTimeoutSeconds": 60
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "code": "def bitcount(n):\n    count = 0\n    while n:\n        n ^= n - 1\n    return count\n",
          "options": {
            "examples": "assert bitcount(127) == 7\nassert bitcount(0) == 0"
          }
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "diagnostics": [
            {
              "code": "python:example-mismatch",
              "message": "assert bitcount(127) == 7 failed: the code loops forever",
              "severity": "error"
            }
          ],
          "fixed_code": "def bitcount(n):\n    count = 0\n    while n:\n        n &= n - 1\n        count += 1\n    return count\n",
          "score": 0.4,
          "valid": false
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "properties": {
                "code": {
                  "description": "The Python source to check.",
                  "type": "string"
                },
                "options": {
                  "properties": {
                    "examples": {
                      "description": "What the code is supposed to do, as assert or doctest lines, one per line. This is the only check that can fail code which parses, lints and runs.",
                      "type": "string"
                    },
                    "intent": {
                      "description": "What the code was asked to do, in words.",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "required": [
                "code"
              ],
              "type": "object"
            },
            "bodyType": {
              "enum": [
                "json"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "POST"
              ],
              "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.statemind.ai/v1/x402/static"
# -> 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.statemind.ai/v1/x402/static");
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.statemind.ai/v1/x402/static")
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/3617.json, and this resource appears in /discovery/resources and /discovery/search.