Free Dictionary API
api.dictionaryapi.dev · Developer Tools
English dictionary API — definitions, phonetics, audio pronunciations, parts of speech, examples, synonyms, and antonyms. No API key required.
Authentication
No authentication requiredFree to use with no key needed.
Sample Requests
GET
Look up a word
Get full dictionary entry for "hello".
https://api.dictionaryapi.dev/api/v2/entries/en/hello
Hover any highlighted part to learn what it does
curl -X GET "https://api.dictionaryapi.dev/api/v2/entries/en/hello"
import requests
response = requests.get(
"https://api.dictionaryapi.dev/api/v2/entries/en/hello",
)
print(response.json())const url = 'https://api.dictionaryapi.dev/api/v2/entries/en/hello'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.dictionaryapi.dev/api/v2/entries/en/hello"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.dictionaryapi.dev/api/v2/entries/en/hello")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.dictionaryapi.dev/api/v2/entries/en/hello";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
Look up in Spanish
Get Spanish dictionary entry for "hola".
https://api.dictionaryapi.dev/api/v2/entries/es/hola
Hover any highlighted part to learn what it does
curl -X GET "https://api.dictionaryapi.dev/api/v2/entries/es/hola"
import requests
response = requests.get(
"https://api.dictionaryapi.dev/api/v2/entries/es/hola",
)
print(response.json())const url = 'https://api.dictionaryapi.dev/api/v2/entries/es/hola'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.dictionaryapi.dev/api/v2/entries/es/hola"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.dictionaryapi.dev/api/v2/entries/es/hola")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.dictionaryapi.dev/api/v2/entries/es/hola";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- No API key needed
- Try GET https://api.dictionaryapi.dev/api/v2/entries/en/serendipity
- Response includes phonetics, definitions, examples, synonyms, antonyms
- Supports multiple languages: en, hi, es, fr, ja, ru, de, it, ko, pt-BR, ar, tr