Google SERP Lens API

Data & APIs

Call GET /api/v1/google/lens for Google SERP Lens through Just Serp API with url.

Install

openclaw skills install justserpapi-google-lens

Google SERP Lens

Use this focused Just Serp API skill for Google SERP Lens. It targets GET /api/v1/google/lens. Required inputs are url. OpenAPI describes it as: Get Google lens Search data, including visual matches, product matches, and related links, for visual search analysis and product matching workflows.

Endpoint Scope

  • Group key: google
  • Endpoint key: lens
  • Group family: Google SERP
  • Skill slug: justserpapi-google-lens
OperationVersionMethodPathOpenAPI summary
lensv1GET/api/v1/google/lensSearch

Inputs

ParameterInRequired byOptional byTypeNotes
countryqueryn/aallstringSet the target country code (e.g., 'us', 'uk') to localize results. See <a href="/reference/google-countries">Google Countries</a>
exact_matchesqueryn/aallbooleanIf set to true, the API will search for exact duplicates of the provided image
languagequeryn/aallstringSet the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href="/reference/google-language">Google Language</a>
productqueryn/aallbooleanIf set to true, the API will specifically look for product matches and shopping results
urlqueryalln/astringThe URL of the image you want to analyze with Google Lens. Must be a publicly accessible image URL
visual_matchesqueryn/aallbooleanIf set to true, the API will return visually similar images and matches

Request body: none documented; send parameters through path or query arguments.

Version Choice

Use lens for the documented v1 endpoint. There are no alternate versions grouped in this skill.

Run This Endpoint

Supported operation IDs in this skill: lens.

node {baseDir}/bin/run.mjs --operation "lens" --api-key "$JUST_SERP_API_KEY" --params-json '{"url":"<url>"}'

Ask for any missing required parameter before calling the helper. Keep user-provided IDs, URLs, keywords, and filters unchanged.

Environment

  • Required: JUST_SERP_API_KEY
  • Pass the API key with --api-key "$JUST_SERP_API_KEY"; do not paste key values into chat messages, screenshots, or logs.
  • Project site: Just Serp API.
  • Authentication details: Just Serp API Docs.

Output Focus

  • State the operation ID and endpoint path used, for example lens on /api/v1/google/lens.
  • Echo the required lookup scope (url) before summarizing results.
  • Prioritize fields that support this endpoint purpose: Get Google lens Search data, including visual matches, product matches, and related links, for visual search analysis and product matching workflows.
  • Return raw JSON only after the short, endpoint-specific summary.
  • If the backend errors, include the backend payload and the exact operation ID.