API:Marketing
API Endpoint Path
required
Google Trend Top & Rising Queries Generator API
api/1/topqueries
Google Search Trend Data Generator API
api/1/googleTrendV2
Google Search Trend Data Country Ranking Generator API
api/1/trendGEO
Google Trend Top & Rising Topics Generator API
api/1/trendTopic
Call Method
Required
GET
Type of Data Return
JSON
Output structured JSON data on Google Top Search Queries, Google Search Trend, Google search trend data country ranking and Google trend top and rising topics
token
required
BUYFROMLO API token. Free and subscription APIs are both available: /apis/google-trend, and accessible to on-site APP on /app/1/googletrend as well
keyword
required
Input a keyword in English
Google Trend Top & Rising Queries Generator API
api/1/topqueries
Google Search Trend Data Generator API
api/1/googleTrendV2
Google Search Trend Data Country Ranking Generator API
api/1/trendGEO
Google Trend Top & Rising Topics Generator API
api/1/trendTopic
Python Code Sample
import requests
trendendpoint = "https://api.buyfromlo.com/api/1/googleTrendV2?"
queriesendpoint = "https://api.buyfromlo.com/api/1/topqueries?"
geoEndpoint = "https://api.buyfromlo.com/api/1/trendGEO?"
topicEndpoint = "https://api.buyfromlo.com/api/1/trendTopic?"
def googleTrendAPI(apiendpoint):
token = "your buyfromlo token"
keyword = "target keyword"
data="keyword=" + keyword
headers={"Authorization": "Bearer " + token}
## Call the api ##
response = requests.get(apiendpoint + data, headers=headers)
return response.status_code, response.json()
JSON Response Sample
## Google Trend Volume ##
{
"Query": " " (integer),,
"apiport": " " (string),
}
## Google Top Queries ##
{
"Keyword": " " (string),
"Top Search": " " (string),
"Top Search Value": " " (integer),
"Rising Search": " " (string),
"Rising Search Value": " " (integer),
"apiport": " " (string),
}
## Google Keyword By GEO ##
{
"Country": " " (string),
"geoCode": " " (string),
"query": " " (string),
"apiport": " " (string),
}
## Google Trending Topic ##
{
'Top Value Integer': " " (integer),
'Top Value%': " " (string),
'Google Trend Link': " " (string),
'Topic Link Parameter': " " (string),
'Topic Name': " " (string),
'Topic Type': " " (string),
'Query': " " (string),
'apiport': " " (string)
}
The Google Trend Data Generator API is a tool that allows users to generate Google keyword trend data, top rising keyword and trending keyword by country.
The Google Trend Data Generator API provides keyword demand trend data since 2004, top rising keywords, and trending keywords by country.
The data source for the Google Trend Data Generator API is Google Trends.
The request limit for the Google Trend Data Generator API is 500 requests per month.
The Google Trend Data Generator API supports cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, and Typescript.
You can access the Google Trend Data Generator API through the BUYFROMLO API token, which is available for both free and subscription APIs.
You can find more information about the Google Trend Data Generator API in the BUYFROMLO documentation.
Yes, the limit is 5 keywords per request.
The data is updated every 10 minutes.
Yes, you can use the API to generate data for any country that Google Trends supports.