Getting Started

Send Requests

7min

Send Requests

Scale SERP executes search requests in real time returning clean, structured JSON HTML or CSV results. You can achieve fine-grained control over your search query using the search parameters.

🔄 This API endpoint uses a synchronous request model. The response will be delivered immediately upon completion of the request.

If you prefer to collect responses later, you have two options:

  • Batch Processing: Send requests in batches and use a webhook to retrieve batch results as they become available.
  • Download from UI: Access completed results directly from the UI for later processing.


Making a Request

GET /search

Performing a search is as simple as making a GET HTTP request to the Scale SERP search endpoint. The only required parameters are api_key (sign up for free to get an API key) and q (your search query).

For example, to search for the phrase pizza the Scale SERP search request would be:

HTTP
Curl
Node.js
Python
PHP


To view Scale SERP JSON results clearly in your browser we recommend these -extensions for Chrome and Firefox



Localize Results

Lets say we want to refine our query to search for pizza within London, UK . Here's how we could use the Scale SERP location parameter to achieve just that:

HTTP
Curl
Node.js
Python
PHP


Now lets try the same search but in Paris, France . When we update the location parameter note how Scale SERP automatically changes the google_domain parameter to google.fr and the gl (country) and hl (language) parameters to hl=fr (so you see localized results exactly as a human user in Paris would):

HTTP
Curl
Node.js
Python
PHP




This quickstart that will get you up and running with Postman and Scale Serp API



Paginate through Results

Now lets take a look at how to paginate through results using the page and num parameters. page determines the page number of the results (starting from 1) and num determines the number of results to show per page. If we wanted to show the 2nd page of results, based on 10 results per page, our query would be:

HTTP
Curl
Node.js
Python
PHP





Updated 14 Nov 2024
Did this page help you?