AI Product Page Content Generator API

API Endpoint Specifications

  • Endpoint Path: /api/3/seo-pdp
  • 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 Product Page Content Generator API Endpoint Basic Info

API Endpoint Path

required

AI PDP Content Generator API

api/3/seo-pdp


Call Method

Required

POST

Type of Data Return

JSON

Output structured JSON data on AI PDP content


Available API Arguments & Parameters

token

required

BUYFROMLO API token. Subscription API is available on /api/3/seo-pdp, and accessible to on-site APP on /app/3/seo-pdp as well

originalContent

required

Enter the raw content for AI writing. Max.content character ceiling is 2,000

quantity

required

Enter total number of product bullet point output. Min is 3 and max. is 10


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

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.

context_materials

Optional

Submit context materials information. Max. language characters is up to 8000


AI PDP Content Generator API

api/3/seo-pdp


Code Integration and Response

Python Code Sample


import requests

apiendpoint = "https://api.buyfromlo.com/api/3/seo-pdp"

## Required Arguments & Parameters ##
token = "your buyfromlo token"
originalContent = ""
quantity = ""

## Optional ##
language = ""
llmversion = ""
context_materials = ""
apikey = ""

headers={"Authorization": "Bearer " + token}

## Call the api ##
response = requests.post(
    apiendpoint, 
    json={
            "originalContent":originalContent,
            "quantity":quantity,
            "language":language,
            "llmversion":llmversion,
            "context_materials":context_materials,
            "apikey":apikey
        }, headers=headers
    )
print(response.status_code)
print(response.json())
                        

JSON Response Sample


{
    "product PDP content"
}