Copied to clipboard!

Yandex Search Engine Knowledge Graph API

Section to the right of organic results is called knowledge graph. In case it is present in the search result SerpApi will parse it and provide as a part of response.

Example with text:"how i met your mother" parameter

GET https://serpapi.com/search?engine=yandex&text=how+i+met+your+mother Playground
{
  "search_metadata":
    {
      "id": "5e39d08159603d2568df2636",
      "status": "Success",
      "json_endpoint": "http://serpapi.com/searches/d280d0e415b64465/5e39d08159603d2568df2636.json",
      "created_at": "2020-02-04 20:13:53 UTC",
      "processed_at": "2020-02-04 20:13:53 UTC",
      "yandex_url": "https://yandex.com/search/?text=how%2Bi%2Bmet%2Byour%2Bmother",
      "raw_html_file": "http://serpapi.com/searches/d280d0e415b64465/5e39d08159603d2568df2636.html",
      "total_time_taken": 20.27
    },
  "search_parameters":
    {
      "text": "how i met your mother",
      "engine": "yandex"
    },
  "knowledge_graph":
    {
      "title": "How I Met Your Mother",
      "image": "http://avatars.mds.yandex.net/get-entity_search/399718/295335987/SUx168_2x",
      "description": "American sitcom created by Craig Thomas and Carter Bays for CBS. The series, which ran from 2005 to 2014, follows the main character, Ted Mosby, and his group of friends in New York City's Manhattan.American sitcom created by Craig Thomas and Carter Bays for CBS. The series, which ran from 2005 to 2014, follows the main character, Ted Mosby, and his group of friends in New York City's Manhattan.",
      "source":
        {
          "name": "http://en.wikipedia.org/wiki/How I Met Your Mother",
          "link": "Wikipedia"
        },
      "genre": "comedy, melodrama, drama",
      "country": "USA",
      "directors": "Neil Patrick Harris, Pamela Fryman, Michael J. Shea, Rob Greenberg",
      "music": "John Swihart",
      "profiles":
        [
          {
            "name": "Wikipedia",
            "link": "http://en.wikipedia.org/wiki/How I Met Your Mother",
            "logo": "https://avatars.mds.yandex.net/get-entity_search/44747/custom_wikipedia_icon/orig"
          },
          {
            "name": "IMDb",
            "link": "https://www.imdb.com/title/tt0460649/",
            "logo": "https://avatars.mds.yandex.net/get-entity_search/49811/custom_imdb_icon/orig"
          },
          {
            "name": "Facebook",
            "link": "http://facebook.com/HowIMetYourMotherCBS",
            "logo": "https://avatars.mds.yandex.net/get-entity_search/61993/custom_facebook_icon/orig"
          },
          {
            "name": "Twitter",
            "link": "http://twitter.com/OfficialHIMYM",
            "logo": "https://avatars.mds.yandex.net/get-entity_search/61993/custom_twitter_icon/orig"
          }
        ],
      "cast":
        [
          {
            "name": "JoshRadnor",
            "extensions":
              [
                "0": "Ted Mosby"
              ],
            "link": "https://yandex.com/search/?text=Josh%20Radnor&lr=103361&noreask=1&ento=0oCgpydXcyMDgxNTc2Eg9ydXcxNjQyOTYzOnRlYW0YA0IVaG93K2krbWV0K3lvdXIrbW90aGVy03dYgA",
            "image": "https://avatars.mds.yandex.net/get-entity_search/979551/293548968/S76x101Face_2x"
          },
          {
            "name": "NeilPatrickHarris",
            "extensions":
              [
                "0": "BarneyStinson"
              ],
            "link": "https://yandex.com/search/?text=Neil%20Patrick%20Harris&lr=103361&noreask=1&ento=0oCgpydXcxNjIzMzg1Eg9ydXcxNjQyOTYzOnRlYW0YA0IVaG93K2krbWV0K3lvdXIrbW90aGVyvzdvgw",
            "image": "https://avatars.mds.yandex.net/get-entity_search/127219/128326408/S76x101Face_2x"
          },
          {
            "name": "CobieSmulders",
            "extensions":
              [
                "0": "RobinScherbatsky"
              ],
            "link": "https://yandex.com/search/?text=Cobie%20Smulders&lr=103361&noreask=1&ento=0oCgpydXcxOTg2OTQyEg9ydXcxNjQyOTYzOnRlYW0YA0IVaG93K2krbWV0K3lvdXIrbW90aGVytLvHrg",
            "image": "https://avatars.mds.yandex.net/get-entity_search/30003/101674760/S76x101Face_2x"
          },
          ...
        ]
    }
}