Use case · Free plan included

Free URL shortener API. No credit card.

Create a free account, copy your API key, and shorten links from your own code with one HTTP call.

Shorten a link in one call

Send your key in the x-api-key header and the long URL in the body:

curl -X POST https://gajo.io/api/v1/shorten \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/blog/launch-announcement"}'

The response contains the new shortCode; the short link is https://gajo.io/{shortCode}:

{
  "success": true,
  "message": "URL shortened successfully",
  "data": {
    "shortCode": "AbCdEf",
    "originalUrl": "https://example.com/blog/launch-announcement",
    "fallbackUrl": null,
    "active": true,
    "clickCount": 0,
    "isCustomCode": false,
    "createdDate": "2026-10-07T12:00:00Z",
    "expiresDate": "2026-12-06T12:00:00Z"
  }
}

Get your key

  1. Create a free account Sign up with your email. No credit card.
  2. Copy your key In your account, open API → Keys and generate a key.
  3. Make your first call Try it in the account Playground, or with the curl command above.

Limits by plan

FreeBasicPro
Price$0$4.99/mo$9.99/mo
Links per month5050010,000
API requests per minute 10 30 60
Link lifetimeUp to 60 daysUp to 120 daysUnlimited
Code length6 characters5 characters5 characters

Every response includes X-RateLimit-Limit and X-RateLimit-Remaining headers, and GET /usage shows how many links you have left this month.

What you can do

All plans

  • Create short links (POST /shorten)
  • List, look up, and delete your links
  • Click stats for each link, with bots excluded (full breakdowns on Basic and Pro)
  • Check your plan and remaining quota (GET /me, GET /usage)

Pro

Using an AI assistant? Connect Claude, Cursor, or VS Code to Gajo's MCP server and let it shorten links for you. Building a client? Point your tools at the OpenAPI 3.1 spec or llms.txt. The full reference is at /docs.

Get your free API key

Free accounts include the API, QR codes, and click analytics. Upgrade only when you need more.

Get a Free API Key