URL Shortener API Guides
Guides to the REST API, bulk link creation and the MCP server, with links to the webhook, OAuth and command-line docs at b1.lc/docs/.
Yes. The BN Shortener API is a REST API with 180+ operations: create links, QR codes and bio pages, run Launch Check and read stats. It works with API keys or OAuth 2.1, sends 32 signed webhook events, and has Python and TypeScript SDKs plus an MCP server for AI assistants.
BN Shortener has a REST API with 180+ operations in 22 areas, so anything you do in the dashboard you can do from code: create and update short links, make QR codes, build bio pages, run Launch Check and read the stats. Apps that act for other people sign in with OAuth 2.1, and 32 signed webhook events tell your system when something happens, such as a traffic spike on a link or a new answer to a feedback QR code.
Two SDKs are released: pip install bn-shortener for Python, which also installs the bn command line, and npm install @bn-shortner/shortener for TypeScript. AI assistants such as Claude can manage links through the hosted MCP server at b1.lc/mcp, which offers 28 tools, and there is an n8n community node and a GitHub Action for workflows.
The guides below walk through the common jobs: shortening links from code, bulk imports from a CSV file, replacing Firebase Dynamic Links and working with AI assistants. For the full picture, see the developer platform, every SDK, plugin and workflow node on the integrations page, and the API reference. The API and the MCP server come with every plan, including Free; webhooks come with Pro and higher.
All developers guides
How to bulk shorten links from a CSV or spreadsheet Shorten hundreds of URLs at once from a CSV or spreadsheet: the column layout that works, a dry run before anything is created, and the API, CLI and QR options.
Manage short links with AI assistants: the BN Shortener MCP server Connect Claude, Claude Code, Cursor or VS Code to the hosted MCP server at b1.lc/mcp and create, check and report on short links by asking in plain language.
URL shortener API: free APIs compared, and how to use one from code Free URL shortener APIs compared (Bitly, Rebrandly, Short.io, TinyURL, BN Shortener), what to check, and curl, Python and Node examples to create links. Try it on your next link
The Free plan includes a custom domain, 5 dynamic QR codes, a bio page and click analytics. No credit card.