API:Generative AI
API Endpoint Path
required
AI SEO Metatag & Slug Generator API
api/3/seo-metatag
Call Method
Required
POST
Type of Data Return
JSON
Output structured JSON data on AI SEO metatag & slug
token
required
BUYFROMLO API token. Free and paid subscription API are available: /api/3/seo-metatag, and accessible to on-site APP on /app/3/seo-metatag as well
referenceContent
required
Enter the raw content for AI writing. Max.English character is up to 8000
brandname
required
Enter the brand name or product name that needs to be used in the meta tag
type
required
Input type of metatag. Current available options: general search, eCommerce (Specifically for Google Shopping)
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
Current avalable model for subscription users are OpenAI GPT, Palm, Gemini, Llama & Claude
llmversion
Optional
Free trial API is required to input a LLM api key. Current available model for free trial account is OpenAI.
AI SEO Metatag & Slug Generator API
api/3/seo-metatag
Python Code Sample
import requests
apiendpoint = "https://api.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"
type = "Select a type of search engine metatag."
titlecharacter = "total character of title metatag"
descharacter = "total character of descriptino metatag"
h1character = "total character of H1 tag"
role = "who creates these metatags"
## Optional ##
llmversion = "Default is gemini. Options are openai, palm, claude, llama"
language = "Default is en"
context = "Raw materials or keywords to fine-tune the content generation"
apikey = "For free trials, please submit related LLM apikey"
headers={"Authorization": "Bearer " + token}
## Call the api ##
response = requests.post(
apiendpoint,
json={
"referenceContent":referenceContent,
"brandname": brandname,
"type": type,
"titlecharacter": titlecharacter,
"descharacter": descharacter,
"h1character": h1character,
"role": role
}, headers=headers)
print(response.status_code)
print(response.json())
JSON Response Sample
## General Search ##
{
"SEO meta title": " " (string),
"SEO meta description": " " (string),
"SEO Slug": " " (string)
}
## Google Shopping ##
{
"SEO meta title": " " (string),
"SEO meta description": " " (string),
"SEO H1": " " (string),
"SEO Slug": " " (string)
}
The AI SEO Metatag & URL Slug Generator API is a tool that helps you generate optimized title tags, meta descriptions, and URL slugs for your website.
Benefits of using the AI SEO Metatag & URL Slug Generator API include improved search engine rankings, increased website traffic, and a better user experience.
The AI SEO Metatag & URL Slug Generator API uses a combination of natural language processing (NLP) and machine learning (ML) to analyze your website's content and generate optimized title tags, meta descriptions, and URL slugs.
The AI SEO Metatag & URL Slug Generator API generates JSON data that includes the optimized title tag, meta description, and URL slug for your website.
You can make up to 100,000 requests per month to the AI SEO Metatag & URL Slug Generator API.
The AI SEO Metatag & URL Slug Generator API is available as both a free and a paid subscription. The free subscription includes 1,000 requests per month, while the paid subscription includes 100,000 requests per month.
You can integrate the AI SEO Metatag & URL Slug Generator API into your website using a variety of methods, such as cURL, JS, Python, Ruby, PHP, Node.js, Java, .NET, Rust, Go, and Typescript.
Yes, the AI SEO Metatag & URL Slug Generator API offers support via email and a knowledge base.
The AI SEO Metatag & URL Slug Generator API typically generates results in a few seconds.
Yes, the AI SEO Metatag & URL Slug Generator API is secure and uses industry-standard security measures to protect your data.