GET
/v1/formatCSS Formatter
Pretty-print CSS rules.
Part of CSS Formatter· Rate limits: 30 req/min
Parameters
cssquerystringrequiredCSS stylesheet text
X-SEEKER-KeyheaderstringrequiredYour API Seeker key
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| css | query | string | Yes | CSS stylesheet text |
| X-SEEKER-Key | header | string | Yes | Your API Seeker key |
Code examples
cURL
curl -s "https://cssfmt.apiseeker.com/v1/format" \
-H "X-SEEKER-Key: YOUR_API_KEY"Response
JSON
{
"success": true,
"data": {
"formatted": "body {\n color: red;\n margin: 0;\n}"
},
"request_id": "req_example"
}Errors
- 400 — Invalid or missing parameters
- 401 — Missing or invalid API key
- 429 — Rate limit exceeded
Try this endpoint
API Playground
CSS Formatter
Live testing requires an account. Log in or create an API key to send requests. Docs and snippets stay available without login.
GET
cssfmt.apiseeker.comhttps://cssfmt.apiseeker.com/v1/formatStatus: —Latency: —
Response headers
Log in to run a test and see headers.
Response body
Log in required for live testing.
Generated snippets
cURL
curl -s "https://cssfmt.apiseeker.com/v1/format" \
-H "X-SEEKER-Key: YOUR_API_KEY"