API:Marketing
API Endpoint Path
required
Keyword Data Estimator API
api/3/kwMediaCost
Call Method
Required
GET
Type of Data Return
JSON
Output structured JSON data on keyword volume and cost per click
token
required
BUYFROMLO API token. Paid subscription API is available: /api/3/kwMediaCost, and accessible to on-site APP on /app/3/keywordestimator as well
keyword
required
Input a keyword
country
required
Enter the target market using short-code, such as US, JP, etc
searchengine
required
Input the target search engine, such as google, bing, amazon. Currently only Google keyword data is available and please contact us if you would like to access Bing and Amazon for testing purpose.
language
required
Enter a language ISO short-code. Default is EN
typeofKWresponse
required
Select the type of response: Options: keyword_dataset, kwwithaianalysis
Keyword Data Estimator API
api/3/kwMediaCost
Python Code Sample
import requests
## Required components ##
token = "your buyfromlo token"
apiendpoint = "https://api.buyfromlo.com/api/3/kwMediaCost?"
keyword = "target product keyword"
searchengine = "target channel"
country = "target country"
language = "target language"
typeofKWresponse=""
## Call the api ##
data="keyword=" + keyword + "&country=" + country + "&searchengine=" + searchengine + "&language=" + language + "&typeofKWresponse=" + typeofKWresponse
headers={"Authorization": "Bearer " + token}
response = requests.get(apiendpoint + data, headers=headers)
print(response.status_code)
print(response.json())
JSON Response Sample
{
"Root keyword": " " (string),
"Keyword Ideas": " " (string),
"Avg Monthlyl Searches": " "(integer),
"Competition Level": " " (string),
"Competition Index": " " (string),
"Lowest CPC US$": " " (float),
"Highest CPC US$": " " (float),
}
Keyword Data Estimator API is a tool that can generate keyword average monthly traffic and CPC. It can generate keyword data by country and channel using a keyword query.
The Keyword Data Estimator API supports Google, Bing, and Amazon.
The Keyword Data Estimator API supports English, Japanese, Simplified Chinese, and Traditional Chinese.
The Keyword Data Estimator API returns data in JSON format.
The Keyword Data Estimator API has a request limit of 500 requests per month.
Yes, the Keyword Data Estimator API provides code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, and Typescript.
Yes, there is a paid subscription for the Keyword Data Estimator API, which can be accessed on the BUYFROMLO website.
Yes, you can access the Keyword Data Estimator API on-site through the BUYFROMLO app.
The endpoint path for the Keyword Data Estimator API is \/api\/3\/kwMediaCost.
The data source for the Keyword Data Estimator API is Google, Bing, and Amazon.