---
title: "Image to Text (OCR) (x402)"
method: GET
path: "/x402/v2/image-to-text"
tags: ["x402"]
---

# Image to Text (OCR) (x402)

`GET /x402/v2/image-to-text`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/image-to-text`
- Auth: none required

OCR on any image via Claude vision. Works on screenshots, photos of documents, handwritten notes. Returns text with confidence.

## Query parameters

- `base64` string: Base64-encoded image
- `image_url` string: URL to image

## Response `200`

Success

- object
  - `text` string
  - `text_type` string
  - `confidence` string
  - `language_detected` string

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

[API](https://skmtc.dev/strale/apis/strale-api-2.md) · [All operations](https://skmtc.dev/strale/apis/strale-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/strale/apis/strale-api-2/revisions/a5293878cfc6?raw)
