English Pronunciation Dictionary API

This API allows you to query the English Pronunciation Dictionary programmatically via an API.

Dictionary API reference

The Dictionary API is organized around JSON-RPC. The API accepts JSON-encoded request bodies and returns JSON-encoded responses.

The API is available at https://www.antvaset.com/api.

There is no authentication. The API is free to use for any purpose.

Methods

dictionary.query
Query the dictionary for a word or phrase. The query string is matched against the spelling of the entries.
The response contains an array of matching entries. Each entry contains the spelling and the IPA of the word or phrase. The response may contain multiple entries if the query string matches multiple entries.

Parameters

{
Query string
query: string,
Language code
lang: string
}

Result

{
Matching entries
entries: {
Text (spelling)
text: string,
IPA transcription, with tokens separated by vertial bars
ipa: string,
Variant, e.g. UK or US
variant?: string
}[]
}
dictionary.stats
Get statistics about the dictionary. The response contains the number of entries per language edition.

Parameters

No parameters.

Result

{
Language editions
editions: {
Language code
lang: string,
Number of entries
entryCount: number
}[]
}

Related projects

A pronunciation dictionary for the English language.
IPA, phonetics, dictionaries
An online IPA chart.
IPA, phonetics
An online pronunciation dictionary of the Russian language.
IPA, phonetics, linguistics
An online pronunciation dictionary of the Belarusian language.
IPA, phonetics, linguistics
An online pronunciation dictionary of the Ukrainian language.
IPA, phonetics, linguistics
An online editor for Praat scripts.
Praat, phonetics
An online IPA keyboard.
IPA, Unicode
Convert English text to phonetics.
IPA, g2p
Type /həˈloʊ/ and listen to the sound of IPA.
IPA, text to speech
A WASM port of Phonetisaurus.
IPA, g2p, WASM
View place name pronunciations on a map.
IPA, Mapbox
A web-based phonetic analyzer built on top of Praat.
Praat, WASM, phonetics

Made by Anton Vasetenkov.

If you want to say hi, you can reach me on LinkedIn or via email. If you like my work, you can support me by buying me a coffee.