Bitly
App · Links and QR Codes · 2 actions
Create short links with Bitly and look up where existing short links lead.
Expand a short link
Expand a Bitly short link into its original long web address.
Inputs
- Short link
short_linktextRequired - The Bitly short link to expand, for example bit.ly/abc123.
Outputs
idtextlinktextlong_urltext
Example output
{
"id": "bit.ly/3xExAmp",
"link": "https://bit.ly/3xExAmp",
"long_url": "https://example.com/my-page"
}Shorten a link
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 URL
long_urltextRequired - The full web address you want to shorten, for example https://example.com/my-page.
- Title
titletext - Optional. A label to help you recognize this link later in Bitly, for example "Spring sale landing page".
Outputs
idtextlinktextlong_urltexttitletext
Example output
{
"id": "bit.ly/3xExAmp",
"link": "https://bit.ly/3xExAmp",
"long_url": "https://example.com/my-page",
"title": "Spring sale landing page"
}