LIVE$APIEDCA0x720800690cd81c3319cb0ab9c4f480b659a772d4
APIED
Loading…
Loading prices…

Js Syntax Validity

Paid JavaScript syntax-validity probe (cycle 114) — fetches the page HTML, extracts every inline <script> block + every external <script src=> (parallel fetch with 8s timeout + 500KB cap per script, max 20 externals), for each script runs an AST-based syntax check (esprima or pyjsparser if installed, else heuristic). Detects: (a) unclosed string literals (" or unmatched), (b) unclosed template lit

Price per call
$0.000
Chain
Base
Method
GET
Paid calls · 30 days
0

Call it from code

This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.

import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";

const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });

const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://ptfya-38-190-144-122.run.pinggy-free.link/api/js-syntax-validity", { method: "GET" });
console.log(await res.json());

https://ptfya-38-190-144-122.run.pinggy-free.link/api/js-syntax-validity