Free API30 req/minDeveloper Tools
JavaScript Formatter
Indent braces and newlines for readable JS snippets. Not a full AST prettier.
By RSM DevOps
Public endpoint
GET
jsfmt.apiseeker.com/v1/formatAuth: X-SEEKER-Key
Endpoint
Lightweight brace-based formatting.
Method
GET
Path
/v1/format
Full URL
https://jsfmt.apiseeker.com/v1/formatAuthentication
Send X-SEEKER-Key on every request. Free tools still require a valid APISeeker key — no auth bypass.
Parameters
codequerystringrequiredJavaScript source
Request example
cURL
curl -s "https://jsfmt.apiseeker.com/v1/format?code=function%20x()%7Breturn%201%7D" \
-H "X-SEEKER-Key: YOUR_API_KEY"Response example
JSON
{
"success": true,
"data": {
"formatted": "function x() {\n return 1\n}"
},
"request_id": "req_example"
}Errors & limits
- 400Invalid or missing parameters
- 401Missing or invalid API key
- 429Rate limit exceeded
Rate limit: 30 req/min
Playground
Live playground
JavaScript Formatter
Sign in to send live requests. Docs and URL preview stay open. Log in
GETRequest URL
https://jsfmt.apiseeker.com/v1/format?code=function+x%28%29%7Breturn+1%7DStatus: —Latency: —
Response
Response will appear here after you send a request.
