For the complete documentation index, see llms.txt. This page is also available as Markdown.

Google Search

google

Scrape Google results for a query.

Parameter
Type
Required
Description

query

string

Yes

The search query.

country

string

No

See common parameters.

parse

boolean

No

See common parameters.

city

string

No

City-level geotargeting.

state

string

No

State/region-level geotargeting.


curl -X POST 'https://scraping.production.goproxies.com/api/v1/scrapes' \
  -H 'X-Api-Key: <your-api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "google": {
      "query": "best coffee shops",
      "country": "US",
      "city": "Seattle",
      "state": "WA",
      "parse": true
    }
  }'
const response = await fetch("https://scraping.production.goproxies.com/api/v1/scrapes", {
  method: "POST",
  headers: {
    "X-Api-Key": "<your-api-key>",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    google: {
      query: "best coffee shops",
      country: "US",
      city: "Seattle",
      state: "WA",
      parse: true,
    },
  }),
});

const data = await response.json();
console.log(data);

Last updated

Was this helpful?