DuckDuckGo · Example Payload

Instant Answer Calc Example

SearchPrivacyBrowserAI ChatEmail ProtectionVPNTrackersIdentity

Instant Answer Calc Example is an example object payload from DuckDuckGo, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "GET",
    "url": "https://api.duckduckgo.com/?q=2%2B2&format=json",
    "headers": {
      "Accept": "application/json"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/x-javascript"
    },
    "body": {
      "Abstract": "",
      "AbstractText": "",
      "Answer": "4",
      "AnswerType": "calc",
      "Definition": "",
      "Heading": "",
      "Image": "",
      "RelatedTopics": [],
      "Results": [],
      "Type": "",
      "Redirect": ""
    }
  }
}