<< Back to API Docs

Entities

This method returns a set of entities resolved for some text input. Right now, the available entities are the following:

organizations
companies
locations
persons
HTTP Method

GET / POST

Note: POST is also accepted here, since sometimes GET won't be enough (e.g, very long GET query strings are not supported by all web servers and proxies).

URL
http://brain.meaningtool.com/neocortex/entities
HTTP Request parameters (query string)
api_key
The API key obtained after you signed up in meaningtool.com.
input
Input data to obtain entities from.

Example JSON representation of a Result on success:

    {
      "status": "ok",
      "code": "",
      "message": "Entities retrieved.",
      "payload": {
        "entities": {
            "organizations": [
                { "score": 0.80000000000000004, "name": "Golden Globe" },
                { "score": 0.80000000000000004, "name": "The Blind Side" },
                { "score": 0.40000000000000002, "name": "CNN" }
            ],
           "companies": [],
           "locations": [
                { "score": 0.40000000000000002, "name": "Julia Roberts" }
           ],
           "persons": [
                { "score": 2.5, "name": "Nelson Mandela" },
                { "score": 0.40000000000000002, "name": "Julia Child" }
           ]
        }
     }