AI SEO Chain API
API Endpoint Specifications
- Endpoint Path: /api/3/seo-chain
- Type of Data: JSON & 2/minute
- Data Source: BUYFROMLO, Gemini, Llama, Palm, Claude, OpenAI, etc
- Request Limit: 100,000 tokens/month (Approximate 73,000 English words)
- Script & Integration: Code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, Typescript
AI SEO Chain API Endpoint Basic Info
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
Available API Arguments & Parameters
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
seedkeyword
required
Submit a seed keywor
originalContent
required
Submit the content to be optimized
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
Code Integration and Response
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"
}