Shrtr
Free · No API key · CORS-enabled

Free URL shortener API. No signup, no API key.

POST a URL, get a short link. JSON in, JSON out. Rate-limited per IP, CORS-enabled, RFC 7807 error format. Ideal for scripts, CLIs, and one-off integrations.

Full curl / JS / Python / Go examples, rate-limit headers, and error format are on the API reference page.

One endpoint, one job

POST /api/v1/shorten with a JSON {url} body returns {code, short_url, original_url, created_at}.

Public stats endpoint

GET /api/v1/stats/{code} returns aggregate click count and last-click timestamp — no per-visitor data.

Transparent limits

Rate-limit headers on every response. 429 with Retry-After on overrun. RFC 7807 error bodies for machine-readable failures.