Skip to main content
GET
/
cURL
curl "https://serp.api.proxyscrape.com/?q=proxyscrape&gl=us&hl=en&start=0&rawhtml=0" \
  -u "<sub-user-username>:<sub-user-password>"
{
  "query": "proxyscrape",
  "url": "https://www.google.com/search?q=proxyscrape&num=10&start=0&hl=en",
  "html": "",
  "results": [
    {
      "Organic": [
        {
          "title": "ProxyScrape - Free Proxy List & Premium Proxies",
          "url": "https://proxyscrape.com/",
          "description": "ProxyScrape provides free proxy lists and premium proxy services...",
          "moreinfo": "",
          "rank": 0
        }
      ],
      "PeopleAlsoSearchFor": [
        {
          "title": "proxyscrape free proxy",
          "url": "https://www.google.com/search?q=proxyscrape+free+proxy",
          "description": "",
          "moreinfo": "",
          "rank": 0
        }
      ],
      "Places": [
        {
          "title": "Example Proxy Co.",
          "url": "",
          "description": "5.0(12) · Software company",
          "moreinfo": "",
          "rank": 0
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

HTTP Basic Auth using a SERP API sub-user's username and password.

Query Parameters

q
string
required

The search query. URL-encode it.

gl
string
default:us

Two-letter country code for the search location (Google gl), e.g. us, de, fr.

hl
string
default:en

Two-letter interface language code (Google hl), e.g. en, es.

start
integer
default:0

Result offset for pagination. 0 is the first page, 10 the second, and so on.

Required range: x >= 0
rawhtml
enum<integer>
default:0

Set to 1 to also return the raw HTML of the results page in the html field. 0 omits it.

Available options:
0,
1

Response

Parsed search results. Organic results are under results[0].Organic.

query
string

The query that was executed.

url
string

The Google search URL the request resolved to.

html
string

Raw HTML of the results page. Populated only when rawhtml=1.

results
object[]

Single-element array holding the parsed result groups.