Endpoint docs and playground examples are owned by the API’s publisher. APISeeker-operated APIs are maintained by the platform team.
HTML Formatter docs
Pretty-print HTML markup.
Authentication
API key (header: X-SEEKER-Key)
Send your key on every request. Do not put keys in client-side code or public repos. Rotate keys from the dashboard if a secret is exposed.
X-SEEKER-Key: YOUR_API_KEYRate limits
Default catalog limit: 30 req/min. Plan-specific limits apply after you subscribe. When throttled, expect 429 with a retryable response — back off and retry with jitter.
- HTML Formatter: 30 req/min
Errors
Errors return JSON with a machine-readable code and message. Common platform codes:
- 401 — missing or invalid API key
- 403 — key valid but not entitled for this API or plan
- 404 — resource or path not found
- 429 — rate limit exceeded; retry later
- 5xx — upstream or platform failure; retry with backoff
Endpoint-specific errors are listed under each endpoint below.
Versioning
Current documented version: v1. Prefer pinning the version path shown in examples. Breaking changes ship under a new version; check the changelog for platform updates.
HTML Formatter
Pretty-print HTML markup.
Parameters
htmlquerystringrequiredHTML fragment or document
X-SEEKER-KeyheaderstringrequiredYour API Seeker key
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| html | query | string | Yes | HTML fragment or document |
| X-SEEKER-Key | header | string | Yes | Your API Seeker key |
Example code
curl -s "https://htmlfmt.apiseeker.com/v1/format" \
-H "X-SEEKER-Key: YOUR_API_KEY"Response example
{
"success": true,
"data": {
"formatted": "<div>\n <p>Hi</p>\n</div>"
},
"request_id": "req_example"
}Errors
- 400 — Invalid or missing parameters
- 401 — Missing or invalid API key
- 429 — Rate limit exceeded
Playground
API Playground
HTML Formatter
htmlfmt.apiseeker.comhttps://htmlfmt.apiseeker.com/v1/formatResponse headers
Log in to run a test and see headers.
Response body
Log in required for live testing.
Generated snippets
curl -s "https://htmlfmt.apiseeker.com/v1/format" \
-H "X-SEEKER-Key: YOUR_API_KEY"