





API:Scraper
API Endpoint Path
required
Google SERP General Text Content Scraper API
https://www.buyfromlo.com/api/1/googleSERP
Call Method
Required
GET
Type of Data Return
JSON
JSON output structured data for Google SERP content
Token
required
BUYFROMLO API token. Subscription API is available on www.buyfromlo.com/apis, and accessible to on-site APP on www.buyfromlo.com/app as well
keyword
required
Input a keyword. It supports 25+ languages
page
Optional
Selected pagination of SERP information. The default value is 1st page, which is 1
Google SERP General Text Content Scraper API
https://www.buyfromlo.com/api/1/googleSERP
Python Code Sample
import requests
apiendpoint = "https://www.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"
## Call the api ##
response = requests.get(apiendpoint + "?token=" + token + "&keyword=" + keyword + "&totalPage=" + totalPage)
print(response.status)
print(response.json())
JSON Response Sample
{
"Keyword": "",
"SERP Title": "",
"SERP Link": "",
"SERP Snippet": "",
"serp_machine_learning_model": ""
}