Google Direct Answer Box API

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

API Examples

JSON structure overview

{
  ...
  "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

Calculator Answer Box

JSON Example

{
  ...
  "answer_box": {
    "type": "calculator_result",
    "result": "3.141592653589793"
  },
  ...
}

Alternative layout for Calculator Answer Box

Alternative layout for Calculator Answer Box

JSON Example

{
  ...
  "answer_box": {
    "type": "calculator_result",
    "result": "23.5384615 miles per hour"
  },
  ...
}

Weather Answer Box

Weather Answer Box

JSON Example

{
  ...
  "answer_box": {
    "type": "weather_result",
    "temperature": "83",
    "unit": "Fahrenheit",
    "precipitation": "1%",
    "humidity": "59%",
    "wind": "7 mph",
    "location": "Dallas, TX",
    "date": "Monday 5:00 AM",
    "weather": "Clear",
    "thumbnail": "https://ssl.gstatic.com/onebox/weather/64/sunny.png",
    "forecast": [
      {
        "day": "Monday",
        "weather": "Sunny",
        "temperature": {
          "high": "101",
          "low": "79"
        },
        "thumbnail": "https://ssl.gstatic.com/onebox/weather/48/sunny.png"
      },
      {
        "day": "Tuesday",
        "weather": "Sunny",
        "temperature": {
          "high": "103",
          "low": "80"
        },
        "thumbnail": "https://ssl.gstatic.com/onebox/weather/48/sunny.png"
      },
      {
        "day": "Wednesday",
        "weather": "Sunny",
        "temperature": {
          "high": "103",
          "low": "80"
        },
        "thumbnail": "https://ssl.gstatic.com/onebox/weather/48/sunny.png"
      },
      ...
    ],
    "precipitation_forecast": [
      {
        "precipitation": "0%",
        "day": "Monday",
        "time": "5:00 AM"
      },
      {
        "precipitation": "0%",
        "day": "Monday",
        "time": "6:00 AM"
      },
      {
        "precipitation": "0%",
        "day": "Monday",
        "time": "7:00 AM"
      },
      ...
    ],
    "wind_forecast": [
      {
        "angle": 77,
        "direction": "From south",
        "speed": "5 mph",
        "time": "6 AM"
      },
      {
        "angle": 76,
        "direction": "From south",
        "speed": "9 mph",
        "time": "9 AM"
      },
      {
        "angle": 88,
        "direction": "From south",
        "speed": "10 mph",
        "time": "12 PM"
      },
      ...
    ]
  },
  ...
}

Finance Answer Box

Finance Answer Box

JSON Example

{
  ...
  "answer_box": {
    "type": "finance_results",
    "title": "Netflix Inc",
    "exchange": "NASDAQ",
    "stock": "NFLX",
    "currency": "USD",
    "price": 512.74,
    "price_movement": {
      "price": 3.92,
      "percentage": 0.77,
      "movement": "Up",
      "date": "today"
    },
    "market": {
      "closed": true,
      "date": "Jun 24, 5:43 AM EDT",
      "trading": "Pre-market",
      "price": 515.56,
      "price_movement": {
        "price": 2.82,
        "percentage": 0.55,
        "movement": "Up"
      }
    },
    "previous_close": 508.82,
    "table": [
      {
        "name": "Open",
        "value": 508.48
      },
      {
        "name": "High",
        "value": 516.63
      },
      {
        "name": "Low",
        "value": 508.2
      },
      ...
    ],
    "link": "https://www.google.com/finance/quote/NFLX:NASDAQ?sa=X&ved=2ahUKEwjm2c6ajLDxAhUDba0KHRIBDgkQ3ecFMAB6BAgXEBI"
  },
  ...
}

Population Answer Box

Population Answer Box

JSON Example

{
  ...
  "answer_box": {
    "type": "population_result",
    "place": "New York",
    "population": "8.419 million",
    "year": "2019",
    "other": [
      {
        "place": "Los Angeles",
        "population": "3.967 million"
      },
      {
        "place": "Chicago",
        "population": "2.71 million"
      }
    ],
    "sources": [
      {
        "name": "United States Census Bureau",
        "link": "https://www.census.gov/data/developers/data-sets/acs-5year.html"
      }
    ]
  },
  ...
}

Converter Answer Box

Converter Answer Box

JSON Example

{
  ...
  "answer_box": {
    "type": "currency_converter",
    "result": "112.79 United States Dollar",
    "price": 112.79,
    "currency": "United States Dollar",
    "date": "Dec 6, 6:04 PM UTC",
    "currency_converter": {
      "from": {
        "price": 100,
        "currency": "Euro"
      },
      "to": {
        "price": 112.79,
        "currency": "United States Dollar"
      }
    },
    "chart": [
      {
        "price": 1.15515,
        "time": "2021-11-06 23:58 PM",
        "unix_time": 1636243080
      },
      {
        "price": 1.15687,
        "time": "2021-11-07 23:58 PM",
        "unix_time": 1636329480
      },
      {
        "price": 1.15875,
        "time": "2021-11-08 23:58 PM",
        "unix_time": 1636415880
      },
      ...
    ]
  },
 }

Flights Answer Box

Flights Answer Box

JSON Example

{
  ...
  "answer_box": {
    "type": "google_flights",
    "title": "Flights to Orlando, FL",
    "ad": "Save $106 – Nonstop flights from $697 if you fly to Tampa (TPA)",
    "flights": [
      {
        "link": "https://www.google.com/flights?num=100&source=flun&uitype=cuAA&hl=en&gl=us&curr=USD&tfs=CAEQAhotEgoyMDIyLTAxLTIwKAAyAkFBagsIAhIHL20vMHZ6bXIMCAISCC9tLzBwbHkwGi0SCjIwMjItMDEtMjQoADICQUFqDAgCEggvbS8wcGx5MHILCAISBy9tLzB2em1IBHpoQ2pSSVMxTnNWMmh4VHpFemVqUkJSWFJSVkVGQ1J5MHRMUzB0TFMwdExYbHpZbXMwTWtGQlFVRkJSMGhOVUdaUlRubFhOVUZCRWdOdVFVRWFDd2lzOHdRUUFob0RWVk5FT0FOd3JQTUU&sa=X&ved=2ahUKEwjolIDj64j1AhWFj4kEHUdODDUQ1RUoAHoECAcQLg",
        "icon": "https://serpapi.com/searches/61cc3df4e7d08a5fe565689c/images/7a45069d8927456ed6614256f8110301d65a1575461a537a0bf372bd965721c1.png",
        "flight_info": [
          "American",
          "2h 32m",
          "Nonstop",
          "from $803"
        ]
      }
    ],
    "link": "https://www.google.com/flights?num=100&source=flun&uitype=cuAA&hl=en&gl=us&curr=USD&tfs=CAEQAhonEgoyMDIyLTAxLTIwagsIAhIHL20vMHZ6bXIMCAISCC9tLzBwbHkwGicSCjIwMjItMDEtMjRqDAgCEggvbS8wcGx5MHILCAISBy9tLzB2em1IBHpoQ2pSSVMxTnNWMmh4VHpFemVqUkJSWFJSVkVGQ1J5MHRMUzB0TFMwdExYbHpZbXMwTWtGQlFVRkJSMGhOVUdaUlRubFhOVUZCRWdOdVFVRWFDd2lzOHdRUUFob0RWVk5FT0FOd3JQTUU",
    "search_information": {
      "trip_type": "Round Trip",
      "non_stop": true,
      "booking_class": "First",
      "from": {
        "departing_place": "Austin, TX",
        "departing_airport": "AUS"
      },
      "to": {
        "arriving_place": "Orlando, FL",
        "arriving_airport": "All Airports"
      }
    },
    "cheapest_flights": [
      {
        "departure_date": "2021-12-30",
        "return_date": "2022-01-03",
        "price": "$1,081",
        "percentage_of_highest_price": 95.32628,
        "booking_class": "T"
      },
      {
        "departure_date": "2021-12-31",
        "return_date": "2022-01-04",
        "price": "$1,081",
        "percentage_of_highest_price": 95.32628,
        "booking_class": "F"
      },
      {
        "departure_date": "2022-01-01",
        "return_date": "2022-01-05",
        "price": "$1,037",
        "percentage_of_highest_price": 91.44621000000001,
        "booking_class": "S"
      },
    ...
    ],
  }
  ...
}

Hotels Answer Box

Hotels Answer Box

JSON Example

{
  ...
   "answer_box": {
    "type": "hotels",
    "query": {
      "location": "Boston, MA",
      "days": [
        "Wed, Nov 24",
        "Thu, Nov 25"
      ],
      "people": 2
    },
    "hotels": [
      {
        "link": "https://www.google.com/travel/hotels/Boston/entity/CgoI7Lu82-XY3ZQdEAE?g2lb=4306835,4258168,4640247,4401769,4659631,4317915,4371335,4659204,2502548,2503781,4518326,4624411,4605861,2503771,4641139,4419364,4644940,4597339,4270442,4644488,4570331,4596364,4284970,4270859,4291517&hl=en-US&gl=us&ssta=1&ap=aAE&grf=Er8ICiwIDhIoEiZyJCoiCgcI5Q8QCxgYEgcI5Q8QCxgZIAAwHkDKAkoHCOUPEAsYEBILCCkoAToF0gICCAESCggNKAE6BGoCCAESCggHKAE6BDoCIAESCggCKAE6BBICCAESDAgKEAIoAToEWgIIBhIMCAoQAigBOgRaAggEEgwIChACKAE6BFoCCAkSDAgKEAIoAToEWgIICBIMCAoQAigBOgRaAggKEgwIChACKAE6BFoCCAISDAgKEAIoAToEWgIIARIMCAoQAigBOgRaAggDEgwIChACKAE6BFoCCAcSCggEKAE6BCICEAESCwgoKAE6BcoCAggBEgsIEygCOgWaAQIIARIECB8oAxpKCAoSBgoEWgIIBhIGCgRaAggEEgYKBFoCCAkSBgoEWgIICBIGCgRaAggKEgYKBFoCCAISBgoEWgIIARIGCgRaAggDEgYKBFoCCAcaAggCGgIIDRoCCAQaCwgTEgcKBZoBAggBGgIIDhpCCAcSDgoMOgoKAwiWARoDVVNEEg4KDDoKCgMIyAEaA1VTRBIOCgw6CgoDCPoBGgNVU0QSDgoMOgoKAwisAhoDVVNEGoIFCB8SCQoFggICCCEgARILCgeCAgQICBghIAESCQoFggICCBIgAhIMCgiCAgUImwEYEiABEgsKB4ICBAhoGBIgARIJCgWCAgIIFCAFEgsKB4ICBAhwGBQgAhILCgeCAgQIGxgUIAISCwoHggIECE4YFCABEgoKBoICAwihAiABEgkKBYICAggcIBgSCwoHggIECFEYHCAEEgsKB4ICBAhYGBwgARILCgeCAgQIcxgcIAYSCwoHggIECEcYHCADEgsKB4ICBAg2GBwgAxILCgeCAgQIJBgcIAESCwoHggIECE0YHCAFEgwKCIICBQidAhgcIAESCQoFggICCCUgBhILCgeCAgQIdxglIAESCwoHggIECHkYJSACEgsKB4ICBAh6GCUgAxIJCgWCAgIIESANEgsKB4ICBAhAGBEgAhILCgeCAgQIOBgRIAQSCwoHggIECFcYESABEgsKB4ICBAgCGBEgARILCgeCAgQIfxgRIAMSCwoHggIECCsYESACEgkKBYICAgguICgSDAoIggIFCIABGC4gAxILCgeCAgQIPBguIAESCwoHggIECDsYLiACEgsKB4ICBAhWGC4gBxILCgeCAgQIOhguIAMSDAoIggIFCIcBGC4gAhILCgeCAgQISBguIAESCwoHggIECD0YLiAEEgwKCIICBQiBARguIAESDAoIggIFCIMBGC4gARILCgeCAgQISxguIAcSCwoHggIECAMYLiABEgsKB4ICBAgMGC4gAhILCgeCAgQIKBguIAISDAoIggIFCIkBGC4gARILCgeCAgQIJxguIAISCQoFggICCDUgAhILCgeCAgQICxg1IAESCwoHggIECDIYNSABIgIgAQ&q=hotels+in+boston&rp=EOy7vNvl2N2UHRC3zNfasIjQq8UBEOrC3KWfqOfmlwEQ6IWohK-tzZFIOAFAAEgCogEKQm9zdG9uLCBNQcABA8gBAA&ictx=1",
        "image": "<URL to image>",
        "original_price": "$129",
        "price": "$115",
        "title": "Hilton Boston Downtown/Faneuil Hall",
        "rating": 4.3,
        "reviews": 1800,
        "sale": "20% less than usual",
        "deal": "DEAL"
      },
      {
        "link": "https://www.google.com/travel/hotels/Boston/entity/CgsIt8zX2rCI0KvFARAB?g2lb=4306835,4258168,4640247,4401769,4659631,4317915,4371335,4659204,2502548,2503781,4518326,4624411,4605861,2503771,4641139,4419364,4644940,4597339,4270442,4644488,4570331,4596364,4284970,4270859,4291517&hl=en-US&gl=us&ssta=1&ap=aAE&grf=Er8ICiwIDhIoEiZyJCoiCgcI5Q8QCxgYEgcI5Q8QCxgZIAAwHkDKAkoHCOUPEAsYEBILCCkoAToF0gICCAESCggNKAE6BGoCCAESCggHKAE6BDoCIAESCggCKAE6BBICCAESDAgKEAIoAToEWgIIBhIMCAoQAigBOgRaAggEEgwIChACKAE6BFoCCAkSDAgKEAIoAToEWgIICBIMCAoQAigBOgRaAggKEgwIChACKAE6BFoCCAISDAgKEAIoAToEWgIIARIMCAoQAigBOgRaAggDEgwIChACKAE6BFoCCAcSCggEKAE6BCICEAESCwgoKAE6BcoCAggBEgsIEygCOgWaAQIIARIECB8oAxpKCAoSBgoEWgIIBhIGCgRaAggEEgYKBFoCCAkSBgoEWgIICBIGCgRaAggKEgYKBFoCCAISBgoEWgIIARIGCgRaAggDEgYKBFoCCAcaAggCGgIIDRoCCAQaCwgTEgcKBZoBAggBGgIIDhpCCAcSDgoMOgoKAwiWARoDVVNEEg4KDDoKCgMIyAEaA1VTRBIOCgw6CgoDCPoBGgNVU0QSDgoMOgoKAwisAhoDVVNEGoIFCB8SCQoFggICCCEgARILCgeCAgQICBghIAESCQoFggICCBIgAhIMCgiCAgUImwEYEiABEgsKB4ICBAhoGBIgARIJCgWCAgIIFCAFEgsKB4ICBAhwGBQgAhILCgeCAgQIGxgUIAISCwoHggIECE4YFCABEgoKBoICAwihAiABEgkKBYICAggcIBgSCwoHggIECFEYHCAEEgsKB4ICBAhYGBwgARILCgeCAgQIcxgcIAYSCwoHggIECEcYHCADEgsKB4ICBAg2GBwgAxILCgeCAgQIJBgcIAESCwoHggIECE0YHCAFEgwKCIICBQidAhgcIAESCQoFggICCCUgBhILCgeCAgQIdxglIAESCwoHggIECHkYJSACEgsKB4ICBAh6GCUgAxIJCgWCAgIIESANEgsKB4ICBAhAGBEgAhILCgeCAgQIOBgRIAQSCwoHggIECFcYESABEgsKB4ICBAgCGBEgARILCgeCAgQIfxgRIAMSCwoHggIECCsYESACEgkKBYICAgguICgSDAoIggIFCIABGC4gAxILCgeCAgQIPBguIAESCwoHggIECDsYLiACEgsKB4ICBAhWGC4gBxILCgeCAgQIOhguIAMSDAoIggIFCIcBGC4gAhILCgeCAgQISBguIAESCwoHggIECD0YLiAEEgwKCIICBQiBARguIAESDAoIggIFCIMBGC4gARILCgeCAgQISxguIAcSCwoHggIECAMYLiABEgsKB4ICBAgMGC4gAhILCgeCAgQIKBguIAISDAoIggIFCIkBGC4gARILCgeCAgQIJxguIAISCQoFggICCDUgAhILCgeCAgQICxg1IAESCwoHggIECDIYNSABIgIgAQ&q=hotels+in+boston&rp=EOy7vNvl2N2UHRC3zNfasIjQq8UBEOrC3KWfqOfmlwEQ6IWohK-tzZFIOAFAAEgCogEKQm9zdG9uLCBNQcABA8gBAA&ictx=1",
        "image": "<URL to image>",
        "price": "$111",
        "title": "Omni Boston Hotel at the Seaport",
        "rating": 4.6,
        "reviews": 89,
        "features": [
          "Outdoor pool",
          "Hot tub"
        ]
      },
      ...
    ],
    "map_results": [
      {
        "price": "$159",
        "latitude": "42.33364",
        "longitude": "-71.08167"
      },
      {
        "price": "$100",
        "latitude": "42.32709",
        "longitude": "-71.05955"
      },
      ...
    ]
  }
  ...
}

Dictionary Answer Box

Dictionary Answer Box

JSON Example

{
  ...
  "answer_box": {
    "type": "dictionary_results",
    "syllables": "trans·par·ent",
    "pronunciation_audio": "https://ssl.gstatic.com/dictionary/static/sounds/20200429/transparent--_us_2.mp3",
    "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

List Answer Box

JSON Example

{
  ...
  "answer_box": {
    "type": "organic_result",
    "title": "French Toast Recipe | Robert Irvine | Food Network",
    "link": "https://www.foodnetwork.com/recipes/robert-irvine/french-toast-recipe-1951408",
    "snippet": "DirectionsIn a small bowl, combine cinnamon, nutmeg, and sugar and set aside briefly.In a 10-inch or 12-inch skillet, melt butter over medium heat. Whisk together cinnamon mixture, eggs, milk, and vanilla and pour into a shallow container such as a pie plate. Dip bread in egg mixture.",
    "list": [
      "In a small bowl, combine cinnamon, nutmeg, and sugar and set aside briefly.",
      "In a 10-inch or 12-inch skillet, melt butter over medium heat. Whisk together cinnamon mixture, eggs, milk, and vanilla and pour into a shallow container such as a pie plate. Dip bread in egg mixture."
    ],
    "refinements": [
      "no milk",
      "good",
      "sweet",
      "without eggs",
      "bread",
      "stuffed",
      "casserole",
      "cinnamon roll"
    ],
    "thumbnail": "<URL to image>"
  },
  ...
}

Organic Result Answer Box type 1

Organic Result Answer Box type 1

JSON Example

{
  ...
  "answer_box": {
    "type": "organic_result",
    "title": "Bananas: Health benefits, tips, and risks - Medical News Today",
    "link": "https://www.medicalnewstoday.com/articles/271157#:~:text=Bananas%20are%20one%20of%20the,reduce%20the%20risk%20of%20cancer.",
    "displayed_link": "https://www.medicalnewstoday.com › articles",
    "date": "2 days ago",
    "snippet": "Bananas are one of the most popular fruits worldwide. They contain essential nutrients that can have a protective impact on health. Eating bananas can help lower blood pressure and may reduce the risk of cancer.",
    "snippet_highlighted_words": [
      "help lower blood pressure and may reduce the risk of cancer"
    ],
    "thumbnail": "https://serpapi.com/searches/62cef4d8e7d08a2a19a66368/images/817075856624c04510a250764fc036e676fa7ecb50ef50be.jpeg",
    "about_this_result": {
      "source": {
        "description": "Medical News Today is a web-based outlet for medical information and news, targeted at both the general public and physicians. All posted content is available online, and the earliest available article dates from May 2003. The website has been owned by Healthline Media since 2016.",
        "icon": "https://serpapi.com/searches/62cef4d8e7d08a2a19a66368/images/817075856624c045dc67593005e2e98effdea56fd64f9f1f80aea4149ff5e1060f5b83ca85987129b7d261b512322da4.png"
      },
      "keywords": [
        "what",
        "banana",
        "fruit",
        "known",
        "for"
      ],
      "related_keywords": [
        "bananas"
      ],
      "languages": [
        "English"
      ],
      "regions": [
        "the United States"
      ]
    },
    "about_page_link": "https://www.google.com/search?q=About+https://www.medicalnewstoday.com/articles/271157&tbm=ilp&ilps=ADNMCi3uAE-moB4b7p92Z02YyCfiR72LIQ"
  },
  ...
}

Organic Result Answer Box type 2

Organic Result Answer Box type 2

JSON Example

{
  ...
  "answer_box": {
    "type": "organic_result",
    "title": "Isaac Newton | Biography, Facts, Discoveries, Laws ...",
    "link": "https://www.britannica.com/biography/Isaac-Newton#:~:text=Isaac%20Newton%2C%20in%20full%20Sir,Revolution%20of%20the%2017th%20century.",
    "displayed_link": "https://www.britannica.com › Science › Physics › Physicists",
    "snippet": "Isaac Newton, in full Sir Isaac Newton, (born December 25, 1642 [January 4, 1643, New Style], Woolsthorpe, Lincolnshire, England—died March 20 [March 31], 1727, London), English physicist and mathematician, who was the culminating figure of the Scientific Revolution of the 17th century.",
    "snippet_highlighted_words": [
      "English physicist and mathematician"
    ],
    "images": [
      "https://serpapi.com/searches/62cf047ce7d08a3ff30e7de8/images/be4c60d26e9a3cbfd3a8410ae2a001474a2877ba0b607ff3.jpeg",
      "https://serpapi.com/searches/62cf047ce7d08a3ff30e7de8/images/be4c60d26e9a3cbfd3a8410ae2a0014713d19189f88aae68.jpeg",
      "https://serpapi.com/searches/62cf047ce7d08a3ff30e7de8/images/be4c60d26e9a3cbfd3a8410ae2a00147306c86a864d8d1f8.jpeg"
    ],
    "subjects_of_study": "Newtonian reflector Newton’s ...",
    "notable_works": "“Opticks” “The Mathematical Pr...",
    "died": "March 31, 1727 (aged 84) London Engla...",
    "born": "January 4, 1643 England",
    "about_this_result": {
      "source": {
        "description": "britannica.com was first indexed by Google more than 10 years ago",
        "icon": "https://serpapi.com/searches/62cf047ce7d08a3ff30e7de8/images/be4c60d26e9a3cbf3c9e6debf81bbc3d260d4a7666f647bc7ae1c2e8097bf0c69ca85aac6bda1cf8bf4d05310cebb890.png"
      }
    },
    "about_page_link": "https://www.google.co.uk/search?q=About+https://www.britannica.com/biography/Isaac-Newton&tbm=ilp&ilps=ADNMCi2QO8PaOOSlTdPi4gxx3ZjzBGUEYA"
  },
  ...
}

Organic Result Answer Box type 3

Organic Result Answer Box type 3

JSON Example

{
  ...
  "answer_box": {
    "type": "organic_result",
    "title": "We have data on 3,639 companies that use IBM Watson....Who uses IBM Watson?",
    "link": "https://enlyft.com/tech/products/ibm-watson",
    "contents": {
      "table": [
        [
          "Company",
          "Bonnier Corporation"
        ],
        [
          "Website",
          "bonniercorp.com"
        ],
        [
          "Country",
          "United States"
        ],
        [
          "Revenue",
          "100M-200M"
        ],
        [
          "Company Size",
          "500-1000"
        ]
      ],
      "formatted": {
        "company": "Bonnier Corporation",
        "website": "bonniercorp.com",
        "country": "United States",
        "revenue": "100M-200M",
        "company_size": "500-1000"
      }
    }
  },
  ...
}

Organic Result Answer Box type 4

Organic Result Answer Box type 4

JSON Example

{
  ...
    "answer_box": {
    "type": "organic_result",
    "title": "Papa John's Prices",
    "link": "https://www.fastfoodmenuprices.com/papa-johns-prices/",
    "contents": {
      "table": [
        [
          "Food",
          "Size",
          "Price"
        ],
        [
          "Pizzas Original and Thin Crust Choices"
        ],
        [
          "Cheese (Original)",
          "Medium",
          "$13.00"
        ],
        [
          "Cheese (Original)",
          "Large",
          "$15.00"
        ],
        [
          "Cheese (Original)",
          "Extra Large",
          "$17.00"
        ]
      ],
      "formatted": {
        "pizzas_original_and_thin_crust_choices": [
          {
            "food": "Cheese (Original)",
            "size": "Medium",
            "price": "$13.00"
          },
          {
            "food": "Cheese (Original)",
            "size": "Large",
            "price": "$15.00"
          },
          {
            "food": "Cheese (Original)",
            "size": "Extra Large",
            "price": "$17.00"
          }
        ]
      }
    }
  },

  ...
}

Organic Result Answer Box type 5

Organic Result Answer Box type 5

JSON Example

{
  ...
  "answer_box": {
    "type": "organic_result",
    "title": "A. Pengertian Persegi Panjang (Rectangle)",
    "link": "https://www.advernesia.com/blog/matematika/rumus-luas-dan-rumus-keliling-persegi-panjang-beserta-sisinya/",
    "contents": {
      "table": [
        [
          "Nama",
          "Rumus"
        ],
        [
          "Luas (L)",
          "L = p × l"
        ],
        [
          "Keliling (Kll)",
          "Kll = 2 × (p + l)"
        ],
        [
          "Panjang (p)",
          "p = L ÷ l"
        ],
        [
          "Panjang (p)",
          "p = (Kll ÷ 2) - l"
        ]
      ],
      "formatted": [
        {
          "nama": "Luas (L)",
          "rumus": "L = p × l"
        },
        {
          "nama": "Keliling (Kll)",
          "rumus": "Kll = 2 × (p + l)"
        },
        {
          "nama": "Panjang (p)",
          "rumus": "p = L ÷ l"
        },
        {
          "nama": "Panjang (p)",
          "rumus": "p = (Kll ÷ 2) - l"
        }
      ]
    }
  },
  ...
}

Multiple Answer Box

Multiple Answer Box

JSON Example

{
  ...
  "answer_box_list": [
    {
      "type": "organic_result",
      "title": "Types of Content Writing - DemandJump",
      "link": "https://www.demandjump.com/blog/types-of-content-writing",
      "displayed_link": "https://www.demandjump.com › blog › types-of-conten...",
      "date": "Dec 10, 2020",
      "snippet": "What are the types of content writing?",
      "list": [
        "Blogging. Creating blog posts is a staple of content writing. ... ",
        "Copywriting. ... ",
        "Technical Writing/Long Form. ... ",
        "Social Media Posts. ... ",
        "Emails."
      ]
    },
    {
      "type": "organic_result",
      "title": "32 Types of Content and How to Use Them (With Examples ...",
      "link": "https://www.constant-content.com/content-writing-service/2018/12/types-of-content/",
      "displayed_link": "https://www.constant-content.com › 2018/12 › types-of...",
      "date": "Dec 12, 2018",
      "snippet": "Types of Written Content",
      "list": [
        "Blog Post. Blog posts are consistently a top performer for brands. ... ",
        "White Papers. White papers are effective for businesses wanting to prove industry expertise. ... ",
        "Ebooks. ... ",
        "Customer Success Stories. ... ",
        "Case Studies. ... ",
        "Product Content and Guides. ... ",
        "Resource Centers. ... ",
        "Testimonials."
      ]
    }
  ],
  ...
}

Translation Answer Box

Translation Answer Box

JSON Example

{
  ...
   "answer_box": {
      "type": "translation_result",
      "translation": {
         "source": {
            "language": "English - detected",
            "text": "hello",
            "pronunciation": "həˈlō"
         },
         "target": {
            "language": "Spanish",
            "text": "Hola"
         },
         "interjection": [
            {
               "title": "¡Hola!",
               "values": [
                  "Hello!",
                  "Hi!",
                  "Hey!",
                  "Hullo!",
                  "Hallo!",
                  "Hoy!"
               ]
            },
            {
               "title": "¡Caramba!",
               "values": [
                  "Gee!",
                  "Well!",
                  "Good gracious!",
                  "Well I never!",
                  "By jingo!",
                  "By gum!"
               ]
            },
            {
               "title": "¡Oiga!",
               "values": [
                  "Listen!",
                  "Hello!",
                  "Hullo!",
                  "Hallo!",
                  "I say!",
                  "See here!"
               ]
            },
            ...
         ]
      }
   },
  ...
}

Directions Answer Box

Directions Answer Box

JSON Example

{
  ...
   "answer_box": {
      "type": "directions",
      "from": "Lexington St, Texas 78653",
      "to": "5540 N Lamar Blvd #12, Austin, TX 78756",
      "routes": [
        {
          "summary": "13 min (11.0 mi) via 290 Toll",
          "formatted": {
            "duration": "13 min",
            "distance": "11.0 mi",
            "via": "290 Toll"
          },
          "link":
          "https://google.com/maps/dir/Lexington+St,+Texas+78653/5540+N+Lamar+Blvd+%2312,+Austin,+TX+78756/data=!4m8!4m7!1m2!1m1!1s0x8644c70e301d5a83:0x4da14744d7922d41!1m2!1m1!1s0x8644ca4259b00001:0x324e8a4726500bd7!3e0?sa=X"
        }
      ]
   },
  ...
}

Formula Answer Box

Formula Answer Box

JSON Example

{
  ...
  "answer_box": {
    "type": "formula",
    "title": "Trapezoid",
    "solve_for": "area",
    "solve_for_alternatives": [
      "base (a)",
      "base (b)",
      "height",
      ...
    ],
    "answer": "13.5 in²",
    "answer_alternatives": [
      "m²",
      "km²",
      "cm²",
      ...
    ],
    "parameters": [
      {
        "symbol": "a",
        "name": "Base",
        "value": 5,
        "unit": "in"
      },
      {
        "symbol": "b",
        "name": "Base",
        "value": 4,
        "unit": "in"
      },
      {
        "symbol": "h",
        "name": "Height",
        "value": 3,
        "unit": "in"
      }
    ],
    "solutions": [
      "A=(((a+b)/2)*h)"
    ]
  },
  ...
}

Unit Converter Answer Box

Unit Converter Answer Box

JSON Example

{
  ...
  "answer_box": {
    "type": "unit_converter",
    "unit_type": "Digital Storage",
    "from": {
      "value": 1,
      "unit": "Gigabyte"
    },
    "to": {
      "value": 1000,
      "unit": "Megabyte"
    },
    "formula": "multiply the digital storage value by 1000"
  },
  ...
}