Copied to clipboard!

Google Direct Answer Box API

/ Home / Google Search API / Answer Box
Loading build status...

Google searches that may be answered directly are getting direct answers boxes. SerpApi is able to scrape, extract, and make sense of several kind of answer boxes. Contact us if the one answer box you are looking for is not supported yet.

SerpApi "Direct Answer Box" JSON

{
  ...
  "answer-box": [
    {
      "type": "String - Type of answer box (calculator, organic result, converter, etc.)",
      "result": "String - When the answer box can be inlined, the actual answer."
    },
  ...
}

Calculator Answer Box

Weather Answer Box

GET https://serpapi.com/search?q=What%27s+the+weather+in+Dallas%3F&hl=en&gl=us Playground

Converter Answer Box

GET https://serpapi.com/search?q=How+much+is+100+euros+in+us+dollars%3F&hl=en&gl=us Playground

Flights Answer Box

Dictionary Answer Box

GET https://serpapi.com/search?q=What%27s+the+definition+of+transparent%3F&hl=en&gl=us Playground
{
  ...
  "answer_box": {
    "type": "dictionary_results",
    "syllables": "trans·par·ent",
    "phonetic": "/transˈperənt/",
    "word_type": "adjective",
    "definitions": [
      "(of a material or article) allowing light to pass through so that objects behind can be distinctly seen.",
      "easy to perceive or detect.",
      "having thoughts, feelings, or motives that are easily perceived.",
      "(of an organization or its activities) open to public scrutiny.",
      "transmitting heat or other electromagnetic rays without distortion.",
      "(of a process or interface) functioning without the user being aware of its presence."
    ],
    "examples": [
      ""transparent blue water"",
      ""a transparent plastic film"",
      ""the residents will see through any transparent attempt to buy their votes"",
      ""the symbolism of this myth is transparent"",
      ""you'd be no good at poker—you're too transparent"",
      ""if you had transparent government procurement, corruption would go away"",
      ""parliament should render government transparent""
    ],
    "extras": [
      "synonyms:see-through, clear, translucent, pellucid, crystal clear, crystalline, limpid, glassy, glasslike, liquid; Moreunclouded, uncloudy; raretranspicuous "a transparent plastic film"",
      "antonyms:opaque, cloudy",
      "synonyms:obvious, explicit, unambiguous, unequivocal, clear, lucid, straightforward, plain, (as) plain as the nose on your face, apparent, unmistakable, manifest, conspicuous, patent, indisputable, self-evident; raretranspicuous "the symbolism of this myth is transparent"",
      "antonyms:obscure, ambiguous",
      "synonyms:frank, open, candid, honest, direct, forthright, unreserved, plain-spoken, straight, straightforward, ingenuous, innocent, guileless, simple, artless; Moreaccountable; informalupfront "parliament should render government transparent"",
      "antonyms:cunning, secretive"
    ]
  },
  ...
}

List Answer Box

Organic Result Answer Box