# LensaOCR > Tesseract-compatible OCR over HTTP: send an image, get its text and word boxes in Tesseract's txt, TSV, hOCR and ALTO formats. An HTTP API at https://lensaocr.saastemly.com, also an MCP server at https://lensaocr.saastemly.com/mcp, paid per call: with x402 (USDC on Base; an unpaid call answers 402 Payment Required with the terms, which x402 clients pay automatically), or with prepaid credits or a monthly plan bought by card at https://lensaocr.saastemly.com (send the API key as Authorization: Bearer ). ## Endpoints - POST /v1/ocr ($0.005 per call; MCP tool "ocr"): Reads an image's text and word boxes (Tesseract txt, TSV, hOCR and ALTO). ## Examples POST https://lensaocr.saastemly.com/v1/ocr ```json { "image_base64": "iVBORw0KGgoAAAANSUhEUg==", "format": "text" } ``` ## More - [Pricing as JSON](https://lensaocr.saastemly.com/v1/pricing) - [OpenAPI description](https://lensaocr.saastemly.com/openapi.json) - [x402 discovery manifest](https://lensaocr.saastemly.com/.well-known/x402) - [MCP server](https://lensaocr.saastemly.com/mcp): Streamable HTTP; add it to an MCP client with the header Authorization: Bearer - [Home page](https://lensaocr.saastemly.com/)