API Docs

Home

Free URL shortening service documentation

FREE Free Short Link

Create short links with 7-day expiration. No registration required. Perfect for temporary sharing.

API Endpoint

POST https://shortener.0x1.in/api/anonymous

Request Parameters

Parameter Type Required Description
url string Yes The URL to shorten

Request Example

curl -X POST https://shortener.0x1.in/api/anonymous \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/very/long/url"}'

Response Example

{
  "short_url": "https://0x1.in/abc123",
  "code": "abc123"
}

Features

Error Responses

Status Code Description
400 URL parameter missing or invalid format
500 Internal server error

MCP (Model Context Protocol)

Integrate with AI agents via MCP protocol for free short link creation.

MCP Endpoint

https://shortener.0x1.in/mcp

Configuration Example

{
  "mcpServers": {
    "shortener-link": {
      "url": "https://shortener.0x1.in/mcp"
    }
  }
}

Available Tools

Tool Name Description
create_short_link Create a new short link (7-day expiration)

View detailed MCP configuration →