Google API
Google Lens API
Reverse image search: find web pages and visual matches for an image URL.
POST/v1/run/google.lens
Uptime
100.00%
30d · 4 calls
Requests
11
30d · weekly, last 12 wks
Response
2.6s
median · 30d
Try it
Make your first request
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
"data": {
"results": [
{
"image": "https://example.com/image.jpg",
"link": "https://example.com/page",
"source": "https://example.com/page",
"thumbnailUrl": "https://example.com/image.jpg",
"title": "Example title"
}
],
"url": "https://example.com/page"
},
"found": true
}Response interface
interface GoogleLensResponse {
data: {
results: {
image?: string;
link: string;
source?: string;
thumbnailUrl?: string;
title: string;
}[];
url: string;
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-09-16 · uptime and latency measured over 30dPOST /v1/run/google.lens
curl -X POST https://api.getanyapi.com/v1/run/google.lens \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://i.imgur.com/HBrB8p0.png"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| url | string | "https://i.imgur.com/HBrB8p0.png"Public URL of the image to search with. |
| Response | ||
| data | object | Result payload, or null when nothing was found. |
| data.results | object[] | Visual match result records. Populated whenever the provider has data for the entity. |
| data.results[].image | string | Matched image URL. |
| data.results[].link | string | URL to the matching web page. Populated whenever the provider has data for the entity. |
| data.results[].source | string | Source site name. |
| data.results[].thumbnailUrl | string | Thumbnail image URL for the match. |
| data.results[].title | string | Title of the matching web page. Populated whenever the provider has data for the entity. |
| data.url | string | The input image URL that was searched. |
| found | boolean | True when at least one visual match was returned. |
| Price | ||
| Price per request | USD | $0.00297 |
| Price /1k req | USD | $2.97 |
FAQ
About the Google Lens API
The AnyAPI Google Lens API returns Google lens data as normalized JSON from one POST call to /v1/run/google.lens. Reverse image search: find web pages and visual matches for an image URL. AnyAPI returns one normalized schema whichever source serves it. It costs from $2.97 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of Google lens calls through AnyAPI succeeded, with a median response time of 2.6 seconds across 4 measured calls.
It costs from $2.97 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.
Reverse image search: find web pages and visual matches for an image URL. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.
Over the last 30 days, 100.0% of Google lens calls through AnyAPI succeeded, with a median response time of 2.6 seconds across 4 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.