curl-impersonate-service v1.7.0

HTTP requests that look like a real browser (TLS/HTTP2 fingerprints), as a REST API.
For agents: /docs.md (Markdown), also served on Accept: text/markdown.

Authentication

All API endpoints except /health require an API token, sent as either a bearer header or a query parameter:

Authorization: Bearer <token>
# or
?token=<token>

Tokens are managed from the admin UI.

Endpoints

GET /health

Liveness check, no auth. Returns {"status":"ok","version":"…"}.

GET /browsers

Lists available browser profiles and aliases.

GET /metrics

Service metrics: request counts, success/failure, average duration, per-browser usage.

POST /impersonate

Performs an HTTP request impersonating the chosen browser.

FieldTypeDefaultDescription
urlstring—Target URL (required)
browserstringchrome152Profile or alias
methodstringGETHTTP method
headersobject—Custom request headers
query_paramsobject—Query params merged into the URL
bodystring—Request body (text)
body_base64string—Request body (base64, for binary)
follow_redirectsbooltrueFollow redirects
insecureboolfalseSkip TLS verification
timeoutint30Timeout (seconds)

Example

curl -X POST https://curl-impersonate.16bit.cloud/impersonate \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"browser":"chrome152","url":"https://example.com"}'

Success responses always return 200 with a JSON envelope (success, status_code, headers, body, timing, …). Network problems return success:false with an error_type of network, dns, timeout, ssl or size.

GET /admin/

Admin dashboard (separate Basic-auth login): manage tokens, CORS and usage logs.

Browsers

Default: chrome152. Aliases:

AliasResolves to
chrome-latestchrome152
edge-latestedge101
firefox-latestfirefox155
safari-latestsafari270
tor-latesttor145

All profiles (47)

chrome100chrome101chrome104chrome107chrome110chrome116chrome119chrome120chrome123chrome124chrome131chrome131_androidchrome133achrome136chrome142chrome145chrome146chrome150chrome151chrome151_macoschrome152chrome152_macoschrome99chrome99_androidedge101edge99firefox133firefox135firefox144firefox147firefox153firefox154firefox155safari153safari155safari170safari172_iossafari180safari180_iossafari184safari184_iossafari260safari2601safari260_iossafari270safari270_iostor145