API:Components
API Endpoint Path
required
Person & Company Entity Name Extractor
api/1/entity-extractor
Call Method
Required
POST
Type of Data Return
JSON
Output structured JSON data on person & company entity name
token
required
BUYFROMLO API token. Subscription API is available on /api/1/entity-extractor, and accessible to on-site APP on /app/1/entity-extractor as well
originalContent
required
Post the content excerpt or title. Total characters must be less than 800
typeofentity
required
Available types of entity extractor. normal and keywordextractor. Normal stands for all related entities, product, person, etc. keywordextractor is only for entities and products
Person & Company Entity Name Extractor
api/1/entity-extractor
Python Code Sample
import requests
apiendpoint = "https://api.buyfromlo.com/api/1/entity-extractor"
## Required Arguments & Parameters ##
token = "your buyfromlo token"
originalContent = "Enter a commodity name referring to the options"
typeofEntity = ""
data={"originalContent": originalContent, "typeofEntity": typeofEntity}
headers={"Authorization": "Bearer " + token}
## Call the api ##
response = requests.post(apiendpoint, json=data, headers=headers)
print(response.status_code)
print(response.json())
JSON Response Sample
{
"entity name"
}
The Person & Company Entity Name Extractor API helps extract the organization and company brand name, product name and so on from a headline or sentence.
The API supports text inputs in English, Japanese, Mandarin Chinese and Russian languages.
Yes, the API offers a free version with limited usage.
The API returns the extracted data in JSON format.
The free tier allows up to 500 requests per month.
The API documentation is available at https:\/\/www.buyfromlo.com\/docs\/#\/Automatic%20Components\/post_api_1_entity_extractor.
The API provides code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, and TypeScript.
Yes, there are paid subscription plans that offer increased usage limits.
You can access the API via the endpoint path \/api\/1\/entity-extractor.
Yes, the API is accessible on the website at \/api\/1\/entity-extractor and on the on-site APP at \/app\/1\/entity-extractor.