OpenQR OpenQR API

The OpenQR API API from OpenQR — 1 operation(s) for openqr api.

GitHub OpenAPI

Operations 1

GET /v1 API discovery index #

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/openqr-uk:openqr-uk-openqr-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

openqr-uk-openqr-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenQR API
  version: 1.0.0
  description: 'Free REST API for generating QR codes and managing dynamic (editable) codes with scan analytics. All endpoints require a Bearer API key — create one free at https://openqr.uk/api, then send it as `Authorization: Bearer oqr_…`.


    ## Error catalogue

    Every error response is JSON: `{ "error": "", "code": "" }` — branch on `code` (one of unauthorized, invalid_request, plan_limit_exceeded, rate_limited, slug_taken, unsafe_destination, not_found), never on the message text. Status codes used across the API:


    - **400 Bad Request** — invalid JSON body, a missing/invalid required field (e.g. `data` is required), or a disallowed dynamic-code destination. Destinations must be public `http(s)` URLs: private/internal/loopback hosts and `oqr.to` self-loops are rejected (e.g. `Destinations can''t point to private or internal addresses.`).

    - **401 Unauthorized** — the `Authorization: Bearer oqr_…` header is missing or the key is invalid/revoked.

    - **404 Not Found** — the referenced code, folder or theme doesn''t exist or isn''t owned by your key.

    - **409 Conflict** — a requested custom `slug` is already taken by another account.

    - **429 Too Many Requests** — dynamic-code creation rate limit hit (300 codes per hour, per user). Each created code consumes one unit of the rolling window: a bulk request consumes one unit per code, so it is rejected up-front (nothing is created) when its row count exceeds the remaining budget. Code-creation responses carry `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset` (unix seconds); a 429 also includes `Retry-After`.

    - **500 Internal Server Error** — an unexpected server-side failure.'
  contact:
    name: OpenQR
    url: https://openqr.uk/api
  license:
    name: AGPL-3.0
    url: https://www.gnu.org/licenses/agpl-3.0.html
servers:
- url: https://openqr.uk
  description: Production
security:
- bearerAuth: []
tags:
- name: OpenQR API
paths:
  /v1:
    get:
      operationId: discovery
      summary: API discovery index
      description: Public, unauthenticated. Returns the API version, links to the docs/OpenAPI spec/MCP server, the auth scheme, the rate-limit summary, and a map of every endpoint.
      security: []
      responses:
        '200':
          description: Discovery document.
          content:
            application/json:
              example:
                name: OpenQR API
                version: 1.0.0
                documentation: https://openqr.uk/api
                openapi: https://openqr.uk/v1/openapi.json
                mcp: https://openqr.uk/mcp
                authentication:
                  type: bearer
                  header: 'Authorization: Bearer oqr_…'
                  get_a_key: https://openqr.uk/api
                rate_limit:
                  scope: dynamic-code creation
                  limit_per_hour: 300
                  headers:
                  - X-RateLimit-Limit
                  - X-RateLimit-Remaining
                  - X-RateLimit-Reset
                endpoints:
                  GET /v1/qr: Generate a QR image (SVG or PNG) from query params.
      tags:
      - OpenQR API