GET /url/shorten
Shorten any long URL into a compact, shareable short link. Returns the shortened URL that redirects to the original. Útil para redes sociales sharing where character count matters, generando clean links for print materials, rastreando link usage, and haciendo long URLs with many parameters more manageable and user-friendly.
url
requerido
URL to shorten
| Nombre | Requerido | Predeterminado | Descripcion |
|---|---|---|---|
url |
Si | - | URL to shorten |
curl "https://nordapi.ee/api/v1/url/shorten?url=https://nordapi.ee"
curl "https://nordapi.ee/api/v1/url/shorten?url=https://nordapi.ee"
curl "https://nordapi.ee/api/v1/url/shorten?url=https://github.com/elixir-lang/elixir"
HTTP 400: {
"error": "TinyURL returned status 400",
"success": false
}