BabbelNet Unofficial API (1.0.0)

Download OpenAPI specification:Download

Unofficial API description for BabbelNet.

Version

Get API Version

Get API Version

Authorizations:
ApiKeyAuth

Responses

Response samples

Content type
application/json
{
  • "version": "v5_0"
}

Synsets

Retrieve synset IDs

Retrieve the IDs of the Babel synsets (concepts) denoted by a given word

Authorizations:
ApiKeyAuth
query Parameters
lemma
required
string

lemma string

searchLang
required
string

The language of the word. Accepts multiple values.

targetLang
Array of strings

The languages in which the data are to be retrieved.

pos
Array of strings

Returns only the synsets containing this part of speech (NOUN, VERB, etc). Accepts multiple values.

source
Array of strings

Returns only the synsets containing these sources (WIKT, WIKIDATA, etc). Accepts multiple values.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Retrieve synset

Retrieve the information of a given synset

Authorizations:
ApiKeyAuth
query Parameters
id
required
string

id of the synset you want to retrieve (can also be a WordNet id)

targetLang
Array of strings

The languages in which the data are to be retrieved.

Responses

Response samples

Content type
application/json
{
  • "senses": [
    ],
  • "wnOffsets": [
    ],
  • "glosses": [
    ],
  • "examples": [
    ],
  • "images": [],
  • "synsetType": "CONCEPT",
  • "categories": [
    ],
  • "domains": {
    },
  • "lnToCompound": {
    },
  • "lnToOtherForm": {
    },
  • "filterLangs": [
    ],
  • "bkeyConcepts": true
}

Retrieve synset IDs

Retrieve the IDs of the Babel synsets (concepts) denoted by a given word

Authorizations:
ApiKeyAuth
query Parameters
lemma
required
string

The word you want to search for

searchLang
required
string

The language of the word

targetLang
Array of strings

The languages in which the data are to be retrieved. Default value is the search language and accepts not more than 3 languages except the search language.

pos
Array of strings

Returns only the synsets containing this part of speech (NOUN, VERB, etc). Accepts multiple values.

source
Array of strings

Returns only the synsets containing these sources (WIKT, WIKIDATA, etc). Accepts multiple values.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Retrieve synset IDs given a resource identifier

Retrieve a list of BabelNet IDs given a resource identifier

Authorizations:
ApiKeyAuth
query Parameters
id
required
string

The page title you want to search for

lemma
string

The word you want to search for

searchLang
string

The language of the word

targetLang
Array of strings

The languages in which the data are to be retrieved. Default value is the search language and accepts not more than 3 languages except the search language.

pos
Array of strings

Returns only the synsets containing this part of speech (NOUN, VERB, etc). Accepts multiple values.

wnVersion
string
source
required
Array of strings

Returns only the synsets containing these sources (WIKT, WIKIDATA, etc). Accepts multiple values.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Retrieve synset

Retrieve the information of a given synset

Authorizations:
ApiKeyAuth
query Parameters
id
required
string

id of the synset you want to retrieve

targetLang
Array of strings

The languages in which the data are to be retrieved.

Responses

Response samples

Content type
application/json
[
  • {
    }
]