Yahoo! Related Topics API

For some searches, Yahoo search results include a Related Topics block. SerpApi is able to scrape, extract, and make sense of this information.

API Examples

JSON structure overview

{
  ...
  "related_topics": [
    {
      "title": "String - Title of the related topic",
      "link": "String - Link to the topic",
      "serpapi_link": "String - Link to the search results in JSON by SerpApi"
    }
  ],
  ...
}

Results for: Coffee

Results for: Coffee

JSON Example

{
  ...
  "related_topics": [
    {
      "title": "Drinking",
      "link": "https://search.yahoo.com/search;_ylt=AwrjbD0LI0Jk5gkGulZXNyoA;_ylu=Y29sbwNncTEEcG9zAzEEdnRpZAMEc2VjA2ZpbHRlcg--?p=Coffee+and+Drinking&ei=UTF-8&d=%7B%22dn%22%3A%22topic%22%2C%22ykid%22%3A%2271698d3e-6ef0-4fcd-8551-1ffe56058857%22%2C%22pos%22%3A%220%22%2C%22oq%22%3A%22Coffee%22%2C%22rq%22%3A%22Drinking%22%7D&fr2=p%3As%2Cv%3Aw%2Cm%3Atr%2Cmk%3A22&fr=fp-tts",
      "serpapi_link": "https://serpapi.com/search.json?d=%7B%22dn%22%3A%22topic%22%2C%22ykid%22%3A%2271698d3e-6ef0-4fcd-8551-1ffe56058857%22%2C%22pos%22%3A%220%22%2C%22oq%22%3A%22Coffee%22%2C%22rq%22%3A%22Drinking%22%7D&device=desktop&engine=yahoo&fr2=p%3As%2Cv%3Aw%2Cm%3Atr%2Cmk%3A22&p=Coffee+and+Drinking"
    },
    {
      "title": "Coffee Shops",
      "link": "https://search.yahoo.com/search;_ylt=AwrjbD0LI0Jk5gkGu1ZXNyoA;_ylu=Y29sbwNncTEEcG9zAzEEdnRpZAMEc2VjA2ZpbHRlcg--?p=Coffee+Shops&ei=UTF-8&d=%7B%22dn%22%3A%22topic%22%2C%22tid%22%3A%22Coffee_Shops%22%2C%22pos%22%3A%221%22%2C%22oq%22%3A%22Coffee%22%2C%22rq%22%3A%22Coffee%2BShops%22%7D&fr2=p%3As%2Cv%3Aw%2Cm%3Atr%2Cmk%3A23&fr=fp-tts",
      "serpapi_link": "https://serpapi.com/search.json?d=%7B%22dn%22%3A%22topic%22%2C%22tid%22%3A%22Coffee_Shops%22%2C%22pos%22%3A%221%22%2C%22oq%22%3A%22Coffee%22%2C%22rq%22%3A%22Coffee%2BShops%22%7D&device=desktop&engine=yahoo&fr2=p%3As%2Cv%3Aw%2Cm%3Atr%2Cmk%3A23&p=Coffee+Shops"
    },
    {
      "title": "Cup Of Coffee",
      "link": "https://search.yahoo.com/search;_ylt=AwrjbD0LI0Jk5gkGvFZXNyoA;_ylu=Y29sbwNncTEEcG9zAzEEdnRpZAMEc2VjA2ZpbHRlcg--?p=Coffee+and+Cup+Of+Coffee&ei=UTF-8&d=%7B%22dn%22%3A%22topic%22%2C%22tid%22%3A%22Cup_Of_Coffee%22%2C%22pos%22%3A%222%22%2C%22oq%22%3A%22Coffee%22%2C%22rq%22%3A%22Cup%2BOf%2BCoffee%22%7D&fr2=p%3As%2Cv%3Aw%2Cm%3Atr%2Cmk%3A23&fr=fp-tts",
      "serpapi_link": "https://serpapi.com/search.json?d=%7B%22dn%22%3A%22topic%22%2C%22tid%22%3A%22Cup_Of_Coffee%22%2C%22pos%22%3A%222%22%2C%22oq%22%3A%22Coffee%22%2C%22rq%22%3A%22Cup%2BOf%2BCoffee%22%7D&device=desktop&engine=yahoo&fr2=p%3As%2Cv%3Aw%2Cm%3Atr%2Cmk%3A23&p=Coffee+and+Cup+Of+Coffee"
    }
  ],
  ...
}