Bitly QR Codes API

Create dynamic and static QR Codes, customize their render, fetch the image, upgrade a code to a Bitlink, and read scan metrics by browser, city, country and device OS. 16 operation(s), extracted verbatim from the OpenAPI Bitly publishes at https://dev.bitly.com/v4/v4.json.

Operations 16

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /qr-codes Create a saved QR code · Create a QR Code #
Ask an LLM
“How do I create a trackable QR code that points to a URL?”
“Can I customize the colors and look of a QR code when I create it?”
Tell an agent
Create a QR code in group {group_guid} pointing to {destination}.
Make a QR code titled {title} for {destination} in group {group_guid}, tagged {tags}.
POST /qr-codes/static Generate a one-off static QR code image · Generate a static QR Code image #
Ask an LLM
“Can I just generate a QR code image for some content without saving it in my account?”
“Which image formats can a static QR code be returned in?”
Tell an agent
Generate a static QR code image encoding {content} for group {group_guid}.
Render an unsaved {format} QR code of {content} using group {group_guid}.
GET /qr-codes/{qrcode_id}/image Download a saved QR code's image · Retrieve a QR Code image #
Ask an LLM
“How do I download the image for a QR code I already created?”
“Can I get an existing QR code as an SVG or a PNG?”
Tell an agent
Download the image for QR code {qrcode_id}.
Get QR code {qrcode_id}'s image as {format}.
PATCH /qr-codes/{qrcode_id} Edit a QR code's title, design or tags · Update a QR Code #
Ask an LLM
“How do I change the design or title of a single existing QR code?”
“Can I set or change the expiration on one QR code after it is created?”
Tell an agent
Rename QR code {qrcode_id} to {title}.
Set the tags on QR code {qrcode_id} to {tags}.
GET /qr-codes/{qrcode_id} Get a QR code's details · Retrieve a QR Code #
Ask an LLM
“What destination and settings does one of my QR codes have?”
“Can I look up a QR code's metadata by its ID?”
Tell an agent
Show the details of QR code {qrcode_id}.
Fetch the metadata for QR code {qrcode_id}.
DELETE /qr-codes/{qrcode_id} Delete a QR code · Delete a QR Code #
Ask an LLM
“Can I delete a QR code I no longer use?”
“Does deleting a QR code also remove the short link behind it?”
Tell an agent destructive · confirm first
Delete QR code {qrcode_id}.
Remove QR code {qrcode_id} and its associated link.
GET /groups/{group_guid}/qr-codes List and search a group's QR codes · Retrieve QR Codes by Group #
Ask an LLM
“What QR codes exist in one of my groups?”
“Can I filter my QR codes to GS1 codes or ones with custom designs?”
Tell an agent
List the QR codes in group {group_guid}.
Search QR codes in group {group_guid} for {query}.
PATCH /groups/{group_guid}/qr-codes Bulk archive or retag up to 100 QR codes · Bulk update QR codes #
Ask an LLM
“Can I archive or unarchive many QR codes in one request?”
“Is there a way to tag a batch of QR codes at once, and are Pages codes included?”
Tell an agent
Archive the QR codes {qr_code_ids} in group {group_guid}.
Add tags {add_tags} to QR codes {qr_code_ids} in group {group_guid}.
GET /qr-codes/{qrcode_id}/scans Get a QR code's scans over time · Get Scans for a QR Code #
Ask an LLM
“How many times was my QR code scanned each day?”
“Can I see a scan timeline for one QR code?”
Tell an agent
Show scans per {unit} for QR code {qrcode_id} over the last {units} periods.
Chart the scan history of QR code {qrcode_id} by {unit}.
GET /qr-codes/{qrcode_id}/scans/summary Get a QR code's total scans · Get Scans Summary for a QR Code #
Ask an LLM
“What is the total scan count for one of my QR codes?”
“Can I get a single scan total for a QR code over the past week?”
Tell an agent
Give me the total scans for QR code {qrcode_id} over the last {units} {unit}s.
Sum all scans of QR code {qrcode_id} into one number, by {unit}.
GET /qr-codes/{qrcode_id}/scans/countries Get a QR code's scans by country · Get Scans for a QR Code by Country #
Ask an LLM
“Which countries is my QR code being scanned in?”
“Can I rank countries by scans for one QR code?”
Tell an agent
Break down scans of QR code {qrcode_id} by country over the last {units} {unit}s.
List the top {size} countries scanning QR code {qrcode_id} by {unit}.
GET /qr-codes/{qrcode_id}/scans/cities Get a QR code's scans by city · Get Metrics for a QR Code by City #
Ask an LLM
“In which cities are people scanning my QR code?”
“Can I see the top cities for scans of one QR code?”
Tell an agent
Break down scans of QR code {qrcode_id} by city over the last {units} {unit}s.
List the top {size} cities scanning QR code {qrcode_id} by {unit}.
GET /qr-codes/{qrcode_id}/scans/device_os Get a QR code's scans by device OS · Get Scans for a QR Code by Device OS #
Ask an LLM
“Are my QR code scans coming mostly from iOS or Android?”
“Which device operating systems scan a given QR code?”
Tell an agent
Break down scans of QR code {qrcode_id} by device operating system over the last {units} {unit}s.
Show the top {size} device OSes scanning QR code {qrcode_id} by {unit}.
GET /qr-codes/{qrcode_id}/scans/browsers Get a QR code's scans by browser · Get Scans for a QR Code by Browser #
Ask an LLM
“Which browsers open my QR code after it is scanned?”
“Can I see scan counts per browser for one QR code?”
Tell an agent
Break down scans of QR code {qrcode_id} by browser over the last {units} {unit}s.
Show the top {size} browsers for QR code {qrcode_id} scans by {unit}.
PATCH /qr-codes/{qrcode_id}/redirect Change a standalone QR code's destination URL · Redirect a QR Code #
Ask an LLM
“Can I change where a standalone QR code sends people after it has been printed?”
“Why can't I redirect a QR code that is tied to a Bitlink this way?”
Tell an agent
Redirect standalone QR code {qrcode_id} to {long_url}.
Point decoupled QR code {qrcode_id} at the new destination {long_url}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bitly:bitly-qr-codes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bitly-qr-codes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 4.0.0
  title: Bitly QR Codes API
  termsOfService: https://bitly.com/pages/terms-of-service
  contact:
    url: https://bitly.is/API-support
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  x-logo:
    url: /v4/header-logo.png
  description: QR codes can be created and customized with different dot patterns, corner shapes, colors, and more. They can contain bitlinks, links to microsites, or several kinds of static data.
servers:
- url: https://api-ssl.bitly.com/v4
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (79 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/bitly/refs/heads/main/openapi/bitly-qr-codes-api-openapi.yml