





API:Marketing
API Endpoint Path
required
Google Trend Top & Rising Queries Generator API
https://www.buyfromlo.com/api/1/topqueries
Google Search Trend Data Generator API
https://www.buyfromlo.com/api/1/googleTrendV2
Google Search Trend Data Country Ranking Generator API
https://www.buyfromlo.com/api/1/trendGEO
Google Trend Top & Rising Topics Generator API
https://www.buyfromlo.com/api/1/trendTopic
Call Method
Required
GET
Type of Data Return
JSON
JSON output structured data for 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 on www.buyfromlo.com/apis, and accessible to on-site APP on www.buyfromlo.com/app as well
keyword
required
Input a keyword in English
Google Trend Top & Rising Queries Generator API
https://www.buyfromlo.com/api/1/topqueries
Google Search Trend Data Generator API
https://www.buyfromlo.com/api/1/googleTrendV2
Google Search Trend Data Country Ranking Generator API
https://www.buyfromlo.com/api/1/trendGEO
Google Trend Top & Rising Topics Generator API
https://www.buyfromlo.com/api/1/trendTopic
Python Code Sample
import requests
trendendpoint = "https://www.buyfromlo.com/api/1/googleTrendV2"
queriesendpoint = "https://www.buyfromlo.com/api/1/topqueries"
geoEndpoint = "https://www.buyfromlo.com/api/1/trendGEO"
topicEndpoint = "https://www.buyfromlo.com/api/1/trendTopic"
def googleTrendAPI(apiendpoint):
token = "your buyfromlo token"
keyword = "target keyword"
## Call the api ##
response = requests.get(apiendpoint + "?token=" + token + "&keyword=" + keyword)
return response.status, response.json()
JSON Response Sample
## Google Trend Volume ##
{
"Query": "",
"apiport": ""
}
## Google Top Queries ##
{
"Keyword": "",
"Top Search": "",
"Top Search Value": "",
"Rising Search": "",
"Rising Search Value": "",
"apiport": ""
}
## Google Keyword By GEO ##
{
"Country": "",
"geoCode": "",
"query": "",
"apiport": ""
}
## Google Trending Topic ##
{
'Top Value Integer': "",
'Top Value%': "",
'Google Trend Link': "",
'Topic Link Parameter': "",
'Topic Name': "",
'Topic Type': "",
'Query': "",
'apiport': ""
}