# Lenso.ai API reference

> The Lenso.ai API runs reverse image search and, in supported regions, face search. It returns pages of matching images with the source page, a title, a confidence score and an indexing date. An investigator uses it to find where else a picture appears. Requests are JSON POSTs with the image as a…

Source: https://osinttools.io/apis/lenso-ai/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/lenso-ai/

- Base URL: https://api.lenso.ai
- Authentication: Bearer token in the `Authorization` header. Get a key: https://lenso.ai/en/page/api Token obtained from the Lenso.ai website.
- Pricing: Subscription
- Rate limits: Not stated in the docs; the Developer subscription is described as up to 5000 API calls per month.
- Vendor docs: https://github.com/lenso-ai/reverse-image-search-api

## Overview

The Lenso.ai API runs reverse image search and, in supported regions, face search. It returns pages of matching images with the source page, a title, a confidence score and an indexing date. An investigator uses it to find where else a picture appears.

Requests are JSON POSTs with the image as a base64 string in the `image` field (no multipart upload). The token from the Lenso.ai website goes in `Authorization: Bearer <token>`. Face search is a separate host (`api.eyematch.ai`) and requires living in a region where the feature is offered and signing a facial search agreement. API access needs the Developer subscription, which the site describes as up to 5000 API calls per month.

Each returned page counts as one request, with up to 20 results per page. `domainsToInclude` and `domainsToExclude` take up to 100 entries each. A `GET /usage` call for remaining quota also exists; its response is not described in the docs and is not listed here.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Invalid request: for example a missing or non-Base64 image, invalid sort type, category, page or date, more than 100 domains, or the access request limit reached |
| 401 | Invalid access token or API access expired |
| 404 | Resource not found |
| 429 | Request quota exceeded |
| 500 | Internal server error |

## Image search

### Category search: find duplicates, landmarks, similar or related images.

`POST /search`

- Takes: Image
- Footprint: passive (the target is not contacted)

Searches the index for the submitted image within one category. Send either page or multiPage. Results are sorted by quality or date.

Response fields:

- `results[].urlList[].imageUrl` (string): URL of the matching image
- `results[].urlList[].sourceUrl` (string): Page the image appears on
- `results[].urlList[].title` (string): Title of the source page
- `results[].base64Image` (string): The result image, Base64-encoded
- `results[].confidenceScore` (number): Match confidence, 0 to 100
- `results[].date` (string): Indexing date
- `availablePages` (integer): Number of pages available
- `multiPage[]` (integer): Pages the results were merged from

```bash
curl -X POST 'https://api.lenso.ai/search' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"image":"BASE64_ENCODED_IMAGE","category":"duplicates","sortType":"QUALITY_DESCENDING","page":1}'
```

Example response (200):

```json
{
  "results": [
    {
      "urlList": [
        {
          "imageUrl": "https://example.com/images/photo.jpg",
          "sourceUrl": "https://example.com/gallery",
          "title": "Example gallery"
        }
      ],
      "base64Image": "BASE64_RESULT_IMAGE",
      "confidenceScore": 92.5,
      "date": "2025-01-01"
    }
  ],
  "availablePages": 3
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
