QRFLOW.codes Products API

GS1 Digital Link product codes for retail packaging. Business plan.

GitHub OpenAPI

Operations 5

GET /products List GS1 products #
POST /products Add a product #
GET /products/{gtin} One product #
GET /products/{gtin}/scans Scans for one product #

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/qrflow-codes:qrflow-codes-products-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

qrflow-codes-products-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: QRFLOW.codes Products API
  version: 1.0.0
  summary: Create QR codes, change where dynamic codes point, pull scan analytics, bulk-generate, manage webhooks.
  description: 'Everything the QRFLOW.codes dashboard does, from your own code. Authenticate with a Business API key (`Authorization: Bearer qrf_live_…`, made on the Account page) or an OAuth token from https://qrflow.codes/oauth/authorize. Dynamic codes (url, phone, email, sms, location on paid plans) can be re-pointed after printing; their printed link uses the account''s own domain when one is connected. Also available as an MCP server at https://qrflow.codes/mcp for Claude, ChatGPT, Cursor and Claude Code.'
  termsOfService: https://qrflow.codes/terms
  contact:
    name: QRFLOW.codes
    url: https://qrflow.codes/developers
    email: hello@qrflow.codes
servers:
- url: https://qrflow.codes/api/v1
security:
- bearerAuth: []
tags:
- name: Products
  description: GS1 Digital Link product codes for retail packaging. Business plan.
paths:
  /products:
    get:
      tags:
      - Products
      summary: List GS1 products
      description: The codes that go on retail packaging, newest first.
      operationId: listProducts
      parameters:
      - name: q
        in: query
        schema:
          type: string
        description: Search names and GTINs
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 25
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  products:
                    type: array
                    items:
                      $ref: '#/components/schemas/Product'
        '402':
          description: Needs Business
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    post:
      tags:
      - Products
      summary: Add a product
      description: 'The GTIN is checked before anything is written: the last digit is a check digit and it has to match. 8, 12, 13 and 14 digit forms are all accepted and stored as 14.'
      operationId: createProduct
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProduct'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: object
                properties:
                  product:
                    $ref: '#/components/schemas/Product'
        '400':
          description: Not a valid GTIN
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Needs Business
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: That GTIN is already a product, or the plan is full
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /products/{gtin}:
    parameters:
    - name: gtin
      in: path
      required: true
      schema:
        type: string
      description: 8, 12, 13 or 14 digits
    get:
      tags:
      - Products
      summary: One product
      operationId: getProduct
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  product:
                    $ref: '#/components/schemas/Product'
        '404':
          description: No product with that GTIN
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /products/{gtin}/links:
    parameters:
    - name: gtin
      in: path
      required: true
      schema:
        type: string
    put:
      tags:
      - Products
      summary: Point a link type somewhere
      description: 'Idempotent: the same link_type and batch replaces that link rather than adding a second. A batch scopes the link to codes carrying that lot only, which is how a recall is published without touching the rest of the run.'
      operationId: setProductLink
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetProductLink'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  product:
                    $ref: '#/components/schemas/Product'
        '400':
          description: Unknown link_type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No product with that GTIN
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /products/{gtin}/scans:
    parameters:
    - name: gtin
      in: path
      required: true
      schema:
        type: string
    - name: days
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 365
        default: 30
    get:
      tags:
      - Products
      summary: Scans for one product
      description: Counted per GTIN and broken down by link type and batch. went_nowhere counts scans that found no destination, and should be zero.
      operationId: getProductScans
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductScans'
        '404':
          description: No product with that GTIN
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          examples:
          - invalid_request
          - invalid_token
          - upgrade_required
          - insufficient_scope
          - not_found
          - conflict
          - rate_limited
        message:
          type: string
    CreateProduct:
      type: object
      required:
      - gtin
      - name
      properties:
        gtin:
          type: string
          example: 00860001234565
        name:
          type: string
          maxLength: 200
          example: Wildflower Honey 12 oz
        brand:
          type: string
          maxLength: 200
        url:
          type: string
          format: uri
          description: Where a phone should land. Omit it and build a page instead.
    Product:
      type: object
      properties:
        id:
          type: string
          format: uuid
        gtin:
          type: string
          description: Always 14 digits
        name:
          type: string
        brand:
          type:
          - string
          - 'null'
        digital_link:
          type: string
          description: The address printed on the pack
        page_url:
          type:
          - string
          - 'null'
          description: The product page we host, when one is built
        default_url:
          type:
          - string
          - 'null'
          description: Where an ordinary scan of the pack ends up, worked out the way the resolver works it out. Null means the code answers 404.
        links:
          type: array
          items:
            type: object
            properties:
              link_type:
                type: string
              url:
                type: string
              title:
                type: string
              is_default:
                type: boolean
              batch:
                type:
                - string
                - 'null'
        created_at:
          type: string
          format: date-time
    ProductScans:
      type: object
      properties:
        gtin:
          type: string
        days:
          type: integer
        total:
          type: integer
        went_nowhere:
          type: integer
          description: Scans that found no destination. Should be zero.
        by_country:
          type: array
          items:
            type: object
            properties:
              key:
                type: string
              scans:
                type: integer
        by_device:
          type: array
          items:
            type: object
            properties:
              key:
                type: string
              scans:
                type: integer
        by_link_type:
          type: array
          items:
            type: object
            properties:
              key:
                type: string
              scans:
                type: integer
        by_batch:
          type: array
          items:
            type: object
            properties:
              key:
                type: string
              scans:
                type: integer
    SetProductLink:
      type: object
      required:
      - link_type
      - url
      - title
      properties:
        link_type:
          type: string
          enum:
          - gs1:pip
          - gs1:instructions
          - gs1:recipeInfo
          - gs1:allergenInfo
          - gs1:nutritionalInfo
          - gs1:safetyInfo
          - gs1:productSustainabilityInfo
          - gs1:recallStatus
          - gs1:hasRetailers
          - gs1:promotion
          - gs1:review
          - gs1:support
        url:
          type: string
          format: uri
        title:
          type: string
          maxLength: 200
        is_default:
          type: boolean
          description: What a phone camera opens
        batch:
          type: string
          maxLength: 20
          description: Scope this link to one lot
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A Business API key (qrf_live_…) or an OAuth access token.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://qrflow.codes/oauth/authorize
          tokenUrl: https://qrflow.codes/api/oauth/token
          refreshUrl: https://qrflow.codes/api/oauth/token
          scopes:
            profile: Plan and email
            codes:read: Read codes
            codes:write: Create, edit, delete codes
            analytics:read: Scan analytics
            domains:read: Link domains
            webhooks:manage: Webhooks
externalDocs:
  url: https://qrflow.codes/developers
  description: Human-readable reference with curl examples
x-mcp:
  url: https://qrflow.codes/mcp
  transport: streamable-http
  auth: oauth2 (dynamic client registration, PKCE S256) or a Business API key as bearer
x-rate-limits:
  api_keys: 600 requests per minute per key
  bulk: 10,000 codes per month on Business, 2,000 per request