Skip to content

Wiktionary API

4 endpointsSearch & KnowledgeGlobalsocial:read4 real examples

Returns Wiktionary word definitions by language and part of speech, entry search, categories and random entries.

View as Markdown
GET/wiktionary/definitionThe definitions of a word per language and part of speech, as Wiktionary lists them.
GET/wiktionary/searchEntries whose headword or text matches a search, 20 per page.
GET/wiktionary/categoriesCategories of one entry, such as its language and part of speech.
GET/wiktionary/randomRandom Wiktionary entries, 1 to 10 at a time. Each call returns new ones, so it is not cached.

definition

GET/v1/wiktionary/definition

The definitions of a word per language and part of speech, as Wiktionary lists them.

scope social:read1 unitcached 24 hpaginated

Parameters

word
string
required
The word to look up, such as hello.
e.g. hello
lang
string
Only this language, by its name in Wiktionary, such as English or French.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
definitionsDefinition[]
textstring
languagestring
partOfSpeechstring
curl "https://api.hoshime.com/v1/wiktionary/definition?word=hello" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "definitions": [
        {
          "text": "A greeting (salutation) said when meeting someone or acknowledging someone’s arrival or presence."
        },
        {
          "text": "A greeting used when answering the telephone."
        }
      ],
      "language": "English",
      "partOfSpeech": "Interjection"
    },
    {
      "definitions": [
        {
          "text": "\"Hello!\" or an equivalent greeting."
        }
      ],
      "language": "English",
      "partOfSpeech": "Noun"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "definition",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "wiktionary",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

categories

GET/v1/wiktionary/categories

Categories of one entry, such as its language and part of speech.

scope social:read1 unitcached 24 hpaginated

Parameters

word
string
required
The word to look up, such as serendipity.
e.g. serendipity
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

1 fields
titlestring
curl "https://api.hoshime.com/v1/wiktionary/categories?word=serendipity" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "title": "Category:English 5-syllable words"
    },
    {
      "title": "Category:English coinages"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "categories",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "wiktionary",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

random

GET/v1/wiktionary/random

Random Wiktionary entries, 1 to 10 at a time. Each call returns new ones, so it is not cached.

scope social:read1 unitpaginated

Parameters

limit
integer
Items per page, 1 to 10.
default 1
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
pageIdstring
snippetstring
titlestring
urlstring
curl "https://api.hoshime.com/v1/wiktionary/random" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "pageId": "4969164",
      "snippet": "",
      "title": "autorčin",
      "url": "https://en.wiktionary.org/wiki/autor%C4%8Din"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "random",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "wiktionary",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open