Skip to content

Developer API · Free

Free URL Shortener API

One POST endpoint, five actions. Send your API key as JSON and shorten, update, list, delete or search links from anywhere. No plans, no limits beyond a fair 10,000 links/day per key.

POST https://cuq.in/api

Get a free API key

One key per email. 10,000 links a day. Verify your email and it's yours. No account, no card.

Playground

Pick an action, fill the fields, and hit Send. You'll get a real-looking JSON response. Nothing is stored.

Action

Response

ready

// Send a request to see the JSON response here.

In your language

action: add

Reference

Actions

Actions
Action Description Required
add Create a short link from a long URL. Returns status, shortCode and shortUrl. apiKey · url
update Point an existing shortCode at a new long URL. Returns the status. apiKey · shortCode · url
getAll Retrieve every short URL created with your API key. Returns an array. apiKey
delete Delete a short URL by its shortCode. Returns the status. apiKey · shortCode
search Search your URLs by keyword or long URL. Returns matching results. apiKey · query

Request parameters

Request parameters
Parameter Type Req. Description
apiKey stringYesYour API key, required for every action.
action stringYesOne of add, update, delete, search, or getAll.
url stringCond.The long URL to shorten (add / update).
shortCodestringCond.The short code to act on (update / delete).
query stringCond.Keyword or URL to look up (search).

Response structure

Response structure
Field Type Description
status booleantrue on success, false on error.
message string Detail about the result, or an error message.
code integerHTTP status code (200 ok, 400 error).
shortUrl string The full shortened URL (add / update).
results array Array of links returned by getAll / search.

Something unclear or missing? Say hello. We usually reply within 48 hours.