Linkbreakers does, with official SDKs for TypeScript, Python, Go, Java and Rust. Its REST API creates dynamic QR codes, runs a workflow behind each scan and sends every scan to your webhook; the SDKs cover all of it.
Generated from the API's OpenAPI description and published again with every API release, so each one covers the whole REST API. The version shown is the latest each registry serves.
npm install linkbreakerspip install linkbreakersgo get github.com/linkbreakers-com/linkbreakers-goimplementation("com.linkbreakers:linkbreakers-sdk:1.200.2")cargo add linkbreakersA QR code library draws an image from a string. These SDKs create a code you can repoint after it is printed, put steps behind it (a form that asks for an email, a condition that sends iPhones and Android phones to different stores) and read every scan and visitor back in your own backend, the same day.
How it compares: What is the best QR code API for developers? · Is there an MCP server that lets an AI agent create and track QR codes?
Each sample creates a link with its dynamic QR code and prints its short URL. Put a workspace API token in LINKBREAKERS_TOKEN first.
import { Configuration, LinksApi } from 'linkbreakers';
const links = new LinksApi(new Configuration({
accessToken: process.env.LINKBREAKERS_TOKEN ?? '',
}));
// Creates the link, its short URL and its dynamic QR code.
const { link } = await links.linksServiceCreate({
createLinkRequest: { destination: 'https://example.com', name: 'Flyer' },
});
console.log(link?.shortlink);import os
from linkbreakers import ApiClient, Configuration, CreateLinkRequest, LinksApi
config = Configuration(access_token=os.environ["LINKBREAKERS_TOKEN"])
with ApiClient(config) as client:
# Creates the link, its short URL and its dynamic QR code.
response = LinksApi(client).links_service_create(
create_link_request=CreateLinkRequest(destination="https://example.com", name="Flyer")
)
print(response.link.shortlink)package main
import (
"context"
"fmt"
"log"
"os"
"github.com/linkbreakers-com/linkbreakers-go"
)
func main() {
config := linkbreakers.NewConfiguration()
config.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("LINKBREAKERS_TOKEN"))
client := linkbreakers.NewAPIClient(config)
// Creates the link, its short URL and its dynamic QR code.
request := linkbreakers.NewCreateLinkRequest("https://example.com")
request.SetName("Flyer")
response, _, err := client.LinksAPI.LinksServiceCreate(context.Background()).CreateLinkRequest(*request).Execute()
if err != nil {
log.Fatal(err)
}
fmt.Println(response.Link.GetShortlink())
}import com.linkbreakers.ApiClient;
import com.linkbreakers.api.LinksApi;
import com.linkbreakers.model.CreateLinkRequest;
import com.linkbreakers.model.CreateLinkResponse;
public class Quickstart {
public static void main(String[] args) throws Exception {
ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("LINKBREAKERS_TOKEN"));
// Creates the link, its short URL and its dynamic QR code.
CreateLinkResponse response = new LinksApi(client).linksServiceCreate(
new CreateLinkRequest().destination("https://example.com").name("Flyer"), null);
System.out.println(response.getLink().getShortlink());
}
}use linkbreakers::apis::{configuration::Configuration, links_api};
use linkbreakers::models::CreateLinkRequest;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut config = Configuration::new();
config.bearer_access_token = Some(std::env::var("LINKBREAKERS_TOKEN")?);
// Creates the link, its short URL and its dynamic QR code.
let request = CreateLinkRequest {
destination: "https://example.com".into(),
name: Some("Flyer".into()),
..Default::default()
};
let response = links_api::links_service_create(&config, request, None).await?;
println!("{}", response.link.and_then(|link| link.shortlink).unwrap_or_default());
Ok(())
}Needs an async runtime: cargo add tokio --features full.
POST https://api.linkbreakers.com/v1/links with a destination creates the link, its short URL and its QR code, and GET https://api.linkbreakers.com/v1/links/{id}?include=qrcodeSignedUrl returns the QR code image URL. POST https://api.linkbreakers.com/v1/webhooks makes Linkbreakers POST every scan of that link to your endpoint as JSON, signed with HTTP Message Signatures (RFC 9421). AI agents can create and track QR codes through the hosted MCP server at https://mcp.linkbreakers.com. The Free plan costs $0, needs no credit card, and includes the REST API, webhooks and the MCP server.
REST API for links, QR codes, workflow steps, media (PDFs, images, videos), visitors, events, analytics, webhooks and custom domains. Bearer auth with a workspace API token.
https://api.linkbreakers.com
Send a workspace API token as Authorization: Bearer <token>. Create one yourself in the dashboard after a free signup; no sales contact is needed.
MCP clients sign in with OAuth 2.1 instead: the MCP server does not accept workspace API tokens. The full walkthrough for agents is auth.md, and the protected resource metadata is at https://api.linkbreakers.com/.well-known/oauth-protected-resource.
Every response describes where the caller stands in the IETF RateLimit-Policy and RateLimit header fields (draft-ietf-httpapi-ratelimit-headers), and in RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset and X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (a Unix timestamp) for clients that read those. A request past the limit gets 429 Too Many Requests with Retry-After in seconds.
Each plan also includes a number of API calls per billing cycle. Past it, calls answer 429 with the code MAX_PUBLIC_API_QUERIED_REACHED until the cycle renews or the plan changes.
List pricing plans (no token needed)
curl https://api.linkbreakers.com/v1/pricing/plansList links
curl "https://api.linkbreakers.com/v1/links?pageSize=5" \
-H "Authorization: Bearer $LINKBREAKERS_TOKEN"Create a link with a tracked QR code
curl -X POST https://api.linkbreakers.com/v1/links \
-H "Authorization: Bearer $LINKBREAKERS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"destination": "https://example.com", "waitForQrcode": true}'Get the link's QR code image URL (signed, it expires, so fetch it when you render)
curl "https://api.linkbreakers.com/v1/links/$LINK_ID?include=qrcodeSignedUrl" \
-H "Authorization: Bearer $LINKBREAKERS_TOKEN"Send that link's scans to your endpoint with a webhook (linkId is the link's id; leave it out to receive every link's scans)
curl -X POST https://api.linkbreakers.com/v1/webhooks \
-H "Authorization: Bearer $LINKBREAKERS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "Scans", "endpointUrl": "https://hooks.example.com/linkbreakers", "linkId": "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed"}'A webhook is created with name and endpointUrl, optionally a linkId to receive one link's scans only, and triggers to pick the workflow step kinds that fire it (KIND_ENTRY, KIND_INTERACTION, KIND_CONDITION, KIND_EXIT; empty means all). There is one delivery per step completion (a step completed twice in a visit sends two), each a JSON POST whose body is an envelope:
type: the visit event, visit.entered (entry), visit.interacted (a form or other interaction), visit.routed (a condition) or visit.exited (the exit, for a plain QR code the redirect)id, version, createdAt, attempt and webhook: the delivery ID (the same on every retry), the contract version, when the step was completed, the attempt number, and the webhook's id and namedata.event: the scan, with action (SCAN or CLICK), scannedAt, device (type, browser, platform, country, city, in-app browser), visitor (email, phone and attributes once known), traces (what the visitor did at each step), journey and link (its metadata and tags)data.step: the workflow step that was completeddata.lbid: the Linkbreakers ID of the visit, for attribution in your own systemsHeaders: X-Linkbreakers-Event (the event) and X-Linkbreakers-Delivery-ID (deduplicate retries on it), both covered by Signature, Signature-Input and Signature-Agent with Content-Digest, verifiable with public keys only (how). The full payload and delivery rules are in How do webhooks work in Linkbreakers?
A tested Python example, from creating the QR code to a receiver that answers first, skips retries and saves each scan: Create a QR code from Python and get its scans in a webhook.
POST /v1/links/bulk/jobs, then check it here until it is done.GET https://api.linkbreakers.com/v1/pricing/plans: List pricing plansGET https://api.linkbreakers.com/v1/public/page-theme-templates: List page theme templatesGET https://api.linkbreakers.com/v1/public/qrcode-templates: List QR code templatesGET https://api.linkbreakers.com/v1/workspace-tokens/scopes: List the scopes a token can havePOST https://api.linkbreakers.com/v1/links/batch: Create multiple links from a bare JSON arrayPOST https://api.linkbreakers.com/v1/links/bulk: Create multiple links in a single requestPOST https://api.linkbreakers.com/v1/links/bulk/jobs: Create links in bulk in the backgroundPOST https://api.linkbreakers.com/v1/page-themes/bulk-update: Restyle many links' page themesPOST https://api.linkbreakers.com/v1/workflow-steps/bulk-insert: Insert one step into many links' workflowsFor one QR code per table, product or serial number from a single link, use a dynamic short link: POST /v1/links/{id}/qrcode-images:render draws up to 100 codes per call in the link's design. On packaging, the same call renders a GS1 Digital Link code per batch (01/{gtin}/10/{batch}), and a visitor data condition sends a recalled batch to its notice.
Runnable examples, one directory per task, in linkbreakers-com/examples:
brew install linkbreakers-com/tap/linkbreakers (registry)curl -fsSL https://cli.linkbreakers.com/install.sh | bashnpm install -g linkbreakers-cli (registry, latest 1.200.2)https://mcp.linkbreakers.com (oauth2). Create links, QR codes, workflows and media, and read visitors and analytics in your workspace.
Local stdio server: npx -y linkbreakers-mcp (package linkbreakers-mcp on npm, latest 1.200.2, source at https://github.com/linkbreakers-com/linkbreakers-mcp)
Linkbreakers MCP supports MCP Apps (io.modelcontextprotocol/ui, text/html;profile=mcp-app) and the OpenAI Apps SDK (openai/outputTemplate): tool results render as interactive UI in the conversation. Views: Link card (ui://linkbreakers/link-card.html, for links_create, links_get); Visitors (ui://linkbreakers/visitors-card.html, for visitors_list); Workspace metrics (ui://linkbreakers/workspace-metrics.html, for analytics_workspace_metric). MCP Apps guidehttps://linkbreakers.com/mcp (no sign-in). Search and read the Linkbreakers help center and developer docs. No sign-in required.ora, an independent scanner, grades how well AI agents can discover a site, call its API and MCP server and sign in to it. The badge is linkbreakers.com's live grade. Full report
Updated 2026-11-16 by Laurent Schaffner.
The Free plan costs $0, needs no credit card, and includes the REST API, webhooks and the MCP server.