Can I shorten from the terminal?
Yes. RELURL's API accepts a simple curl request, so you can create short links right from the command line.
Shorten links from the command line
Shorten URLs from your terminal with a simple API. Use curl to hit the endpoint, pass your URL, and get a short link back — perfect for scripts and automations.
Sometimes you don't want to open a web page to create a link — you want to do it from a script. RELURL's URL shortener API lets you shorten URLs directly from the command line with a simple curl request. Post your URL to the endpoint, get a JSON response with a short link, and move on. Because it's a clean REST API, you can wire link creation into your pipelines, deployment scripts, and internal tools without fuss. For developers and power users who automate everything, it turns what could be a manual task into a one-line command — reliable, fast, and built to be scripted.
REST API endpoint
curl-friendly
Script-friendly responses
Automation ready
Create an account and obtain API credentials.
Post your URL to the endpoint with a simple curl command.
Receive a JSON response with your new short URL, ready for scripts.
Create short links with a curl request, without touching a browser or a dashboard.
A clean REST API with predictable JSON responses slots easily into your scripts and tools.
Wire link creation into CI/CD, deployments, and workflows that need URLs produced programmatically.
The API behaves predictably, so your automations depend on it without surprises.
RELURL was designed with developers in mind, which is why link creation is available as a clean API. The simple curl flow means you can shorten URLs from the command line and integrate them into whatever you build — pipelines, scripts, internal tools. That open, scriptable access is a real advantage over closed tools that only work from a web page. For anyone who automates their workflow, RELURL's API makes link creation a first-class, programmable operation.
Web-only shorteners can't be scripted. RELURL's API lets you shorten from the command line.
Complex APIs slow down integration. RELURL's curl-friendly endpoint is simple and predictable.
Closed tools hide link creation behind a UI. RELURL makes it a programmable operation.
Shortening links from the command line
Building short links into deployment scripts
Automating link creation in workflows
Integrating shortening into internal tools
Pruébalo ahora
Pruébalo ahora
Pruébalo ahora
Pruébalo ahora
Pruébalo ahora
Pruébalo ahora
Add a curl call to your tooling so short links are created automatically where you need them.
Parse the JSON response so your script can use the returned short URL without manual copying.
Incorporate link creation into CI/CD or release workflows to keep everything reproducible.
Yes. RELURL's API accepts a simple curl request, so you can create short links right from the command line.
The API returns a JSON response with your short URL, making it easy to use in scripts and applications.
Absolutely. The straightforward API is built for scripts, CI/CD, and internal tools that need to create links programmatically.