Skip to main content
POST
Google Lens search

Request contract

  • Method and path: POST /apis/v1/serpapi/google-lens-search
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/serpapi/google-lens-search
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0253 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string
required

The URL of an image to perform Google Lens visual search. Must be a publicly accessible image URL.

Examples:

"https://i.imgur.com/HBrB8p0.png"

"https://example.com/product-image.jpg"

country
string

Two-letter country code for localized results (e.g., 'us', 'uk', 'ca').

Examples:

"us"

"uk"

"ca"

hl
string

Two-letter language code for localized results (e.g., 'en', 'es', 'fr', 'de').

Examples:

"en"

"es"

"fr"

q
string

Optional search query to refine results. Works with 'all', 'visual_matches', or 'products' types.

Examples:

"red shoes"

"vintage watch"

type
enum<string>

Search type to filter results. Options: 'all' (default), 'products' (shopping results), 'exact_matches' (identical images), 'visual_matches' (similar images).

Available options:
all,
products,
exact_matches,
visual_matches

Response

Tool result data

error
string
search_metadata
object
search_parameters
object
visual_matches
object[]