← Utilitaires pour développeurs

Raccourcisseur d'URL

GET /url/shorten

Raccourcissez n'importe quelle URL longue en a compact, shareable short link. Renvoie le shortened URL qui redirects to le original. Utile pour les social media sharing where character count matters, generating clean links pour print materials, tracking link usage, et making long URLs avec many parameters more manageable et user-friendly.

Paramètres

url requis

URL to shorten

Exemples de requêtes

Utilisation de base
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"

Réponse en direct

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