Wikimedia
  1. Transform
Wikimedia
  • Feed content availability
    • Gets availability of featured feed content for the apps by wiki domain.
      GET
  • Math
    • Check and normalize a TeX formula.
      POST
    • Get a previously-stored formula
      GET
    • Get rendered formula in the given format.
      GET
  • Bytes difference data
    • Get the sum of absolute value of text bytes difference between current edit and previous one.
      GET
    • Get the sum of absolute text bytes difference per page.
      GET
    • Get the sum of net text bytes difference between current edit and previous one.
      GET
    • Get the sum of net text bytes difference per page.
      GET
  • Edited pages data
    • Get edited-pages counts for a project.
      GET
    • Get new pages counts for a project.
      GET
    • Get top 100 edited-pages by absolute bytes-difference.
      GET
    • Get top 100 edited-pages by edits count.
      GET
    • Get top 100 edited-pages by net bytes-difference.
      GET
  • Editors data
    • Get editors counts for a project.
      GET
    • Get top 100 editors by absolute bytes-difference.
      GET
    • Get top 100 editors by edits count.
      GET
    • Get top 100 editors by net bytes-difference.
      GET
  • Edits data
    • Get edits counts for a project.
    • Get edit counts for a page in a project.
  • Legacy data
    • /metrics/legacy/pagecounts/aggregate/{project}/{access-site}/{granularity}/{start}/{end}
  • Pageviews data
    • Get pageview counts for a project.
    • Get pageview counts for a page.
    • Get pageviews by country and access method.
    • Get the most viewed articles for a project.
  • Registered users data
    • Get newly registered users counts for a project.
  • Unique devices data
    • Get unique devices count per project
  • Transform
    • Machine-translate content
      POST
    • Machine-translate content
      POST
    • Lists the language pairs supported by the back-end
      GET
    • Lists the tools available for a language pair
      GET
    • Lists the tools and language pairs available for the given tool category
      GET
    • Lists the tools and language pairs available for the given tool category
      GET
    • Lists the tools and language pairs available for the given tool category
      GET
    • Fetch the dictionary meaning of a word
      GET
    • Fetch the dictionary meaning of a word
      GET
  1. Transform

Fetch the dictionary meaning of a word

GET
/transform/word/from/{from_lang}/to/{to_lang}/{word}/{provider}
Transform
Fetches the dictionary meaning of a word from a language and displays
it in the target language.
Stability: unstable
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://wikimedia.org/api/rest_v1/transform/word/from//to///'
Response Response Example
200 - Example 1
{
    "source": "string",
    "translations": [
        {
            "info": "string",
            "phrase": "string",
            "sources": "string"
        }
    ]
}

Request

Path Params
from_lang
string 
required
The source language code
to_lang
string 
required
The target language code
word
string 
required
The word to lookup
provider
string 
required
The dictionary provider id

Responses

🟢200the dictionary translation for the given word
application/json
Body
source
string 
optional
the original word to look up
translations
array [object {3}] 
optional
the translations found
info
string 
optional
extra information about the phrase
phrase
string 
optional
the translated phrase
sources
string 
optional
the source dictionary used for the translation
🔴500Error
Modified at 2023-08-15 06:49:12
Previous
Fetch the dictionary meaning of a word
Built with