API para Google: Lens
Busca reversa de imagem: encontre páginas da web e correspondências visuais para a URL de uma imagem.
Preços
Um preço, em dólares
Teste
Faça sua primeira requisição
{
"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,
"reason": "not_found"
}interface GoogleLensResponse {
data: {
results: {
image?: string;
link: string;
source?: string;
thumbnailUrl?: string;
title: string;
}[];
url: string;
} | null;
found: boolean;
reason?: "not_found";
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Requisição, resposta e preço
Última verificação em 2026-09-29 · disponibilidade e latência medidas em 30dcurl -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"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| url | string | "https://i.imgur.com/HBrB8p0.png"URL pública da imagem a usar na busca. |
| Resposta | ||
| 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. |
| reason | "not_found" | Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost. |
| Preço | ||
| Preço por requisição | USD | US$ 0,00297 |
| Preço /mil req. | USD | US$ 2,97 |
Dúvidas frequentes
Sobre o endpoint Lens da API para Google
O endpoint Lens da AnyAPI para Google retorna dados de Google em JSON normalizado com uma chamada POST para /v1/run/google.lens. Busca reversa de imagem: encontre páginas da web e correspondências visuais para a URL de uma imagem. A AnyAPI retorna um schema normalizado, seja qual for a fonte que atende. Custa a partir de US$ 2,97 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Lens da API para Google feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 3,2 segundos, em 178 chamadas medidas.