← Entwicklerwerkzeuge

URL-Verkürzer

GET /url/shorten

Verkürzen Sie jede long URL into a compact, shareable short link. Liefert die shortened URL that redirects to the original. Nützlich für social media sharing where character count matters, generating clean links for print materials, tracking link usage, und making long URLs with many parameters more manageable und user-friendly.

Parameter

url erforderlich

URL to shorten

Beispielanfragen

Grundlegende Verwendung
curl "https://nordapi.ee/api/v1/url/shorten?url=https://nordapi.ee"
Shorten the NordAPI URL
curl "https://nordapi.ee/api/v1/url/shorten?url=https://nordapi.ee"
Shorten a long GitHub URL
curl "https://nordapi.ee/api/v1/url/shorten?url=https://github.com/elixir-lang/elixir"

Live-Antwort

HTTP 400: {
  "error": "TinyURL returned status 400",
  "success": false
}