the402 endpoint detail

← All endpoints

api.webbersites.com lint javascript

https://api.webbersites.com/api/lint/javascript

payable

JavaScript / Node lint: POST {code}, get the bugs back with line numbers. Syntax errors come from the real V8 parser (compile-only — code is never executed), plus deterministic checks: loose == coercion, assignment in conditions, comparisons with NaN, const reassignment (runtime TypeError), var pitfalls, unused variables, leftover console.log. Handles ESM imports, template literals, regex. No AI.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.002
Network
base
Pay to
0xdd5fcEa81CA6f1EB39FEd5B973DE794293B81ba6
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
49 ms
Payment options
1 usable of 1
Last checked
2026-08-10T09:09:25.159Z (1d ago)
Category
ai-inference

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.webbersites.com%2Fapi%2Flint%2Fjavascript"