Skip to content
Fourohtwo

fwdr.link/v1/pay/links

Creates a short link (fwdr.link/abc123) for a long https URL, for when an agent needs a short, durable address to share in a message, a QR code or print. Each target is checked for phishing and malware; the link redirects for as long as fwdr runs. US$0.01 per link in USDC on Base, no account. Errors: 400 bad or refused target, 402 payment required, 409 payment still settling.

BaseAnswering
POSThttps://fwdr.link/v1/pay/links

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://fwdr.link/v1/pay/links", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"target":"https://example.com/a/long/page"}),
});
console.log(await res.json());

Example input

{
  "target": "https://example.com/a/long/page"
}