AgentAPIGate
Back to Catalog
GET /v1/search/google/lensPack: search·MCP Tool: search_google_lens

Google Lens Visual Image Search

Run visual reverse-image and product matching on any SSRF-validated public image URL without storing uploaded images.

API Key Price:$0.0030 / call
x402 Base USDC:$0.0030 / call
Partner Credit:paid_usd / x402 only
1. Parameters & Controls
Public HTTPS/HTTP image URL to reverse-search
Max visual matches (1-25)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/search/google/lens" \
  --data-urlencode "url=https://i.imgur.com/HBrB8p0.png" \
  --data-urlencode "limit=10" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-89% tokens
# Google Lens Visual Image Search (`search.google.lens`)
**url**: https://i.imgur.com/HBrB8p0.png · **count**: 10

### 1. Just finished s7 and it got me thinking of Snatch Game ...
- source=Reddit | thumbnail_url=https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRSDuUnCUBOousVcX_SYtNkK7hSjpWrZ3oubQ&s | image_url=https://i.redd.it/6v18hgdppike1.jpg
### 2. Danny DeVito | Monmouth Timeline
- source=Monmouth Timeline | link=https://monmouthtimeline.org/timeline/danny-devito/ | thumbnail_url=https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTFPq7NxzEfRL_tAmZ0j2CJXQav1QLInckCnQ&s | image_url=https://monmouthtimeline.org/wp-content/uploads/1944/11/FREE-Devito-TILE-scaled.jpg
### 3. No Spoilers] [Fan Content] I always considered Danny DeVito ...
- source=Reddit | thumbnail_url=https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR5ErnytOa6OWosg8U6aZ_3bD-iDmykBazd1A&s
### 4. Danny Devito
- source=www2.gvsu.edu | link=https://www2.gvsu.edu/priskh/lifedanny.html | thumbnail_url=https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSpbR7DHos0dcZEylLpOmA1biGraRQG6qnnQQ&s | image_url=https://farm5.staticflickr.com/4110/4843205008_9d1baf0739_o.jpg
### 5. File:Danny DeVito (4842605007).jpg - Wikimedia Commons
- source=Wikimedia Commons - Wikimedia.org | link=https://commons.wikimedia.org/wiki/File:Danny_DeVito_(4842605007).jpg | thumbnail_url=https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRQXcJf7KCaG4jdaRfdTX0SAUbeIWUGojsSsg&s
### 6. The idea of Danny Devito joining our cast was too irresistible"
- source=Facebook | thumbnail_url=https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS81r-3PwhwIQ1cSkwBCbZIwp2zfNvKAVRw1A&s | image_url=https://lookaside.fbsbx.com/lookaside/crawler/media/?media_id=10242226618378537
### 7. Danny DeVito refused a stuntman and drove his duck vehicle ...
- source=Instagram | link=https://www.instagram.com/p/C20i7HEx2h9/ | thumbnail_url=https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTFR9QBr9sb3TI0Bz-HyAbMf6mOZ0WEB6iWbQ&s | image_url=https://lookaside.instagram.com/seo/google_widget/crawler/?media_id=4032464511042701063
### 8. Danny DeVito - Wikipedia
- source=Wikipedia | link=https://sco.wikipedia.org/wiki/Danny_DeVito | thumbnail_url=https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTR4qumS_ZqMCyZkr0CEInt0Ds5qPwKccI_cQ&s
### 9. File:Danny DeVito by Gage Skidmore.jpg - Wikimedia Commons
- source=Wikimedia Commons - Wikimedia.org | link=https://commons.wikimedia.org/wiki/File:Danny_DeVito_by_Gage_Skidmore.jpg | thumbnail_url=https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTdfKcpVrwxZZns-6e0mQ7E4TmaUMo2URPcSw&s
### 10. Danny DeVito | Shires Wiki | Fandom
- source=Shires Wiki - Fandom | link=https://shires.fandom.com/wiki/Danny_DeVito | thumbnail_url=https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTOCZGfIku41GJvhZd6j9QClL38FsOBVwBm4w&s

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: search.google.lens · Method: GET
ParameterTypeReqSample / DefaultDescription
urlstringrequiredhttps://i.imgur.com/HBrB8p0.pngPublic HTTPS/HTTP image URL to reverse-search
limitnumberoptional10Max visual matches (1-25)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0030 / call$0/mo · Balance never expires
Remote MCP Toolsearch_google_lensOAuth 2.1 Hub & /mcp/search
x402 Base USDC$0.0030 / callZero-signup USDC enabled
P50 Latency5725 ms$0 billed on empty or 4xx/5xx
Token Economy7110t → 749t (-89%)Partner credit: paid_usd / x402

More search.google Sibling Endpoints

Frequently Asked Questions

How do I call Google Lens Visual Image Search (search.google.lens) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/search/google/lens with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool search_google_lens on https://mcp.agentapigate.ai/mcp.

What does search.google.lens cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.003 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.

How does ?format=md or ?format=compact optimize AI agent token usage on search.google.lens?

Passing ?format=md transforms the response into normalized Markdown (~749 tokens vs ~7110 raw tokens, saving 89% of LLM context budget) while preserving structured JSON via ?format=json.

Can I restrict an AI agent key to only search endpoints with a daily USD cap?

Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["search"], optional allowed_endpoints: ["search.google.lens"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.