Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Google Lens

API दस्तावेज़
https://api.sandbase.ai/v1/api/google/lens

Reverse image search: find web pages and visual matches for an image URL.

मूल्य
से $0.00085USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 0 वैकल्पिक

प्लेग्राउंड

इनपुट

PNG, JPEG, WebP, या GIF · अधिकतम 20 MiB

Public URL of the image to search with. स्वरूप: पूरा URL.
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

Google Lens API

The Google Lens API runs a reverse image search on a public image URL. It returns a list of web pages and visual matches, each with a title, source site, link and image. The only input is the url of the image.

Use cases

  • Find the original page or other sites that host a given image.
  • Check where a profile photo or product photo appears online.
  • Collect pages that mention or show the same subject as an image, such as a person, object or meme.
  • Build a list of source sites (for example Reddit or Facebook) that share a picture.

Request

curl -X POST "https://api.sandbase.ai/v1/api/google/lens" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://i.imgur.com/HBrB8p0.png"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
urlstringYesPublic URL of the image to search with.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "results": [
      {
        "image": "https://preview.redd.it/arnold-schwarzenegger-and-danny-devito-v0-mnja7ruli9dh1.…",
        "link": "https://www.reddit.com/r/CelebrityLookalikes/comments/1uwlrps/arnold_schwarzeneg…",
        "source": "Reddit",
        "thumbnailUrl": "https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcQd3AyHbyvFtdWZ50GZr6_g7e9I…",
        "title": "Arnold Schwarzenegger und Danny DeVito : r/CelebrityLookalikes"
      }
    ],
    "url": "https://i.imgur.com/HBrB8p0.png"
  },
  "found": true
}

Response fields

FieldMeaning
foundtrue when the search returned matches. The request still succeeds when nothing is found, and found is false in that case.
data.urlThe image URL that was searched, echoed back from the request.
data.results[].titleTitle of the matching web page or post.
data.results[].linkURL of the web page that contains the matching image.
data.results[].sourceName of the site that hosts the match, such as Reddit or Facebook.
data.results[].imageURL of the matching image on the source site. Some values are cut or point to a resized preview.
data.results[].thumbnailUrlURL of a small thumbnail of the match.

Notes

  • The url must point to a public image. Pages that need a login will not work.
  • The request takes only url. It has no pagination parameters.
  • To search by keyword instead of by image, use Google Images.

Pricing

Billed at the actual cost of each call, about $0.00085 for the request above. Failed calls are not charged.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
Google Lensयह API
Google
$0.00085 प्रति कॉल सेJSON
Google$0.01 प्रति कॉलJSON
Google$0.015 प्रति कॉलJSON
Google$0.002 प्रति कॉल सेJSON
Google$0.0015 प्रति कॉल सेJSON
Google$0.01 प्रति कॉलJSON

गाइड्स:Best Google API in 2026: Pricing Compared

प्रश्न

FAQ

Google Lens API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/google/lens पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Google Lens API की लागत कितनी है?

$0.00085 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

Google Lens API कौन-से parameters स्वीकार करती है?

आवश्यक: url (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Google Lens API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक Google developer account या API key चाहिए?

नहीं। Google Lens SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Google API access के लिए आवेदन करने की आवश्यकता नहीं है।