api.x402node.dev
GET https://api.x402node.dev/text/format
code formatter, prettier, code beautifier, JavaScript formatter, TypeScript formatter, JSON formatter, HTML formatter, CSS formatter, Markdown formatter, YAML formatter. Format code using Prettier. Supports JavaScript, TypeScript, JSON, HTML, CSS, Markdown, YAML, GraphQL. Auto-detects parser if not specified. For AI agents writing or fixing code in pipelines. Accepts payment on Base or Solana — either network works.
Warnings
Unusual seller traffic This seller's paid usage looks manufactured: paid calls to trivial endpoints like ping or uuid, or near-identical payer counts on every endpoint. Its usage counts half.
How to buy
This endpoint takes pay-per-call payments over x402. Call it once without paying to see its live price; any x402 client then pays and retries automatically.
curl -i -X GET "https://api.x402node.dev/text/format"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the responseRecent checks
| Checked (UTC) | Result | Status | Time | Live price |
|---|---|---|---|---|
| 2026-10-11 11:01 | Valid 402 | 402 | 425 ms | $0.0035 |
| 2026-10-11 06:30 | Valid 402 | 402 | 3581 ms | $0.0035 |
| 2026-10-11 02:00 | Valid 402 | 402 | 272 ms | $0.0035 |
| 2026-10-10 21:30 | Valid 402 | 402 | 544 ms | $0.0035 |
Receipts
No test purchases yet. Graded test purchases are next on our list; until then every number here comes from unpaid checks.
What a check proves