Yahoo Answer Box API
Yahoo 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
Dictionary Answer Box
{
...
"answer_box": {
"type": "dictionary_result",
"results": [
{
"syllables": "Kind·ness",
"phonetic": "/ˈkīn(d)nəs/",
"word_type": "noun",
"definitions": [
"the quality of being friendly, generous, and considerate:",
"a kind act:"
],
"examples": [
"he thanked them for their kindness and support",
"it is a kindness I shall never forget"
],
"similar_words": [
"kindliness",
"kind-heartedness",
"warm-heartedness",
"tender-heartedness",
...
],
"opposite_words": [
"unkindness",
"meanness"
]
}
]
},
...
}
Organic Result
{
...
"answer_box": {
"type": "organic_result",
"title": "New York City",
"answer": "8.804 million",
"thumbnail": "https://s.yimg.com/fz/api/res/1.2/cxPOy2lpndzXCp0lL9BN9g--~C/YXBwaWQ9c3JjaGRkO2ZpPWZpdDtoPTI1MjtxPTgwO3c9MjUy/https://s.yimg.com/zb/imgv1/cf0cad1a-97df-3b23-a6d2-2dbe4e09b580/t_140x140"
},
...
}
Organic Result - Birthday
{
...
"answer_box": {
"type": "organic_result",
"title": "Will Smith",
"answer": "September 25, 1968",
"thumbnail": "https://s.yimg.com/fz/api/res/1.2/FK5F8ef8zuZh4paEwomiAw--~C/YXBwaWQ9c3JjaGRkO2ZpPWZpbGw7aD0xOTI7cT04MDt3PTE5Mg--/https://s.yimg.com/zb/imgv1/f0b7d3e7-f3f0-3561-8310-2911795dd7fe/t_140x140",
"suggested_searches": [
{
"link": "https://search.yahoo.com/search;_ylt=AwrOuJnvF.hmBfkKa.5XNyoA;_ylu=Y29sbwNncTEEcG9zAzEEdnRpZAMEc2VjA3Nj?p=Will+Smith+age&fr2=p%3As%2Cv%3Aw%2Cm%3AKgPeopleRelYKC%2Ct3%3AsrpEntityAnswersRS%2Cct%3Aanswer&d=%7B%22domain%22%3A%22actor%22%2C%22type%22%3A%22yk%22%2C%22id%22%3A%22431e5e4f-fa19-411a-bc4d-3ef9f92e2e42%22%2C%22oq%22%3A%22Will+Smith%22%2C%22task%22%3A%22age%22%7D&fr=fp-tts",
"text": "age"
},
{
"link": "https://search.yahoo.com/search;_ylt=AwrOuJnvF.hmBfkKbO5XNyoA;_ylu=Y29sbwNncTEEcG9zAzIEdnRpZAMEc2VjA3Nj?p=Will+Smith+height&fr2=p%3As%2Cv%3Aw%2Cm%3AKgPeopleRelYKC%2Ct3%3AsrpEntityAnswersRS%2Cct%3Aanswer&d=%7B%22domain%22%3A%22actor%22%2C%22type%22%3A%22yk%22%2C%22id%22%3A%22431e5e4f-fa19-411a-bc4d-3ef9f92e2e42%22%2C%22oq%22%3A%22Will+Smith%22%2C%22task%22%3A%22height%22%7D&fr=fp-tts",
"text": "height"
},
...
]
},
...
}
Organic Result - Alternative Birthday Layout
{
...
"answer_box": {
"type": "organic_result",
"title": "Imran Niazi",
"answer": "November 17, 1985",
"description": "Imran Ahmed Khan Niazi was born in Lahore, Pakistan on 5th October, 1952 to Ikramullah Khan Niazi Shermankhel and Shaukat Khanum (Burki clan).",
"displayed_link": "insaf.pk › leadership › imran-khanImran Khan - Pakistan Tehreek-e-Insaf",
"link": "https://r.search.yahoo.com/_ylt=AwrirvszGOhmDC0Fa0ZXNyoA;_ylu=Y29sbwNiZjEEcG9zAzEEdnRpZAMEc2VjA3Nj/RV=2/RE=1727696180/RO=10/RU=https%3a%2f%2finsaf.pk%2fleadership%2fimran-khan%23%3a~%3atext%3dImran%2520Ahmed%2520Khan%2520Niazi%2520was%2520born%2520in%2520Lahore%252C%2cKhan%2520Niazi%2520Shermankhel%2520and%2520Shaukat%2520Khanum%2520%2528Burki%2520clan%2529./RK=2/RS=m3d2NFBvctop2MXL6aWFtNb4NwE-"
},
...
}
Answer box list
{
...
"answer_box": {
"type": "organic_result",
"title": "Ryan Reynolds",
"answer_list": [
{
"answer": "September 27, 2008",
"thumbnail": "https://s.yimg.com/fz/api/res/1.2/.P07eV166IpE0Cd443wCSQ--~C/YXBwaWQ9c3JjaGRkO2ZpPWZpbGw7aD0xNDQ7cT04MDt3PTE0NA--/https://s.yimg.com/zb/imgv1/cd900911-a97a-3735-9bd9-851e3a023fc0/t_140x140",
"extensions": [
"m. 2008 - 2011"
]
},
{
"answer": "January 1, 2012",
"thumbnail": "https://s.yimg.com/fz/api/res/1.2/.P07eV166IpE0Cd443wCSQ--~C/YXBwaWQ9c3JjaGRkO2ZpPWZpbGw7aD0xNDQ7cT04MDt3PTE0NA--/https://s.yimg.com/zb/imgv1/cd900911-a97a-3735-9bd9-851e3a023fc0/t_140x140",
"extensions": [
"m. 2012"
]
}
]
},
...
}
Flight Status Answer Box
{
...
"answer_box": {
"type": "flight_status",
"flights": [
{
"flight_name": "Emirates Flight 335",
"percentage_of_flight_progress": 100,
"flight_status": "Arrived at 5:17 AM",
"departure": {
"airport_name": "MNL",
"location": "Manila",
"terminal": "Terminal 3",
"time": "Mon Oct 28 at 12:40 AM (was 11:30 PM)"
},
"arrival": {
"airport_name": "DXB",
"location": "Dubai",
"terminal": "Terminal 3",
"time": "Mon Oct 28 at 5:17 AM (was 4:45 AM)"
}
},
{
"flight_name": "Emirates Flight 335",
"percentage_of_flight_progress": 80,
"flight_status": "On time - arrives in 2 hrs",
"departure": {
"airport_name": "MNL",
"location": "Manila",
"terminal": "Terminal 3",
"time": "Tue Oct 29 at 12:09 AM (was 11:30 PM)"
},
"arrival": {
"airport_name": "DXB",
"location": "Dubai",
"terminal": "Terminal 3",
"time": "Tue Oct 29 at 4:57 AM (was 4:45 AM)"
}
}
]
},
...
}
Flight Status Answer Box on mobile
{
...
"answer_box": {
"type": "flight_status",
"flights": [
{
"flight_name": "United Airlines Flight 160",
"percentage_of_flight_progress": 100,
"flight_status": "Arrived at 5:57 PM",
"departure": {
"airport_name": "MUC",
"location": "Munich",
"terminal": "Terminal 2",
"gate": "Gate H5",
"time": "Mon Oct 28 at 12:00 PM (was 11:30 AM)",
"directions_link": "https://maps.google.com/maps?saddr=&daddr=Munich+Franz+Joseph+Strauss+Airport"
},
"arrival": {
"airport_name": "IAH",
"location": "Houston",
"terminal": "Terminal E",
"gate": "Gate 4",
"time": "Mon Oct 28 at 5:57 PM (was 5:40 PM)",
"directions_link": "https://maps.google.com/maps?saddr=&daddr=Houston+George+Bush+Intercontinental+Airport"
}
}
]
},
...
}