Google SERP Scraper API
API Endpoint Specifications
- Endpoint Path: /api/1/googleSERPScraper
- Type of Data: JSON & 20/minute
- Data Source: Google.com
- Request Limit: 500 request/month
- Script & Integration: Code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, Typescript
Google SERP Scraper API Endpoint Basic Info
API Endpoint Path
required
Google Search Result Information Scraper API
api/1/googleSERP
Call Method
Required
GET
Type of Data Return
JSON
Output structured JSON data on Google SERP content
Available API Arguments & Parameters
token
required
BUYFROMLO API token. Paid subscription API is available: /api/1/googleSERP, and accessible to on-site APP on /app/1/googleserp as well
keyword
required
Input a keyword. It supports 25+ languages
totalPage
Optional
Selected pagination of SERP information. The default value is 1st page, which is 1
language
Optional
Input a target ISO language code. Default is en
Google Search Result Information Scraper API
api/1/googleSERP
Code Integration and Response
Python Code Sample
import requests
apiendpoint = "https://api.buyfromlo.com/api/1/googleSERP?"
## Required Arguments & Parameters ##
token = "your buyfromlo token"
keyword = "a company name"
## optional arguments and parameters ##
totalPage="total amount of serp results, max. 5 pages"
data="keyword=" + keyword + "&totalPage=" + totalPage
headers={"Authorization": "Bearer " + token}
## Call the api ##
response = requests.get(apiendpoint + data, headers=headers)
print(response.status_code)
print(response.json())
JSON Response Sample
{
"Keyword": " " (string),
"SERP Title": " " (string),
"SERP Link": " " (string),
"SERP Snippet": " " (string),
"serp_machine_learning_model": " " (string),
}