Person & Company Entity Name Extractor API

API Endpoint Specifications

  • Endpoint Path: /api/1/entity-extractor
  • Type of Data: JSON & 20/minute
  • Data Source: BUYFROMLO
  • Request Limit: 500 request/month
  • Script & Integration: Code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, Typescript
Person & Company Entity Name Extractor API Endpoint Basic Info

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


Available API Arguments & Parameters

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


Code Integration and Response

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"
}