URL shortener API

Automate sd9.in short links with bearer API keys. Create, bulk create, list, inspect, update, delete, and generate QR codes from any HTTP client.

Authentication

Create a key in the developer portal and send it as Authorization: Bearer <key>. Keys are hashed at rest, shown once, and can be rotated or revoked instantly.

Endpoints

  • GET /api/v1/me
  • POST /api/v1/links and POST /api/v1/links/bulk
  • GET /api/v1/links and GET /api/v1/links/:code
  • PATCH /api/v1/links/:code and DELETE /api/v1/links/:code
  • GET /api/v1/links/:code/qr?format=png|svg

Rate limits

600 requests per 15 minutes per IP. Bulk create accepts up to 50 URLs per request. Every destination is validated for HTTP/HTTPS, private IPs are blocked, and risky patterns are flagged.