Text Content & Image Keyword Extractor API
API Endpoint Specifications
- Endpoint Path: /api/1/keywordExtractor
- Type of Data: JSON & 10/minute
- Data Source: Text, Image materials
- Request Limit: 500 request/month
- Script & Integration: Code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, Typescript
Text Content & Image Keyword Extractor API Endpoint Basic Info
API Endpoint Path
required
Keyword Extractor API
api/1/keywordExtractor
Call Method
Required
POST
Type of Data Return
JSON
Output structured JSON data on extracted keyword
Available API Arguments & Parameters
token
required
BUYFROMLO API token. Free and paid subscription APIs are both available: /api/1/keywordExtractor, and accessible to on-site APP on /app/1/keyword-extractor as well
mediaType
required
Type of keyword extracton. Options are Image API, Text Content API
originalContent
required
Input the content text, or image bytes code string
Keyword Extractor API
api/1/keywordExtractor
Code Integration and Response
Python Code Sample
import requests
apiendpoint = "https://api.buyfromlo.com/api/1/keywordExtractor"
## Required Arguments & Parameters ##
token = "your buyfromlo token"
mediaType = "input the type of content, such as Image API or Text Content API"
originalContent = "Input the original content, such as image URL or content text"
headers={"Authorization": "Bearer " + token}
## Call the api ##
response = requests.post(apiendpoint, json={"mediaType": mediaType, "originalContent": originalContent}, headers=headers)
print(response.status_code)
print(response.json())
JSON Response Sample
{
"Weather data"
}