Discover/Tr API
live

Tr APItr.ee

Create shortened links using tr.ee to make your URLs more shareable and trackable. Quickly generate compact short links for any destination URL without needing a Linktree account.

This API takes change requests — .
Endpoints
1
Updated
2h ago
This call costs10 credits / call— charged only on success
Try it
Absolute destination URL to shorten, including the http:// or https:// scheme.
api.parse.bot/scraper/4bb06577-065b-42e7-9e4e-fbad35631931/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X POST 'https://api.parse.bot/scraper/4bb06577-065b-42e7-9e4e-fbad35631931/short_url' \
  -H 'X-API-Key: $PARSE_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "url": "https://en.wikipedia.org/wiki/URL_shortening"
}'
All endpoints · 1 totalmissing one? ·

Submits a destination URL to the tr.ee free link shortener and returns the newly created short link. Each call creates a new link (a repeated call for the same destination yields a different short URL). Returns one object with the direct short URL, its short id, a companion QR-channel short URL, the link's UUID, the creation timestamp and the site's moderation verdict. Costs two to three site round trips. A value that is not an absolute http(s) URL is rejected before any request is made.

Input
ParamTypeDescription
urlrequiredstringAbsolute destination URL to shorten, including the http:// or https:// scheme.
Response
{
  "type": "object",
  "fields": {
    "short_id": "path segment of short_url",
    "link_uuid": "site-assigned UUID of the created link",
    "short_url": "the shortened https://tr.ee/<short_id> link",
    "created_at": "ISO 8601 UTC creation timestamp",
    "qr_short_url": "second tr.ee short link the site creates for the QR-code channel of the same destination",
    "destination_url": "the destination the short link redirects to, as stored by the site",
    "moderation_action": "site moderation verdict for the destination (e.g. SAFE)"
  },
  "sample": {
    "data": {
      "short_id": "sgFydX",
      "link_uuid": "dd46cef7-e0b9-4c50-86af-fe5de8d7e4f3",
      "short_url": "https://tr.ee/sgFydX",
      "created_at": "2026-09-03T06:01:49.215Z",
      "qr_short_url": "https://tr.ee/tuNcMMHYPoWM",
      "destination_url": "https://en.wikipedia.org/wiki/URL_shortening",
      "moderation_action": "SAFE"
    },
    "status": "success"
  }
}

About the Tr API

The Tr API on Parse exposes 1 endpoint for the publicly available data on tr.ee. Calls return JSON over HTTPS and are billed per successful response.

Pin a release with the API-Snapshot-Version header so canonical updates don't silently change your contract.