Bitly

App · Links and QR Codes · 10 actions

Create short links with Bitly and look up where existing short links lead.

Actions

ActionWhat it does
Archive linkArchive a link to tidy it out of your Bitly link list.
Delete linkDelete a short link so it stops working.
Expand a short linkExpand a Bitly short link into its original long web address.
Get link clicksCount how many times a link was clicked, over the last so many days or since it was made.
Get link clicks by countrySee which countries a link's clicks came from, most first.
Get link clicks by sourceSee where a link's clicks came from, such as a website, an app or direct (typed or scanned), most first.
Get link detailsLook up one of your Bitly links: where it goes, its title, tags, when it was made and whether it is archived.
List linksList the links in your Bitly account, newest first.
Shorten a linkTurn a long web address into a short, shareable Bitly link.
Update linkChange a link's title or tags, or where it sends people.

Archive a link to tidy it out of your Bitly link list. The short link keeps working.

Inputs

Short linkshort_linktextRequired
One of your Bitly short links, such as bit.ly/abc123 or https://bit.ly/abc123.

Outputs

archivedtrue/false
true when the link is archived.
created_attext
When the link was made.
idtext
The link without https://, such as bit.ly/3xExAmp.
linktext
The short link.
long_urltext
Where the link sends people.
tagslist
The link's tags.
titletext
The link's label.
Example output
{
  "archived": true,
  "created_at": "2026-07-15T09:00:00+0000",
  "id": "bit.ly/3xExAmp",
  "link": "https://bit.ly/3xExAmp",
  "long_url": "https://example.com/my-page",
  "tags": [
    "spring"
  ],
  "title": "Spring sale landing page"
}

Delete a short link so it stops working. Bitly only deletes links that have never been changed since they were made; archive any other.

Inputs

Short linkshort_linktextRequired
One of your Bitly short links, such as bit.ly/abc123 or https://bit.ly/abc123.

Outputs

deletedtrue/false
true when Bitly deleted the link.
deleted_idslist
The links Bitly deleted, such as bit.ly/3xExAmp.
Example output
{
  "deleted": true,
  "deleted_ids": [
    "bit.ly/3xExAmp"
  ]
}

Expand a Bitly short link into its original long web address.

Inputs

Short linkshort_linktextRequired
The Bitly short link to expand, for example bit.ly/abc123.

Outputs

idtext
linktext
long_urltext
Example output
{
  "id": "bit.ly/3xExAmp",
  "link": "https://bit.ly/3xExAmp",
  "long_url": "https://example.com/my-page"
}

Count how many times a link was clicked, over the last so many days or since it was made.

Inputs

Short linkshort_linktextRequired
One of your Bitly short links, such as bit.ly/abc123 or https://bit.ly/abc123.
Last how many daysdaysnumber
Count the clicks of this many days, up to today, such as 7 for the last week. Leave blank for every click since the link was made.

Outputs

daysnumber
The days counted, or 0 for since the link was made.
total_clicksnumber
How many clicks.
Example output
{
  "days": 7,
  "total_clicks": 42
}

See which countries a link's clicks came from, most first.

Inputs

Short linkshort_linktextRequired
One of your Bitly short links, such as bit.ly/abc123 or https://bit.ly/abc123.
Last how many daysdaysnumber
Count the clicks of this many days, up to today, such as 7 for the last week. Leave blank for every click since the link was made.

Outputs

countrieslist
Each country with its clicks.
total_clicksnumber
The clicks listed, added up.
Example output
{
  "countries": [
    {
      "clicks": 30,
      "country": "US"
    },
    {
      "clicks": 12,
      "country": "CA"
    }
  ],
  "total_clicks": 42
}

See where a link's clicks came from, such as a website, an app or direct (typed or scanned), most first.

Inputs

Short linkshort_linktextRequired
One of your Bitly short links, such as bit.ly/abc123 or https://bit.ly/abc123.
Last how many daysdaysnumber
Count the clicks of this many days, up to today, such as 7 for the last week. Leave blank for every click since the link was made.

Outputs

referrerslist
Each source with its clicks.
total_clicksnumber
The clicks listed, added up.
Example output
{
  "referrers": [
    {
      "clicks": 25,
      "referrer": "direct"
    },
    {
      "clicks": 17,
      "referrer": "https://www.facebook.com/"
    }
  ],
  "total_clicks": 42
}

Look up one of your Bitly links: where it goes, its title, tags, when it was made and whether it is archived.

Inputs

Short linkshort_linktextRequired
One of your Bitly short links, such as bit.ly/abc123 or https://bit.ly/abc123.

Outputs

archivedtrue/false
true when the link is archived.
created_attext
When the link was made.
idtext
The link without https://, such as bit.ly/3xExAmp.
linktext
The short link.
long_urltext
Where the link sends people.
tagslist
The link's tags.
titletext
The link's label.
Example output
{
  "archived": false,
  "created_at": "2026-07-15T09:00:00+0000",
  "id": "bit.ly/3xExAmp",
  "link": "https://bit.ly/3xExAmp",
  "long_url": "https://example.com/my-page",
  "tags": [
    "spring"
  ],
  "title": "Spring sale landing page"
}

List the links in your Bitly account, newest first. You can search by words in the title or address, or keep to one tag.

Inputs

Search forsearchtext
Only links whose title or address has these words. Leave blank for all.
Tagtagtext
Only links with this tag. Leave blank for any tag.
Maximum resultscountnumber
The most links to return, up to 100. Leave blank for 50.
Include archived linksinclude_archivedtrue/false
Turn on to list archived links as well.

Outputs

countnumber
How many links were found.
linkslist
The links found, newest first.
Example output
{
  "count": 1,
  "links": [
    {
      "archived": false,
      "created_at": "2026-07-15T09:00:00+0000",
      "id": "bit.ly/3xExAmp",
      "link": "https://bit.ly/3xExAmp",
      "long_url": "https://example.com/my-page",
      "tags": [
        "spring"
      ],
      "title": "Spring sale landing page"
    }
  ]
}

Turn a long web address into a short, shareable Bitly link. You can optionally save a title to help you find the link later.

Inputs

Long URLlong_urltextRequired
The full web address you want to shorten, for example https://example.com/my-page.
Titletitletext
Optional. A label to help you recognize this link later in Bitly, for example "Spring sale landing page".

Outputs

idtext
linktext
long_urltext
titletext
Example output
{
  "id": "bit.ly/3xExAmp",
  "link": "https://bit.ly/3xExAmp",
  "long_url": "https://example.com/my-page",
  "title": "Spring sale landing page"
}

Change a link's title or tags, or where it sends people. Changing where it goes keeps the same short link, so printed links and QR codes follow; Bitly counts it against your plan's monthly links.

Inputs

Short linkshort_linktextRequired
One of your Bitly short links, such as bit.ly/abc123 or https://bit.ly/abc123.
New titletitletext
A new label for the link. Leave blank to keep it.
Tagstagstext
The link's tags, separated by commas, such as spring, flyer. These replace its tags. Leave blank to keep them.
New destinationlong_urltext
The web address the link should send people to from now on. Leave blank to keep it.

Outputs

archivedtrue/false
true when the link is archived.
created_attext
When the link was made.
idtext
The link without https://, such as bit.ly/3xExAmp.
linktext
The short link.
long_urltext
Where the link sends people.
tagslist
The link's tags.
titletext
The link's label.
Example output
{
  "archived": false,
  "created_at": "2026-07-15T09:00:00+0000",
  "id": "bit.ly/3xExAmp",
  "link": "https://bit.ly/3xExAmp",
  "long_url": "https://example.com/my-page",
  "tags": [
    "spring"
  ],
  "title": "Spring sale landing page"
}

On this page