Build on the link layer.
One REST API for links, smart routing and analytics. An MCP server for AI agents. Every rii.link resolves for humans — and returns clean JSON for machines.
Drop link superpowers into your stack.
A fast, predictable REST API with SDKs and webhooks. Create, route, brand and measure links from anywhere in your software — in a few lines.
// Generate a QR Code with logo
import { RiilinkClient } from '@riilink/sdk';
const client = new RiilinkClient('rii_live_...');
const qrCode = await client.qr.create({
url: 'https://rii.link/summer-sale',
style: {
color: '#F97316',
logo: 'https://myshop.com/logo.png',
shape: 'rounded'
}
});
console.log(qrCode.imageUrl);Let agents create, update & analyze links for you.
Connect rii.link as an MCP server and your AI assistant manages links the way it manages files — natural language in, real link operations out, analytics on demand.
{ "slug": "summer-sale", "routing": { "ios": "apps.apple.com/id123" } }{ "clicks_7d": 18423, "top_geo": "DE" }Links from a sentence
"Shorten this and route DE traffic to /de" becomes a real, live link — no dashboard clicks.
Update & route in place
Agents repoint destinations, add rules and rotate QR targets through typed tool calls.
Analytics on demand
Ask for clicks, geos or top links and get structured results back into the conversation.
Your link is now an endpoint.
Return raw JSON, HTML or XML straight from a short link. Built for app configs, deep linking, and agents that need structured data — not a 30x bounce.
Negotiated by header
Same link returns a redirect to browsers and clean JSON to Accept: application/json — perfect for LLM agents.
Edit without redeploying
Flip a feature flag or repoint a deep link from the dashboard. Your app reads it instantly.
Link AI — structured by default
Every link ships title, OG image, click count and routing as machine-readable metadata.
// rii returns structured data — no redirect { "status": "active", "destination": "https://myshop.com", "routing": { "ios": "apps.apple.com/app/id123", "android": "play.google.com/store/id123", "default": "myshop.com/web" }, "meta": { "title": "Summer Sale 2026", "clicks": 18423, "llm_ready": true } }
Plug rii.link into everything.
Ready to build smarter connections?
Branded links, visual routing and LLM-ready responses — start free, no credit card needed.