One Step Closer to Retiring Our 23-Year-Old API Endpoint

One Step Closer to Retiring Our 23-Year-Old API Endpoint

An image that depicts options and views from TinyURL's API offering

At TinyURL, our mission has always been to simplify the internet through the power of the URL. When we launched 23 years ago, our founder created a simple, unauthenticated API endpoint for internal use. Though never formally publicized, this endpoint was discovered and widely adopted over the decades by users ranging from major platforms like Twitter to independent developers. Despite its unofficial status, it currently handles over a billion requests per month.

We deprecated this endpoint several years ago in favor of our modern and secure API, but given its widespread use and no way to directly contact all its users, retiring it has been challenging. Moreover, fully retiring it could disrupt many applications.

To progress toward retiring this legacy endpoint, discourage its continued use, and encourage migration to our latest API, we are introducing an interstitial preview page on all TinyURL links created via the deprecated endpoint. This interstitial page includes a countdown that automatically redirects users to the destination link while providing information about the deprecation.

We understand that this interstitial page may not be suitable for all use cases. If this change impacts your application or existing links, please contact our support team at https://tinyurl.support/ to explore options for removing the interstitial.

Why We’re Making This Change

The original API endpoint, which only required a URL as a query parameter, made link shortening easy and accessible but also susceptible to abuse by malicious users. Retiring this endpoint is a critical step in enhancing platform security and reducing the burden on our abuse prevention team. By transitioning to our authenticated API, we can be more aggressive at implementing robust controls on this endpoint, such as:

  • Blocking IP addresses with questionable reputations (e.g., known proxies or VPNs).
  • Restricting problematic domains (e.g., free webhosts or certain blogging platforms).
  • Enhancing monitoring to ensure a safer experience for all users.

These measures allow us to better protect our legitimate users and maintain the integrity of our service.

Migrating to Our Latest API

We strongly encourage all users of the deprecated API to transition to our modern API. It’s built on the OpenAPI standard which makes integration seamless, as you can leverage your preferred OpenAPI module in your programming language to replace calls to the deprecated endpoint. The new API offers enhanced features, including:

  • Free Plan: Link shortening, custom aliases or pathnames, and keeping track of created links.
  • Paid Plans: Comprehensive analytics, branded domains, bulk link shortening, log downloads, and more.

Migrating to the new API also removes the interstitial page for your new TinyURL links, ensuring a smoother user experience. Comprehensive documentation and resources are available at https://api.tinyurl.com/. Our support team is ready to assist you through the migration process if needed — reach out at https://tinyurl.support/.

What’s Next?

The interstitial page is a temporary measure to facilitate a smooth transition on our path to retire the legacy API endpoint. We will continue to monitor its usage and phase in stricter controls on it as needed, guided by our ongoing efforts to combat abuse. While we have no fixed timeline for full retirement, it will depend on the endpoint’s usage levels. We will put a notice in advance on this site when we have determined its EOL date. To avoid future disruptions, we urge you to begin migrating to the new API as soon as possible.

Thank you for being part of the TinyURL community. We’re committed to making this transition seamless and appreciate your cooperation in building a safer, more reliable platform. For questions, feedback, or assistance, contact our support team at https://tinyurl.support/.

Explore More Articles

Explore More Topics

Explore More Topics