API:Generative AI
API Endpoint Path
required
Automatic SEO Audit API
/api/3/seo-audit
AI SEO Schema Generator API
/api/3/seo-schema
AI SEO Metatag Content Generator API
/api/3/seo-metatag
AI SEO Content Keyword Density Optimizer API
/api/3/keyword-density-optimizer
AI SEO Product Description Generator API
/api/3/seo-pdp
AI SEO FAQ Generator API
/api/3/seo-faq
Call Method
Required
POST
Type of Data Return
JSON
Output structured JSON data on AI SEO Schema
token
required
BUYFROMLO API token. Subscription API is available on /api/3/seo-schema, and accessible to on-site APP on /app/3/seo-schema as well
originalContent
required
Enter the raw content for AI writing. Max.content character ceiling is 2,000
role
required
Enter who writes the schema, such as product specialist, SEO expert, etc
type
required
Select the type of schema. Current available options: FAQ, product snippet
keywordList
Optional
Input the language iso-code, Currently API provides 4 language, which are en, ja, zh-cn, zh-tw. The default language is en
llmversion
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.
Automatic SEO Audit API
/api/3/seo-audit
AI SEO Schema Generator API
/api/3/seo-schema
AI SEO Metatag Content Generator API
/api/3/seo-metatag
AI SEO Content Keyword Density Optimizer API
/api/3/keyword-density-optimizer
AI SEO Product Description Generator API
/api/3/seo-pdp
AI SEO FAQ Generator API
/api/3/seo-faq
Python Code Sample
import requests
MetaTag_apiendpoint = "https://api.buyfromlo.com/api/3/seo-metatag"
pdp_apiendpoint = "https://api.buyfromlo.com/api/3/seo-pdp"
density_ pdp_apiendpoint = "https://api.buyfromlo.com/api/3/keyword-density-optimizer"
schema_apiendpoint = "https://api.buyfromlo.com/api/3/seo-schema"
faq_apiendpoint = "https://api.buyfromlo.com/api/3/seo-faq"
techaudit_apiendpoint = "https://api.buyfromlo.com/api/3/seo-audit"
## Required Arguments & Parameters ##
token = "your buyfromlo token"
originalContent = "related content materials"
type = "Relevant type of generation from a specific endpoint"
quantity = "quantity of generation"
coreKeyword = "root or seed keywords used to optimise the content for SEO purpose
titlecharacter - "amount of characters in title"
descharacter = "amount of characters in description"
## Optional ##
language = "Target language. Default is English"
keywordList = "More keywords for SEO"
context_materials = "context materials"
llmversion = "LLM model. Default is Gemini"
apikey = "Add a specific LLM api key" (Free trial users only)
## Authentication ##
headers={
"Authorization": "Bearer " + token
}
## Call the api ##
# SEO Metatag generator #
response = requests.post(
MetaTag_apiendpoint,
json={
"originalContent":originalContent,
"type":type,
"language":language
}, headers= headers
)
print(response.status_code)
print(response.json())
# SEO Metatag generator #
response = requests.post(
MetaTag_apiendpoint,
json={
"originalContent":originalContent,
"type":type,
"language":language
}, headers= headers
)
print(response.status_code)
print(response.json())
JSON Response Sample
{
"schema content response"
}
This API can help you generate various types of SEO content, including meta tags, keyword suggestions, schema markup, keyword density optimization, technical audits, and even SEO-optimized FAQs.
The API supports English, Simplified Chinese, Japanese, and Russian.
The API offers both free and paid versions.
You can access the API through its dedicated endpoints for on-site app integration.
The endpoint path for generating SEO FAQs is '\/api\/3\/seo-faq'.
The API uses JSON data format.
The data source for the API is BUYFROMLO.
The request limit is 100,000 tokens per month, which is roughly equivalent to 73,000 English words.
Yes, you can integrate the API with your Python application, as well as various other languages like JavaScript, Ruby, PHP, Node.js, Java, .NET, Rust, Go, and Typescript.
You can find the legal terms and conditions for API usage in the Legal Terms of Service & Condition document.