Skip to main content


The Datafuse API provides access to various data services. In order to make use of our API you will first need the base url: Then you will need an API Key. If you don't have an API Key yet, you can find out here how to get one.

Once you have an API Key you can start using our API.


Below are Python and JavaScript examples using the requests library in Python and the fetch library in JavaScript to interact with the API. This example uses a Bearer token for authorization in both cases.

import requests

headers = {
"Authorization": "Bearer {API_KEY}",
"Content-Type": "application/json"

response = requests.get("", headers=headers)

# Do stuf with the response...

In the examples above, the term {API_KEY} should be replaced with your actual API Key.