API:Scraper
API Endpoint Path
required
Google Image SERP Scraper
api/1/google-image-serp-scraper
Call Method
Required
GET
Type of Data Return
JSON
Output structured JSON data on Google image SERP
token
required
BUYFROMLO API token. Free and subscription APIs are both available: /api/1/google-image-serp-scraper, and accessible to on-site APP on /app/1/google-image-serp-scraper as well
keyword
required
Input a keyword in English
Google Image SERP Scraper
api/1/google-image-serp-scraper
Python Code Sample
import requests
apiendpoint = "https://api.buyfromlo.com/api/1/googleImageSERP?"
## Required Arguments & Parameters ##
token = "your buyfromlo token"
keyword = "a keyword to scrape relevant images"
data="keyword=" + keyword
headers={"Authorization": "Bearer " + token}
## Call the api ##
response = requests.get(apiendpoint + data, headers=headers)
print(response.status_code)
print(response.json())
JSON Response Sample
{
"image url",
}
The API provides the image title, description, and website URL from Google Image Search results.
The request limit is 500 requests per month.
The API supports English, Japanese, Simplified Chinese, and Traditional Chinese.
You can use the API by sending a request to the endpoint with your query keyword and the number of result pages you need.
You can integrate the API using various languages like cURL, JavaScript, Python, Ruby, PHP, Node.js, Java, .NET, Rust, Go, and Typescript.
Yes, you can input the desired number of result pages with your query to specify the amount of data you need.
The data is sourced directly from Google.
The API returns data in JSON format.
The rate limit for the API is 20 requests per minute.
The endpoint path for the API is \/api\/1\/googleImageSERP.