← All integrations

Reference & Lookup Data · Integration

Embed an Unshorten.me integration in your product

Add Unshorten.me to your product for your customers, and give your AI agents governed access to it.

A shortened link hides where it goes, which is convenient for the person sharing it and a problem for any product that has to decide whether to follow it. Unshorten.me does one job: give it a short link and it returns the address at the end of the redirect chain. That is a small answer with disproportionate value, because knowing the real destination is what lets your product show a user where a link actually leads, apply your own domain rules before anything is fetched, or hand the result to whatever reputation check you already run. Treat it as what it is, an expander rather than a verdict: it tells you where a link resolves to, not whether the page there is safe. Lookups are metered, so each customer uses their own key and the same link resolves to the same place until whoever owns it changes the redirect, which makes caching straightforward and worth doing.

In your product

Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.

  • Let each customer supply their own key so link expansions are counted against their allowance rather than a shared one you meter.
  • Show users the real destination of a shortened link before they click it, instead of asking them to trust an opaque address.
  • Apply your own allow and block rules to the expanded address, so a decision is made on the destination rather than on the shortener.
  • Cache expansions per tenant, since a short link keeps resolving to the same place until its owner changes it.

For your AI agents

Governed, audited access for the agents you build, through the MCP server.

  • An agent expands a link before it reads or acts on anything behind it, and reports where it actually leads.
  • An agent checks a batch of shortened links in a message and lists the domains they resolve to.
  • An agent flags a link whose destination does not match the domain a user was expecting.

Example prompt

Expand the shortened links in this message and tell me which domains they really point at.

Set up Unshorten.me in 4 steps

  1. 01Enable the Unshorten.me connector in your fastn dashboard.
  2. 02Have each customer supply their own key, so lookups run against their allowance rather than a shared account.
  3. 03Decide where in your flow a link is expanded, and set a cache window per tenant for repeat lookups.
  4. 04Call it from your product and expose the same connection to your agents through the MCP gateway.

Why teams use the Unshorten.me integration

  • Ship an Unshorten.me integration without building it. Your customers connect their own Unshorten.me account inside your product and work their lookups, results and reports there, and nothing lands on your team.
  • Handle the part that actually costs time: these are metered read sources, so an uncached lookup on every page view burns the customer's allowance. fastn handles the auth, token refresh, rate limits and pagination, and when Unshorten.me changes, its maintainer agent proposes a tested fix, so an Unshorten.me update does not start in your backlog.

Used by these teams

Unshorten.me integration FAQ

Can AI agents use this Unshorten.me integration?

Yes, through the fastn MCP gateway, scoped per customer and audited. An agent expands a link before it reads or acts on anything behind it, and reports where it actually leads. For example: "Expand the shortened links in this message and tell me which domains they really point at."

Whose credentials does an Unshorten.me lookup run under?

Each customer's own. Quota and cost land on the customer that caused them rather than on a shared key you have to meter and re-bill, and one heavy customer cannot exhaust another's allowance.

How should Unshorten.me results be cached?

Per tenant, with a window that matches how fast the underlying data actually moves. Unshorten.me is a read source rather than a system of record, so the same query returns the same answer until the source changes, and caching is the difference between a sustainable integration and one that exhausts a customer's allowance on a busy page.

What can I build with the Unshorten.me integration?

A common starting point: let each customer supply their own key so link expansions are counted against their allowance rather than a shared one you meter. The use cases above list the rest.

Add Unshorten.me to your product

Start free with 3 customer connections. No sales call required, and no per-customer integration code.