Skip to content
Fourohtwo

Synap402

synap402.com/api/billing/x402/tasks/review-code

Synap402 - code review: send a unified diff or source code, get a summary and a JSON list of issues (severity, file, line, message, suggestion) - bugs, security, edge cases, no style nits. Invalid model output = no charge. Open models on dedicated GPUs. Pay per call in USDC on any network in the payment challenge; no account, no API key.

BaseSolanaAnswering
POSThttps://synap402.com/api/billing/x402/tasks/review-code

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://synap402.com/api/billing/x402/tasks/review-code", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"diff":"--- a/app.py\n+++ b/app.py\n@@ -1,2 +1,2 @@\n def get_user(db, uid):\n-    return db.query(\"SELECT * FROM users WHERE id = %s\", (uid,))\n+    return db.query(f\"SELECT * FROM users WHERE id = {uid}\")\n","language":"python","max_tokens":512}),
});
console.log(await res.json());

Example input

{
  "diff": "--- a/app.py\n+++ b/app.py\n@@ -1,2 +1,2 @@\n def get_user(db, uid):\n-    return db.query(\"SELECT * FROM users WHERE id = %s\", (uid,))\n+    return db.query(f\"SELECT * FROM users WHERE id = {uid}\")\n",
  "language": "python",
  "max_tokens": 512
}