API:Generative AI
API Endpoint Path
required
AI SEO Content Chain Generator
api/3/seo-chain
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
type
required
Select type of content to submit: HTML Content, Web URL
seostrategy
required
Select a SEO strategy: meta_differentiator, sentiment_differentiator, keyword_variant_differentiator, snippet_differentiator
channel
required
Select a channel: google_search, google_shopping, bing_search, amazon_search, tiktok_search
language
Optional
Input the language iso-code, Currently API provides 4 language, which are english, japanese, chinese, french. The default language is english
brandname
Optional
Input a brand name
existingTags
Optional
If selecting HTML content submit type, submit the existing meta tags if having
AI SEO Content Chain Generator
api/3/seo-chain
Python Code Sample
import requests
apiendpoint = "https://api.buyfromlo.com/api/3/seo-chain"
## Required Arguments & Parameters ##
token = "your buyfromlo token"
originalContent = ""
typeofmaterials = ""
seostrategy=""
channel=""
seedkeyword=""
## Optional ##
language = ""
brandname=""
existingTags=""
## Call the api ##
headers = {
'Authorization': 'Bearer ' + token,
'Content-type':'application/json',
'Accept':'application/json'
}
data = {
"originalContent": originalContent,
"type": typeofmaterials,
"seostrategy": seostrategy,
"channel": channel1,
"seedkeyword": seedkeyword,
"language": language,
"brandname": brandname1,
"existingTags": existingTag
}
seochainRequest = requests.post(seoChainEndpoint, json=data, headers=headers).json()
print(response.status_code)
print(response.json())
JSON Response Sample
{
"schema content response"
}
The AI SEO Chain API generates a full set of on-page SEO content including metatags, H1 tags, slugs, PDPs, article content, keyword density optimization, alt text, FAQs, and product snippets.
The content is generated and optimized using BuyFromLo's AI system, which integrates with multiple Large Language Models (LLMs) like Gemini, Llama, Claude, GPT, and Palm.
The AI SEO Chain API returns SEO content in JSON format.
Yes, the API has a request limit of 100,000 tokens per month, which is roughly equivalent to 73,000 English words.
Yes, you can integrate the AI SEO Chain API with your website or application using various programming languages like cURL, JavaScript, Python, Ruby, PHP, Node.js, Java, .NET, Rust, Go, and TypeScript.
The API response includes metatags, H1 tags, slugs, PDP content, article content, optimized keyword density, alt text suggestions, FAQs, and product snippets.
The data used by the AI SEO Chain API comes from BUYFROMLO, along with several LLMs including Gemini, Llama, Palm, Claude, and OpenAI.
Yes, a paid API token grants access to the BuyFromLo onsite app, providing an alternative way to leverage their AI SEO system.
You can integrate the AI SEO Chain API using a variety of programming languages such as cURL, JavaScript, Python, Ruby, PHP, Node.js, Java, .NET, Rust, Go, and TypeScript.
For details about the terms of service, conditions, and legal obligations regarding API usage, please refer to the Legal Terms of Service & Condition document.