Google Ads SERP Scraper API

API Endpoint Specifications

  • Endpoint Path: /api/1/google-ads-serp-scraper
  • Type of Data: JSON & 20/minute
  • Data Source: Google
  • Request Limit: 500 request/month
  • Script & Integration: Code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, Typescript
Google Ads SERP Scraper API Endpoint Basic Info

API Endpoint Path

required

Google Ads Result Scraper

api/1/google-ads-serp-scraper


Call Method

Required

POST

Type of Data Return

JSON

Output structured JSON data on Google Ads SERP


Available API Arguments & Parameters

token

required

BUYFROMLO API token. Free and subscription APIs are both available: /api/1/google-ads-serp-scraper, and accessible to on-site APP on /app/1/google-ads-serp-scraper as well

keyword

required

Input a keyword in English



Google Ads Result Scraper

api/1/google-ads-serp-scraper


Code Integration and Response

Python Code Sample


import requests

apiendpoint = "https://api.buyfromlo.com/api/1/google-ads-serp-scraper"

## Required Arguments & Parameters ##
token = "your buyfromlo token"
keyword = "a keyword to scrape Google search ads SERP"

data={"keyword": keyword}
headers={"Authorization": "Bearer " + token}

## Call the api ##
response = requests.post(apiendpoint, json=data, headers=headers)
print(response.status_code)
print(response.json())
                        

JSON Response Sample


{
    "title":"",
    "Search Ads URL":"",
    "Snippet":"",
    "api_module":""
}