AI Content Keyword Density Optimizer API

API Endpoint Specifications

  • Endpoint Path: /api/3/keyword-density-optimizer
  • Type of Data: JSON & 2/minute
  • Data Source: BUYFROMLO
  • 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 Content Keyword Density Optimizer API Endpoint Basic Info

API Endpoint Path

required

AI Content Keyword Density Optimizer API

api/3/keyword-density-optimizer


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/keyword-density-optimizer, and accessible to on-site APP on /app/3/keyword-density-optimizer as well

originalContent

required

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

coreKeyword

required

Input a root keyword to reflect on optimized keyword density


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

model123

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.

keywordList

Optional

Submit a list of target keywords. Max. length of the list is 10 keywords


AI Content Keyword Density Optimizer API

api/3/keyword-density-optimizer


Code Integration and Response

Python Code Sample


import requests

apiendpoint = "https://api.buyfromlo.com/api/3/keyword-density-optimizer"

## Required Arguments & Parameters ##
token = "your buyfromlo token"
originalContent = ""
coreKeyword = ""
keywordList = ""

## Optional ##
language = ""
model123 = ""
apikey = ""

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

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

JSON Response Sample


{
    "Keyword Density Optmised Content"
}