Getting Started
This document provides information about the API endpoints, supported environments, and available GET parameters for the NetNut SERP API. The API allows you to retrieve search engine results pages (SERPs).
Authentication
To access the NetNut API, you must provide basic authentication credentials using the username and password provided by NetNut. Include these credentials in the HTTP request headers as follows:
Authorization: Basic base64(username:password)
Where base64(username:password) is the Base64-encoded string of your username and password concatenated with a colon (:
) separator.
Environments
Base URL:
https://serp-api.netnut.io
Endpoint:
/search
API Parameters & Specifications
Search Query
Name | Status | Description |
---|---|---|
| Required | The 'q' parameter defines the query you want to search for. You can use any string that you would use in a regular Google search (e.g., |
Pagination
Name | Status | Description |
---|---|---|
| Optional | The 'num' parameter defines the maximum number of results to return for the query. For example |
| Optional | The 'start' parameter defines the results offset. It allows skipping the given number of results. It is used for pagination. (e.g., |
Geographic Location
Name | Status | Description |
---|---|---|
| Optional | The 'uule' parameter is the Google encoded location you want to use for performing the Google search. Click here to generate a UULE |
Localization
Name | Status | Description |
---|---|---|
| Optional | The 'googleDomain' parameter defines the Google domain to use for the Google search. The default is |
| Optional | The 'gl' parameter defines the country to use for the Google search. It is a two-letter country code. For example - use |
| Optional | The 'hl' parameter defines the language to use for the Google search. It is a two-letter language code. For example - use |
Advanced Filters
Name | Status | Description |
---|---|---|
| Optional | The 'rawHtml' parameter defines the final output you want. It can be set to |
| Optional | The 'safe' parameter defines the level of filtering for adult content. It can be set to |
| Optional | The 'filter' parameter allows defining whether the filters for 'Omitted Results' and 'Similar Results' are enabled or disabled. Setting the parameter to |
| Optional | Parameter defines the exclusion of results from an auto-corrected query that is spelled wrong. It can be set to |
| Optional | The 'device' parameter defines the device to use to get the Google search results. The parameter can be set to |
API Results HTTP Response
We currently only support JSON. Here is an example of the API response schema:
Last updated