PeumeAPI

Developer & public data · Google

Search Google Lens

Run a Google Lens lookup on an image for visual matches or pages with the exact image.

From $0.0005 per unit

Call it

curl https://api.peume.com/v1/call/search-google-lens \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "search_type": "visual_matches",
    "max_results": 50
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: search-google-lens.

Parameters

image_urlstring

A public http or https link to the image you want to look up. The image must be reachable without a login. Also accepts a data URI (data:image/png;base64,...). Provide images through exactly one of Image URL, Upload images, or Image base64.

image_uploadarray

Click Upload new files and pick up to 10 images from your computer, or paste links to files already stored on. When set, this takes priority over Image URL.

image_base64array

Raw image bytes encoded as base64, one entry per image, with or without the data:image/...;base64, prefix. Best for API, MCP, and automation callers that hold local files. The platform caps run input at 9 MB, so this door fits about 6 MB of images per run; for bigger files use Upload images. When set, this takes priority over Image URL.

search_typestring

What kind of matches to return. 'Visual matches' finds visually similar images, including shoppable listings with prices where the retailer publishes them, and is the general reverse image search. 'Exact matches' finds every page carrying this exact image, which is what you want for attribution and licensing checks. 'Products' was retired by Google in October 2026 and now returns an error row with nothing billed; use 'Visual matches' instead.

visual_matches · products · exact_matches

Example: visual_matches

querystring

Optional. Add words to narrow the results, for example 'blue' or 'leather'. Applies to visual matches only; the source ignores it for exact matches.

max_resultsinteger

How many matches to return per image. One lookup returns up to about 60 visual matches or up to 400 exact matches, so this trims rather than pages. Each image searched is billed at least 50 visual matches or 40 exact matches, even when fewer are found, so smaller values are raised to that minimum and you receive the rows you pay for.

Example: 50

countrystring

Optional two letter country code such as us, gb or de. Affects which regional results and shopping listings are returned.

languagestring

Optional two letter language code such as en, es or fr. Note that match coverage genuinely varies by language: some languages return fewer results for the same image.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.