Skip to content

Quickstart

Get your first response from Wiktapi in under a minute. No API key required.

Make your first request

Fetch the English Wiktionary entry for the French word chat (cat):

bash
curl "https://api.wiktapi.dev/v1/en/word/chat?lang=fr"
json
{
  "word": "chat",
  "edition": "en",
  "entries": [
    {
      "word": "chat",
      "lang": "French",
      "lang_code": "fr",
      "pos": "noun",
      "senses": [{ "glosses": ["cat"] }],
      "sounds": [{ "ipa": "/ʃa/" }]
    }
  ]
}

Fetch just the definitions

Use the /definitions sub-resource to get only glosses, examples, and tags:

bash
curl "https://api.wiktapi.dev/v1/en/word/run/definitions"

Search for words

Prefix search returns up to 50 matches:

bash
curl "https://api.wiktapi.dev/v1/en/search?q=katz&lang=de"

Explore all endpoints

EndpointDescription
GET /v1/editionsList available Wiktionary editions
GET /v1/languagesList word languages with entry counts
GET /v1/{edition}/word/{word}Full entry
GET /v1/{edition}/word/{word}/definitionsGlosses, examples, tags
GET /v1/{edition}/word/{word}/translationsTranslation table
GET /v1/{edition}/word/{word}/pronunciationsIPA and audio
GET /v1/{edition}/word/{word}/formsInflected forms
GET /v1/{edition}/search?q=Prefix search

All word endpoints accept an optional ?lang={code} query parameter to filter results to a single word language.

Next steps