Skip to content
Language — current: English
Theme — current: Match system
JavaScript
const params = new URLSearchParams({
  engine: "google_lens",
  url: "https://www.example.com/sample-page",
  api_key: "E5oa7LbhkKN7YUyj4CwXppK8",
});

const response = await fetch(`https://www.searchapi.io/api/v1/search?${params}`);
const data = await response.json();

Only required parameters and parameters you set are sent — the request never repeats the API's own defaults back at it.