Predictable endpoints
Use HTTPS endpoints for creation, deletion, listing, access logs and click totals.
Create, list, delete and measure short links from your applications with straightforward HTTP endpoints.
curl -G "https://api.urlz.li/url/create" \
--data-urlencode "apikey=YOUR_KEY" \
--data-urlencode "fullUrl=https://example.com"
{
"result": {
"short_url": "https://urlz.li/7b3c2e5a"
}
}Use HTTPS endpoints for creation, deletion, listing, access logs and click totals.
Every request uses your API key so links and analytics remain tied to your account.
Receive JSON responses that are simple to use from JavaScript, PHP, cURL and other clients.
/url/createCreate a short URL with an active API key.
/url/listReturn links that belong to an API key, with filters and pagination.
/mobile/v1/upload.phpUpload an allowed file up to 10 MB and receive a short URL.
/mobile/v1/links.phpList links, click totals, protection state and monetization state for the signed-in account.
/mobile/v1/clicks.phpRetrieve click totals, unique visitors, top countries and paginated access events.
/mobile/v1/delete-link.phpDelete only the link owned by the authenticated account.
/mobile/v1/monetization/links.phpCreate a paid URL or convert an existing account link into paid access.
/mobile/v1/monetization/upload.phpStore a file privately and create a paid short link. Maximum size: 50 MB.
/mobile/v1/monetization/links.phpReturn paid links with sales, gross revenue, net revenue and status.
/mobile/v1/monetization/transactions.phpReturn orders, processor fees, URLZ fees, net revenue and fund-release dates.