Oxford Dictionaries API

Get your API Key

Dictionaries

World-renowned monolingual and bilingual dictionary data

Community

Support from a Forum, Webinars, and Blog

Enter a word above to see the API in action …
Definition Example sentence
  • Python
  • Java
  • Ruby
  • Node

									# for more information on how to install requests# http://docs.python-requests.org/en/master/user/install/#installimport  requestsimport json# TODO: replace with your own app_id and app_keyapp_id = '<my app_id>'app_key = '<my app_key>'language = 'en-gb'word_id = 'Ace'url = 'https://od-api.oxforddictionaries.com/api/v2/entries/'  + language + '/'  + word_id.lower()r = requests.get(url, headers = {'app_id' : app_id, 'app_key' : app_key})print("code {}\n".format(r.status_code))print("text \n" + r.text)print("json \n" + json.dumps(r.json()))
							
  import  javax.net.ssl.HttpsURLConnection;import  java.io.BufferedReader;import  java.io.IOException;import  java.io.InputStreamReader;import  java.net.URL; public class Oxford {      public static void main(String[] args) {       final String language = "en-gb";       final String word = "Ace";       final String fields = "pronunciations";       final String strictMatch = "false";       final String word_id = word.toLowerCase();       final String restUrl = "https://od-api.oxforddictionaries.com:443/api/v2/entries/" + language + "/" + word_id + "?" + "fields=" + fields + "&strictMatch=" + strictMatch;       //TODO: replace with your own app id and app key      final String app_id = "";       final String app_key = "";        try {         URL url = new URL(restUrl);         HttpsURLConnection urlConnection = (HttpsURLConnection) url.openConnection();         urlConnection.setRequestProperty("Accept", "application/json");         urlConnection.setRequestProperty("app_id", app_id);         urlConnection.setRequestProperty("app_key", app_key);
         // read the output from the server         BufferedReader reader = new BufferedReader(new InputStreamReader(urlConnection.getInputStream()));         StringBuilder stringBuilder = new StringBuilder();         String line = null;         while ((line = reader.readLine()) != null) {             stringBuilder.append(line + "\n");        }         System.out.println(stringBuilder.toString());      } catch (IOException e) {         e.printStackTrace();      }    }}
                            require 'net/https'require 'httparty'   # gem install httppartyresponse = nilword = 'small'uri = URI('https://od-api.oxforddictionaries.com/api/v2/entries/en-gb/' + word)use_ssl = truehttp = Net::HTTP.new(uri.host, uri.port)http.use_ssl = use_sslhttp.start do |http|   req = Net::HTTP::Get.new(uri)   req['app_id'] = 'YOURAPPID'   req['app_key'] = 'YOURAPPKEY'   req['Accept'] = 'application/json'   response = http.request(req)   resp = response.body  puts respend
							

								const https = require("https");const app_id = "<my app_id>";const app_key = "<my app_key>";const wordId = "ace";const fields = "pronunciations";const strictMatch = "false";const options = {   host: 'od-api.oxforddictionaries.com',   port: '443',   path: '/api/v2/entries/en-gb/' + wordId + '?fields=' + fields + '&strictMatch=' + strictMatch,   method: "GET",   headers: {     'app_id': app_id,     'app_key': app_key   } };https.get(options, (resp) => {  let body = '';  resp.on('data', (d) => {    body += d;  });  resp.on('end', () => {    let parsed = JSON.stringify(body);    console.log(parsed);  });});
							

Find out what we can do for you…

Oxford Dictionaries is at the forefront of lexical research and our products will help you succeed whether you are building a game, learning application, or next-generation speech and text technology

Get your API Key

What's possible with our dictionary data?

Games

Enhance word games with definition lookups

Bots and AI

Accurate, structured data and large corpora help solve many language problems

Learning

Audio, examples and synonyms are just some data types that can help learners

Research

Trusted, deep content for academic research, often for free!

amazon
zynga
google
facebook
microsoft
Introductory
A free, limited plan. Perfect for setting up and running a few tests.
Price – Free
Calls – up to 1,000

Languages – All available
Endpoints – All available
Caching – Unavailable
Unlimited
Unlimited calls.
Tiered Discounts.

0-250 calls @ £1
then
251-10,000 calls @ £0.0022*
then
10,001-100,000 calls @ £0.0011*
then
100,001+ calls @ £0.00055*
*Price per call
Full pricing information

Languages – All available
Endpoints – All available
Caching – Unavailable
ENTERPRISE
One-time annual fee.
For high volume and complex uses. Bespoke plans based on requirements. Selection of data delivery methods. Dedicated personal customer support. Caching available.