Support

Entity Extraction API Getting Started

From null to hello world in 4 simple steps.

Get a free API Key

Log in to your Dandelion API account. Don't have an account? Sign up here.
Now, you can get your api key.

Your first time with Entity Extraction API: it's love!

You can call the Entity Extraction API from within your code or using your favorite REST client, like CURL or even the browser. You can also test it from the demo page.

Enough talking. It's time for some action.

https://api.dandelion.eu/datatxt/nex/v1/? text=The%20doctor%20says%20an%20apple%20is%20better%20than%20an%20orange
&include=types%2Cabstract%2Ccategories&token=<YOUR_TOKEN>

This is how that would translate to a CURL command:

curl -i "https://api.dandelion.eu/datatxt/nex/v1/? text=The%20doctor%20says%20an%20apple%20is%20better%20than%20an%20orange &include=types%2Cabstract%2Ccategories&token=<YOUR_TOKEN>"

Easy, uh?

Here is what you get:
{
  "timestamp": "2015-10-21T16:29:37",
  "time": 2,
  "lang": "en",
  "annotations": [
    {
      "abstract": "A physician is a professional who practices medicine, which is concerned with promoting, maintaining or restoring human health through the study, diagnosis, and treatment of disease, injury, and other physical and mental impairments. They may focus their practice on certain disease categories, types of patients, or methods of treatment \u2013 known as specialist medical practitioners \u2013 or assume responsibility for the provision of continuing and comprehensive medical care to individuals, families, and communities \u2013 known as general practitioners. Medical practice properly requires both a detailed knowledge of the academic disciplines (such as anatomy and physiology) underlying diseases and their treatment \u2013 the science of medicine \u2013 and also a decent competence in its applied practice \u2013 the art or craft of medicine.",
      "id": 23315,
      "title": "Physician",
      "start": 4,
      "categories": [
        "Physicians",
        "Healthcare occupations",
        "Occupations"
      ],
      "label": "Physician",
      "types": [],
      "confidence": 0.438,
      "uri": "http://en.wikipedia.org/wiki/Physician",
      "end": 10,
      "spot": "doctor"
    },
    {
      "abstract": "The apple is the pomaceous fruit of the apple tree, species Malus domestica in the rose family (Rosaceae). It is one of the most widely cultivated tree fruits, and the most widely known of the many members of genus Malus that are used by humans. Apples grow on small, deciduous trees. The tree originated in Central Asia, where its wild ancestor, Malus sieversii, is still found today. Apples have been grown for thousands of years in Asia and Europe, and were brought to North America by European colonists. Apples have been present in the mythology and religions of many cultures, including Norse, Greek and Christian traditions. In 2010, the fruit's genome was decoded, leading to new understandings of disease control and selective breeding in apple production.",
      "id": 18978754,
      "title": "Apple",
      "start": 19,
      "categories": [
        "Apples",
        "Malus",
        "Plants described in 1803",
        "Sequenced genomes"
      ],
      "label": "Apple",
      "types": [
        "http://dbpedia.org/ontology/Eukaryote",
        "http://dbpedia.org/ontology/Plant",
        "http://dbpedia.org/ontology/Species"
      ],
      "confidence": 0.7869,
      "uri": "http://en.wikipedia.org/wiki/Apple",
      "end": 24,
      "spot": "apple"
    },
    {
      "abstract": "The orange (specifically, the sweet orange) is the fruit of the citrus species Citrus × sinensis in the family Rutaceae. The fruit of the Citrus sinensis is called sweet orange to distinguish it from that of the Citrus aurantium, the bitter orange. The orange is a hybrid, possibly between pomelo (Citrus maxima) and mandarin (Citrus reticulata), cultivated since ancient times.",
      "id": 4984440,
      "title": "Orange (fruit)",
      "start": 43,
      "categories": [
        "Oranges",
        "Citrus hybrids",
        "Tropical agriculture",
        "Symbols of Florida",
        "Symbols of California",
        "United States state plants",
        "World Digital Library related"
      ],
      "label": "Orange",
      "types": [
        "http://dbpedia.org/ontology/Eukaryote",
        "http://dbpedia.org/ontology/FloweringPlant",
        "http://dbpedia.org/ontology/Plant",
        "http://dbpedia.org/ontology/Species"
      ],
      "confidence": 0.7515,
      "uri": "http://en.wikipedia.org/wiki/Orange_(fruit)",
      "end": 49,
      "spot": "orange"
    }
  ]
}

Be curious

Having trouble? Want to know more? Check out our documentation resources. Or, ask a question in our support forum . Happy to help!

The second time is always better. Tickled by the Entity Extraction API? Start building your innovative Dandelion-powered app!

SpazioDati Via A. Olivetti 13, 38122, Trento (TN) -


Dandelion API built with by
Company subject to management and coordination of Cerved Group S.p.A.

site privacy | api privacy | tos | cookies | consent preferences

Contact Us

@dandelionapi

Need more info or a custom project? Write us: hello@dandelion.eu

About Us

We're a startup based in Italy, specialized in Semantics & Big Data.
Find out more about us at spaziodati.eu