Skip to content
Language — current: English
Theme — current: Match system
Python
import requests

params = {
    "engine": "duckduckgo",
    "q": "coffee",
    "api_key": "E5oa7LbhkKN7YUyj4CwXppK8",
}

response = requests.get("https://www.searchapi.io/api/v1/search", params=params)
print(response.json())

Only required parameters and parameters you set are sent — the request never repeats the API's own defaults back at it.