← Back to all APIs

Shortlink Create

$0.002

Create a permanent short link on freeq.one (e.g. https://freeq.one/MySlug). Optional custom slug and TTL expiry (expires_at). Returns short_url plus a one-time manage_secret that gates FREE stats and deletion of the link — store it, it is shown only at creation.

POST https://x402.freeq.one/tools/shortlink_create
Try it (x402 payment flow)
curl -X POST https://x402.freeq.one/tools/shortlink_create \ -H "Content-Type: application/json" \ -d '{"url": "https://imapp.blogspot.com/2026/08/uuid-generator-free-uuid-v4-v7-creator.html", "slug": "uuid-tool"}'

Without payment, the server returns 402 Payment Required with x402 challenge details. A paying agent signs a USDC transaction on Base and retries with the payment header.