---
title: "Get OCR text positions for a frame"
method: GET
path: "/frames/{frame_id}/ocr"
tags: ["Frames"]
---

# Get OCR text positions for a frame

`GET /frames/{frame_id}/ocr`

Returns OCR text positions with bounding boxes for text selection overlay on screenshots.

## Path parameters

- `frame_id` integer, required

## Response `200`

OCR data with text positions

- FrameOcrResponse
  - `frame_id` integer, required
  - `text_positions` object[], required
    - `text` string
    - `x` number
    - `y` number
    - `width` number
    - `height` number

## Changes

- **2026-02-16** `e143bf8d73bc` — 1 info
  - endpoint added
- **2026-02-11** `2825740bcf63` — 1 breaking
  - api path removed without deprecation
- **2026-02-11** `61c0a2f34556` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/screenpipe/apis/screenpipe-api/changes/frames/:frame_id/ocr/get.md)

---

[API](https://skmtc.dev/screenpipe/apis/screenpipe-api.md) · [All operations](https://skmtc.dev/screenpipe/apis/screenpipe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/screenpipe/screenpipe-api/revisions/e143bf8d73bc/schema)
