{"partialResults":false,"resources":[{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"eip155:8453","payTo":"0xaa7116CdDA58286F4cdA40C6F735762C22447104","scheme":"exact"}],"description":"Check Python for syntax errors, lint and type mistakes, unsafe constructs and hardcoded credentials, and against the examples the caller supplies, without running it.","extensions":{"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 \u0026= 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"}}},"lastUpdated":"2026-11-19T03:20:38.726Z","quality":{"l30DaysTotalCalls":3,"l30DaysUniquePayers":2,"lastCalledAt":"2026-11-19T03:20:38.074Z"},"resource":"https://api.statemind.ai/v1/x402/static","serviceName":"Python Code Validator","tags":["python","code-review","static-analysis","testing","developer-tools"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"thbynhrl36wmmaa"}}
