Google Trend Data Generator API

API Endpoint Specifications

  • Endpoint Path: /api/1/googleTrendV2
  • Type of Data: JSON & 10/minute
  • Data Source: Google Trend
  • Request Limit: 500 request/month (Please note that this API has bundled with Google trend rising keyword & country volume generator)
  • Script & Integration: Code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, Typescript
Google Trend Data Generator API Endpoint Basic Info

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


Available API Arguments & Parameters

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


Code Integration and Response

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)
}