---
title: "Tool Qr Reader"
method: POST
path: "/v1/tools/qr-reader"
tags: ["Tools"]
---

# Tool Qr Reader

`POST /v1/tools/qr-reader`

Performs QR code detection and reading to extract encoded information from images.

Args:
    params (QRReaderRequest): The input data containing the following fields:
        - image (bytes): The image file to analyze for QR code detection and reading.
    baseten_inference_sender: Dependency Injection for
        sending inference requests to the Baseten model server for QR code processing.

Returns:
    QRReaderResponse | JSONResponse
        Success: QRReaderResponse containing detected QR codes with decoded text and locations.
        Error: JSONResponse with error details and appropriate status code.

## Query parameters

- `timeout` integer, nullable

## Request body

- QRReaderRequest
  - `image` string, required

## Response `200`

Successful Response

- QRReaderResponse
  - `data` QRReaderResponseData[], nullable, required
    - `text` string, required
    - `x` integer, required
    - `y` integer, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-02-13** `eeb4eb7952ab` — 1 info
  - endpoint added
- **2026-02-13** `62ce42134d4b` — 1 breaking
  - api path removed without deprecation
- **2026-02-13** `eeb4eb7952ab` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/landing-ai/apis/ade-api/changes/v1/tools/qr-reader/post.md)

---

[API](https://skmtc.dev/landing-ai/apis/ade-api.md) · [All operations](https://skmtc.dev/landing-ai/apis/ade-api/llms.txt) · [OpenAPI document](https://skmtc.dev/landing-ai/apis/ade-api/revisions/eeb4eb7952ab?raw)
