API:Generative AI
API Endpoint Path
required
AI Content Keyword Density Optimizer API
api/3/keyword-density-optimizer
Call Method
Required
POST
Type of Data Return
JSON
Output structured JSON data on AI PDP content
token
required
BUYFROMLO API token. Subscription API is available on /api/3/keyword-density-optimizer, and accessible to on-site APP on /app/3/keyword-density-optimizer as well
originalContent
required
Enter the raw content for AI writing. Max.content character ceiling is 2,000
coreKeyword
required
Input a root keyword to reflect on optimized keyword density
language
Optional
Input the language iso-code, Currently API provides 4 language, which are en, ja, zh-cn, zh-tw. The default language is en
model123
Optional
Current avalable model are OpenAI GPT, Palm, Gemini, Llama & Claude
apikey
Optional
Free trial API is required to input a LLM api key. Current available model for free trial user account is OpenAI GPT.
keywordList
Optional
Submit a list of target keywords. Max. length of the list is 10 keywords
AI Content Keyword Density Optimizer API
api/3/keyword-density-optimizer
Python Code Sample
import requests
apiendpoint = "https://api.buyfromlo.com/api/3/keyword-density-optimizer"
## Required Arguments & Parameters ##
token = "your buyfromlo token"
originalContent = ""
coreKeyword = ""
keywordList = ""
## Optional ##
language = ""
model123 = ""
apikey = ""
headers={"Authorization": "Bearer " + token}
## Call the api ##
response = requests.post(
apiendpoint,
json={
"originalContent": originalContent,
"coreKeyword": coreKeyword,
"language":language,
"model123":model123,
"keywordList":keywordList,
"apikey":apikey,
}, headers=headers
)
print(response.status_code)
print(response.json())
JSON Response Sample
{
"Keyword Density Optmised Content"
}
The BUYFROMLO Shopify Product scraper API allows you to scrape product information from any webshop built using the Shopify platform.
You can scrape up to 500 SKUs per request.
The scraped results include 15+ product data metrics, such as pricing, date_created, product name, and more.
Yes, the API supports scraping both top domain and subdomain Shopify webshop domains.
Yes, the API is intended for personal use only.
You can find more information regarding API usage obligation and liability in the Legal Terms of Service and Condition.
The endpoint path for the API is \/api\/1\/shopifyTracker.
The API supports JSON and 20\/minute data formats.
The data source for the API is Shopify.
Yes, there is a limit of 500 requests per month.