





API:Generative AI
API Endpoint Path
required
AI Google Search & Shopping SEO Metatag Generator API
https://www.buyfromlo.com/api/3/aiGoogleSEO
Call Method
Required
POST
Type of Data Return
JSON
JSON output structured data for AI SEO Content
Token
required
BUYFROMLO API token. Subscription API is available on www.buyfromlo.com/apis, and accessible to on-site APP on www.buyfromlo.com/app as well
referenceContent
required
Enter the raw content for AI writing. Max.content character ceiling is 2,000
brandname
required
FALSE
purpose
required
FALSE
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
apiKey
Optional
FALSE
modelVersion
Optional
FALSE
AI Google Search & Shopping SEO Metatag Generator API
https://www.buyfromlo.com/api/3/aiGoogleSEO
Python Code Sample
import requests
apiendpoint = "https://www.buyfromlo.com/api/3/seo-metatag"
## Required Arguments & Parameters ##
originalContent = "raw content materials or context for reference"
referenceContent = "reference content and context briefling"
brandname = "your brand name"
purpose = "Select one from three options: generative search (google, bing), google shopping, and Amazon"
## Call the api ##
response = requests.post(apiendpoint + "?token=" + token, json={"referenceContent":hashtag, "brandname": brandname, "purpose": purpose})
print(response.status)
print(response.json())
JSON Response Sample
{
"SEO meta title": "",
"SEO meta description": ""
}