Google Knowledge Graph API

/ Home / Google Search API / Knowledge Graph

For some requests, Google search includes a "Knowledge Graph" block, typically on the right side. SerpApi is able to extract and make sense of this information.

Knowledge Graph examples

Knowledge Graph for "Apple"

Knowledge Graph for "Apple"

JSON Example

{
  ...
  "knowledge_graph": {
    "title": "Apple",
    "image": "<URL to image>",
    "website": "https://www.apple.com/",
    "description": "Apple Inc. is an American multinational technology company headquartered in Cupertino, California, that designs, develops, and sells consumer electronics, computer software, and online services. It is considered one of the Big Four of technology along with Amazon, Google, and Facebook.",
    "source": {
      "name": "Wikipedia",
      "link": "https://en.wikipedia.org/wiki/Apple_Inc."
    },
    "founded": "April 1, 1976, Cupertino, CA",
    "headquarters": "Cupertino, CA",
    "sales": "1 (800) 692-7753",
    "stock_price": "AAPL (NASDAQ) $200.62 +1.12 (+0.56%)Apr 10, 4 - 00 PM EDT - Disclaimer",
    "founders": "Steve Jobs, Steve Wozniak, Ronald Wayne",
    "subsidiaries": "Beats Electronics, Apple Store, FileMaker, MORE",
    "executives": [
      {
        "name": "Tim Cook",
        "extensions": [
          "CEO"
        ],
        "link": "https://www.google.com/search?hl=en&gl=us&q=Tim+Cook&stick=H4sIAAAAAAAAAONgFmLXz9U3yLaoUuIEMUyLzExztdQzyq30k_NzclKTSzLz8_Tzi9IT8zKrEkGcYqvUitTk0pLMstTiRawcIZm5Cs75-dkA7yaEukoAAAA&sa=X&ved=2ahUKEwi14eKb_cfhAhUCjq0KHfnEDpkQxA0wO3oECAwQBQ",
        "source": "collectionorganizations",
        "image": "<URL to image>"
      },
      {
        "name": "Katherine L. Adams",
        "extensions": [
          "SVP, General counsel"
        ],
        "link": "https://www.google.com/search?hl=en&gl=us&q=Katherine+L.+Adams&stick=H4sIAAAAAAAAAONgFmLXz9U3yLaoUuICMSyLKtIL4rXUM8qt9JPzc3JSk0sy8_P084vSE_MyqxJBnGKr1IrU5NKSzLLU4kWsQt6JJRmpRZl5qQo-egqOKYm5xQCbRkgyVQAAAA&sa=X&ved=2ahUKEwi14eKb_cfhAhUCjq0KHfnEDpkQxA0wO3oECAwQBw",
        "source": "collectionorganizations",
        "image": "<URL to image>"
      },
      {
        "name": "Angela Ahrendts",
        "extensions": [
          "SVP, Retail"
        ],
        "link": "https://www.google.com/search?hl=en&gl=us&q=Angela+Ahrendts&stick=H4sIAAAAAAAAAONgFmLXz9U3yLaoUuICMYxTLOJNkrTUM8qt9JPzc3JSk0sy8_P084vSE_MyqxJBnGKr1IrU5NKSzLLU4kWs_I556ak5iQqOGUWpeSklxQClOM-QUgAAAA&sa=X&ved=2ahUKEwi14eKb_cfhAhUCjq0KHfnEDpkQxA0wO3oECAwQCQ",
        "source": "collectionorganizations",
        "image": "<URL to image>"
      },
      {
        "name": "Eddy Cue",
        "extensions": [
          "SVP, Internet Software, Services"
        ],
        "link": "https://www.google.com/search?hl=en&gl=us&q=Eddy+Cue&stick=H4sIAAAAAAAAAONgFmLXz9U3yLaoUuICMfIyMsyKy7XUM8qt9JPzc3JSk0sy8_P084vSE_MyqxJBnGKr1IrU5NKSzLLU4kWsHK4pKZUKzqWpAFyh8RtLAAAA&sa=X&ved=2ahUKEwi14eKb_cfhAhUCjq0KHfnEDpkQxA0wO3oECAwQCw",
        "source": "collectionorganizations",
        "image": "<URL to image>"
      },
      {
        "name": "Craig Federighi",
        "extensions": [
          "SVP, Software Engineering"
        ],
        "link": "https://www.google.com/search?hl=en&gl=us&q=Craig+Federighi&stick=H4sIAAAAAAAAAONgFmLXz9U3yLaoUuICMwzKTHOStdQzyq30k_NzclKTSzLz8_Tzi9IT8zKrEkGcYqvUitTk0pLMstTiRaz8zkWJmekKbqkpqUWZ6RmZAEIxljRSAAAA&sa=X&ved=2ahUKEwi14eKb_cfhAhUCjq0KHfnEDpkQxA0wO3oECAwQDQ",
        "source": "collectionorganizations",
        "image": "<URL to image>"
      }
    ],
    "executives_link": "https://www.google.com/search?hl=en&gl=us&q=apple+executives&stick=H4sIAAAAAAAAAONgFmLXz9U3yLaoUoIxtNQzyq30k_NzclKTSzLz8_Tzi9IT8zKrEkGcYqvUitTk0pLMstTiRawCiQUFOakKCCEAfk7j8VAAAAA&sa=X&ved=2ahUKEwi14eKb_cfhAhUCjq0KHfnEDpkQMSgAMDt6BAgMEAE",
    "profiles": [
      {
        "name": "YouTube",
        "link": "https://www.youtube.com/user/Apple",
        "image": "<URL to image>"
      },
      {
        "name": "Facebook",
        "link": "https://www.facebook.com/AppleIncFrench",
        "image": "<URL to image>"
      },
      {
        "name": "Twitter",
        "link": "https://twitter.com/AppleSupport",
        "image": "<URL to image>"
      },
      {
        "name": "LinkedIn",
        "link": "https://www.linkedin.com/company/apple",
        "image": "<URL to image>"
      }
    ],
    "people_also_search_for": [
      {
        "name": "Samsung Group",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Samsung&stick=H4sIAAAAAAAAAONgFmLXz9U3yLaoUuIEMczTy8yNtPid83MLEvMqgzNTUssTK4sXsbIHJ-YWl-alAwDOd-WUMQAAAA&sa=X&ved=2ahUKEwi14eKb_cfhAhUCjq0KHfnEDpkQxA0wPXoECA4QBQ",
        "source": "businessissuer",
        "image": "<URL to image>"
      },
      {
        "name": "Microsoft Corporation",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Microsoft&stick=H4sIAAAAAAAAAONgFmLXz9U3yLaoUuIAMUyKy0y0-J3zcwsS8yqDM1NSyxMrixexcvpmJhflF-enlQAAhlVG4DIAAAA&sa=X&ved=2ahUKEwi14eKb_cfhAhUCjq0KHfnEDpkQxA0wPXoECA4QBw",
        "source": "businessissuer",
        "image": "<URL to image>"
      },
      {
        "name": "Qualcomm",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Qualcomm&stick=H4sIAAAAAAAAAONgFmLXz9U3yLaoUuIEMQxzDSvStPid83MLEvMqgzNTUssTK4sXsXIElibmJOfn5gIA4qu68DIAAAA&sa=X&ved=2ahUKEwi14eKb_cfhAhUCjq0KHfnEDpkQxA0wPXoECA4QCQ",
        "source": "businessissuer",
        "image": "<URL to image>"
      },
      {
        "name": "Amazon.com",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Amazon&stick=H4sIAAAAAAAAAONgFmLXz9U3yLaoUuIAMXLTs9O1-J3zcwsS8yqDM1NSyxMrixexsjnmJlbl5wEAUCWnuy8AAAA&sa=X&ved=2ahUKEwi14eKb_cfhAhUCjq0KHfnEDpkQxA0wPXoECA4QCw",
        "source": "businessissuer",
        "image": "<URL to image>"
      },
      {
        "name": "Federal Bureau of Investigation",
        "link": "https://www.google.com/search?hl=en&gl=us&q=FBI&stick=H4sIAAAAAAAAAONgFmLXz9U3yLaoUuIAMYziDXO1-J3zcwsS8yqDM1NSyxMrixexMrs5eQIAPIGjkCwAAAA&sa=X&ved=2ahUKEwi14eKb_cfhAhUCjq0KHfnEDpkQxA0wPXoECA4QDQ",
        "source": "businessissuer",
        "image": "<URL to image>"
      }
    ],
    "people_also_search_for_link": "https://www.google.com/search?hl=en&gl=us&q=Apple&stick=H4sIAAAAAAAAAONgFmLXz9U3yLaoUoIxtGSyk630k0qLM_NSi4v1M4uLS1OLrIozU1LLEyuLF7GyOhYU5KQCAL7zQcQ6AAAA&sa=X&ved=2ahUKEwi14eKb_cfhAhUCjq0KHfnEDpkQMSgAMD16BAgOEAE"
  },
  ...
}

Knowledge Graph for "Coffee"

Knowledge Graph for "Coffee"

JSON Example

{
  ...
  "knowledge_graph": {
    "title": "Coffee",
    "type": "Drink",
    "description": "Coffee is a brewed drink prepared from roasted coffee beans, which are the seeds of berries from the Coffea plant. The genus Coffea is native to tropical Africa and Madagascar, the Comoros, Mauritius, and Réunion in the Indian Ocean.",
    "source": {
      "name": "Wikipedia",
      "link": "https://en.wikipedia.org/wiki/Coffee"
    },
    "people_also_search_for": [
      {
        "name": "Tea & Infusions",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Tea&stick=H4sIAAAAAAAAAONgFuLUz9U3MCorTMtV4gAxzZNzKrQE_UpLijJLMvPzgjNTUssTK4sByyY5qioAAAA&sa=X&ved=0ahUKEwj-8pXR3KvbAhUjL30KHe21Da4QxA0IhAMwKw",
        "image": "<URL to image>"
      },
      {
        "name": "Espresso",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Espresso&stick=H4sIAAAAAAAAAONgFuLUz9U3MCorTMtV4gAxk0vSsrUE_UpLijJLMvPzgjNTUssTK4sBwYKq7CoAAAA&sa=X&ved=0ahUKEwj-8pXR3KvbAhUjL30KHe21Da4QxA0IhgMwKw",
        "image": "<URL to image>"
      },
      {
        "name": "Chocolate",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Chocolate&stick=H4sIAAAAAAAAAONgFuLUz9U3MCorTMtV4gAzDcpytAT9SkuKMksy8_OCM1NSyxMriwHR8y5PKgAAAA&sa=X&ved=0ahUKEwj-8pXR3KvbAhUjL30KHe21Da4QxA0IiAMwKw",
        "image": "<URL to image>"
      },
      {
        "name": "Cappuccino",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Cappuccino&stick=H4sIAAAAAAAAAONgFuLUz9U3MCorTMtV4gAxLc0NjLQE_UpLijJLMvPzgjNTUssTK4sB6b-xkioAAAA&sa=X&ved=0ahUKEwj-8pXR3KvbAhUjL30KHe21Da4QxA0IigMwKw",
        "image": "<URL to image>"
      },
      {
        "name": "Latte",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Latte&stick=H4sIAAAAAAAAAONgFuLUz9U3MCorTMtVAjMN84pMzbQE_UpLijJLMvPzgjNTUssTK4sBjSmgBisAAAA&sa=X&ved=0ahUKEwj-8pXR3KvbAhUjL30KHe21Da4QxA0IjAMwKw",
        "image": "<URL to image>"
      },
      {
        "name": "Sugar",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Sugar&stick=H4sIAAAAAAAAAONgFuLUz9U3MCorTMtV4gAxzSpMkrUE_UpLijJLMvPzgjNTUssTK4sBKGvFUCoAAAA&sa=X&ved=0ahUKEwj-8pXR3KvbAhUjL30KHe21Da4QxA0IjgMwKw",
        "image": "<URL to image>"
      }
    ],
    "list": {
      "total_fat": [
        "0 g",
        "0%"
      ],
      "saturated_fat": [
        "0 g",
        "0%"
      ],
      "polyunsaturated_fat": [
        "0 g"
      ],
      "monounsaturated_fat": [
        "0 g"
      ],
      "trans_fat": [
        "0 g"
      ],
      "cholesterol": [
        "0 mg",
        "0%"
      ],
      "sodium": [
        "5 mg",
        "0%"
      ],
      "potassium": [
        "116 mg",
        "3%"
      ],
      "total_carbohydrate": [
        "0 g",
        "0%"
      ],
      "dietary_fiber": [
        "0 g",
        "0%"
      ],
      "sugar": [
        "0 g"
      ],
      "protein": [
        "0.3 g",
        "0%"
      ],
      "caffeine": [
        "95 mg"
      ],
      "vitamin_a": [
        "0%"
      ],
      "vitamin_c": [
        "0%"
      ],
      "calcium": [
        "0%"
      ],
      "iron": [
        "0%"
      ],
      "vitamin_d": [
        "0%"
      ],
      "vitamin_b_6": [
        "0%"
      ],
      "vitamin_b_12": [
        "0%"
      ],
      "magnesium": [
        "1%"
      ]
    }
  },
  ...
}

Knowledge Graph for "Terry Gilliam"

Knowledge Graph for "Terry Gilliam"

JSON Example

{
  ...
  "knowledge_graph": {
    "title": "Terry Gilliam",
    "type": "British screenwriter",
    "header_images": [
      {
        "image": "<URL to image>",
        "source": "http://google.com/search?tbm=isch&q=Terry+Gilliam"
      },
      {
        "image": "<URL to image>",
        "source": "https://www.chicagotribune.com/entertainment/books/ct-prj-gilliamesque-terry-gilliam-20151112-story.html"
      },
      {
        "image": "<URL to image>",
        "source": "https://en.wikipedia.org/wiki/Terry_Gilliam"
      },
      {
        "image": "<URL to image>",
        "source": "https://simple.wikipedia.org/wiki/Terry_Gilliam"
      },
      {
        "image": "<URL to image>",
        "source": "https://www.imdb.com/name/nm0000416/"
      },
      {
        "image": "<URL to image>",
        "source": "https://variety.com/2019/artisans/awards/terry-gilliam-brazil-monty-python-1203449458/"
      },
      {
        "image": "<URL to image>",
        "source": "https://en.wikipedia.org/wiki/Terry_Gilliam"
      },
      {
        "image": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQnYgqt5IMAUPQ8eAGUJbob_fJ_j6x-2EL4xLOMCkry1A&s",
        "source": "https://www.syfy.com/syfywire/terry-gilliam-marvel-hates-black-panther"
      }
    ],
    "website": "http://www.terrygilliamweb.com/",
    "description": "Terrence Vance Gilliam is an American-born British screenwriter, film director, animator, actor, comedian and member of the Monty Python comedy troupe.",
    "source": {
      "name": "Wikipedia",
      "link": "https://en.wikipedia.org/wiki/Terry_Gilliam"
    },
    "born": "November 22, 1940 (age 77 years), Minneapolis, MN",
    "height": "5′ 9″",
    "spouse": "Maggie Weston (m. 1973)",
    "tv_shows": "Monty Python's Flying Circus, Do Not Adjust Your Set, MORE",
    "books": "Gilliamesque - A Pre-posthumous Memoir, MORE",
    "movies": [
      {
        "name": "The Man Who Killed Don Quix...",
        "extensions": [
          "2018"
        ],
        "link": "https://www.google.com/search?hl=en&gl=us&q=The+Man+Who+Killed+Don+Quixote&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVHiBLHMyspMq7R4A1KLivPzQvJ988syUwF_jlWjJgAAAA&sa=X&ved=0ahUKEwjpvuqTjazbAhXJ5lQKHTVmDDgQxA0IsAIwIg",
        "image": "<URL to image>"
      },
      {
        "name": "Brazil",
        "extensions": [
          "1985"
        ],
        "link": "https://www.google.com/search?hl=en&gl=us&q=Brazil+1985&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVECs7LKcwu0eANSi4rz80LyffPLMlMBfC4uziUAAAA&sa=X&ved=0ahUKEwjpvuqTjazbAhXJ5lQKHTVmDDgQxA0IsgIwIg",
        "image": "<URL to image>"
      },
      {
        "name": "12 Monkeys",
        "extensions": [
          "1995"
        ],
        "link": "https://www.google.com/search?hl=en&gl=us&q=12+Monkeys&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVGCsLLMyrV4A1KLivPzQvJ988syUwF06iN4JQAAAA&sa=X&ved=0ahUKEwjpvuqTjazbAhXJ5lQKHTVmDDgQxA0ItAIwIg",
        "image": "<URL to image>"
      },
      {
        "name": "Fear and Loathing in Las Vegas",
        "extensions": [
          "1998"
        ],
        "link": "https://www.google.com/search?hl=en&gl=us&q=Fear+and+Loathing+in+Las+Vegas&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVHiBLHSLLIMjbV4A1KLivPzQvJ988syUwELhUkdJgAAAA&sa=X&ved=0ahUKEwjpvuqTjazbAhXJ5lQKHTVmDDgQxA0ItgIwIg",
        "image": "<URL to image>"
      },
      {
        "name": "The Imaginarium of Doctor...",
        "extensions": [
          "2009"
        ],
        "link": "https://www.google.com/search?hl=en&gl=us&q=The+Imaginarium+of+Doctor+Parnassus&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVHiArGMiswt4zO0eANSi4rz80LyffPLMlMBDvYWpycAAAA&sa=X&ved=0ahUKEwjpvuqTjazbAhXJ5lQKHTVmDDgQxA0IuAIwIg",
        "image": "<URL to image>"
      },
      {
        "name": "Monty Python and the Holy...",
        "extensions": [
          "1975"
        ],
        "link": "https://www.google.com/search?hl=en&gl=us&q=Monty+Python+and+the+Holy+Grail&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVECs0yqciy0eANSi4rz80LyffPLMlMB1YJ5LSUAAAA&sa=X&ved=0ahUKEwjpvuqTjazbAhXJ5lQKHTVmDDgQxA0IugIwIg",
        "image": "<URL to image>"
      }
    ],
    "profiles": [
      {
        "name": "Twitter",
        "link": "https://www.google.comhttp://www.twitter.com/terrygilliam",
        "image": "<URL to image>"
      },
      {
        "name": "Facebook",
        "link": "https://www.google.comhttp://www.facebook.com/Terry.Gilliam",
        "image": "<URL to image>"
      }
    ],
    "people_also_search_for": [
      {
        "name": "Terry Jones",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Terry+Jones&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVECs1LyTEy0-AJSi4rz84IzU1LLEyuLAak2SpYmAAAA&sa=X&ved=0ahUKEwjpvuqTjazbAhXJ5lQKHTVmDDgQxA0IxgIwJA",
        "image": "<URL to image>"
      },
      {
        "name": "Michael Palin",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Michael+Palin&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVECs0wqS8y1-AJSi4rz84IzU1LLEyuLAT-mH_MmAAAA&sa=X&ved=0ahUKEwjpvuqTjazbAhXJ5lQKHTVmDDgQxA0IyAIwJA",
        "image": "<URL to image>"
      },
      {
        "name": "Graham Chapman",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Graham+Chapman&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVECs4xTCi21-AJSi4rz84IzU1LLEyuLAegy7JMmAAAA&sa=X&ved=0ahUKEwjpvuqTjazbAhXJ5lQKHTVmDDgQxA0IygIwJA",
        "image": "<URL to image>"
      },
      {
        "name": "Eric Idle",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Eric+Idle&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVECs1IKCrO1-AJSi4rz84IzU1LLEyuLAe7Fl8MmAAAA&sa=X&ved=0ahUKEwjpvuqTjazbAhXJ5lQKHTVmDDgQxA0IzAIwJA",
        "image": "<URL to image>"
      },
      {
        "name": "John Cleese",
        "link": "https://www.google.com/search?hl=en&gl=us&q=John+Cleese&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVECs0wMk020-AJSi4rz84IzU1LLEyuLAWpaoSsmAAAA&sa=X&ved=0ahUKEwjpvuqTjazbAhXJ5lQKHTVmDDgQxA0IzgIwJA",
        "image": "<URL to image>"
      },
      {
        "name": "Robert De Niro",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Robert+De+Niro&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVECs8yS0yu1-AJSi4rz84IzU1LLEyuLAdXswY8mAAAA&sa=X&ved=0ahUKEwjpvuqTjazbAhXJ5lQKHTVmDDgQxA0I0AIwJA",
        "image": "<URL to image>"
      }
    ]
    "title": "Terry Gilliam",
    "image": "<URL to image>",
    "website": "http://www.terrygilliamweb.com/",
    "description": "Terrence Vance Gilliam is an American-born British screenwriter, film director, animator, actor, comedian and former member of the Monty Python comedy troupe.",
    "source": {
      "name": "Wikipedia",
      "link": "https://en.wikipedia.org/wiki/Terry_Gilliam"
    },
    "born": "November 22, 1940 (age 78 years), Minneapolis, MN",
    "height": "5′ 9″",
    "spouse": "Maggie Weston (m. 1973)",
    "tv_shows": "Monty Python's Flying Circus, MORE",
    "books": "Gilliamesque - A Pre-posthumous Memoir, MORE",
    "movies": [
      {
        "name": "The Man Who Killed Don Quix...",
        "extensions": [
          "2018"
        ],
        "link": "https://www.google.com/search?gl=us&hl=en&q=The+Man+Who+Killed+Don+Quixote&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVHiBLHMyspMq7R4A1KLivPzQvJ988syUxexyoVkpCr4JuYphGfkK3hn5uSkpii45OcpBJZmVuSXpAIAxvZ3VEcAAAA&sa=X&ved=2ahUKEwj8nIyR-cfhAhVLSq0KHVLMDZMQxA0wOXoECBMQBQ",
        "source": "peopleperson",
        "image": "<URL to image>"
      },
      {
        "name": "Brazil",
        "extensions": [
          "1985"
        ],
        "link": "https://www.google.com/search?gl=us&hl=en&q=Brazil+1985&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVECs7LKcwu0eANSi4rz80LyffPLMlMXsXI7FSVWZeYoGFpamAIA1GpqETMAAAA&sa=X&ved=2ahUKEwj8nIyR-cfhAhVLSq0KHVLMDZMQxA0wOXoECBMQBw",
        "source": "peopleperson",
        "image": "<URL to image>"
      },
      {
        "name": "12 Monkeys",
        "extensions": [
          "1995"
        ],
        "link": "https://www.google.com/search?gl=us&hl=en&q=12+Monkeys&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVGCsLLMyrV4A1KLivPzQvJ988syUxexchkaKfjm52WnVhYDAHD7CTUyAAAA&sa=X&ved=2ahUKEwj8nIyR-cfhAhVLSq0KHVLMDZMQxA0wOXoECBMQCQ",
        "source": "peopleperson",
        "image": "<URL to image>"
      },
      {
        "name": "Monty Python and the Holy...",
        "extensions": [
          "1975"
        ],
        "link": "https://www.google.com/search?gl=us&hl=en&q=Monty+Python+and+the+Holy+Grail&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVECs0yqciy0eANSi4rz80LyffPLMlMXscr75ueVVCoEVJZk5OcpJOalKJRkpCp45OdUKrgXJWbmAAAM1L8ARwAAAA&sa=X&ved=2ahUKEwj8nIyR-cfhAhVLSq0KHVLMDZMQxA0wOXoECBMQCw",
        "source": "peopleperson",
        "image": "<URL to image>"
      },
      {
        "name": "Fear and Loathing in Las Vegas",
        "extensions": [
          "1998"
        ],
        "link": "https://www.google.com/search?gl=us&hl=en&q=Fear+and+Loathing+in+Las+Vegas&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVHiBLHSLLIMjbV4A1KLivPzQvJ988syUxexyrmlJhYpJOalKPjkJ5ZkZOalK2TmKfgkFiuEpaYnFgMAIAREb0cAAAA&sa=X&ved=2ahUKEwj8nIyR-cfhAhVLSq0KHVLMDZMQxA0wOXoECBMQDQ",
        "source": "peopleperson",
        "image": "<URL to image>"
      }
    ],
    "movies_link": "https://www.google.com/search?gl=us&hl=en&q=terry+gilliam+movies&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVGCs7QkspOt9AtS8wtyUoFUUXF-nlVufllmavEiVpGS1KKiSoX0zJyczMRcBYgwAIRCxkdHAAAA&sa=X&ved=2ahUKEwj8nIyR-cfhAhVLSq0KHVLMDZMQMSgAMDl6BAgTEAE",
    "profiles": [
      {
        "name": "Facebook",
        "link": "https://www.google.comhttps://www.facebook.com/Terry.Gilliam/",
        "source": "commontopic",
        "image": "<URL to image>"
      },
      {
        "name": "Twitter",
        "link": "https://www.google.comhttps://twitter.com/terrygilliam",
        "source": "commontopic",
        "image": "<URL to image>"
      }
    ],
    "people_also_search_for": [
      {
        "name": "Terry Jones",
        "link": "https://www.google.com/search?gl=us&hl=en&q=Terry+Jones&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVECs1LyTEy0-AJSi4rz84IzU1LLEyuLF7Fyh6QWFVUqeOXnpRYDAFJxSO00AAAA&sa=X&ved=2ahUKEwj8nIyR-cfhAhVLSq0KHVLMDZMQxA0wO3oECBEQBQ",
        "source": "peopleperson",
        "image": "<URL to image>"
      },
      {
        "name": "Eric Idle",
        "link": "https://www.google.com/search?gl=us&hl=en&q=Eric+Idle&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVECs1IKCrO1-AJSi4rz84IzU1LLEyuLF7FyuhZlJit4puSkAgDt2ZDHMgAAAA&sa=X&ved=2ahUKEwj8nIyR-cfhAhVLSq0KHVLMDZMQxA0wO3oECBEQBw",
        "source": "peopleperson",
        "image": "<URL to image>"
      },
      {
        "name": "Jonathan Pryce",
        "link": "https://www.google.com/search?gl=us&hl=en&q=Jonathan+Pryce&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVHiArEMS4qTcsu0-AJSi4rz84IzU1LLEyuLF7HyeeXnJZZkJOYpBBRVJqcCAGMRfZY5AAAA&sa=X&ved=2ahUKEwj8nIyR-cfhAhVLSq0KHVLMDZMQxA0wO3oECBEQCQ",
        "source": "peopleperson",
        "image": "<URL to image>"
      },
      {
        "name": "John Cleese",
        "link": "https://www.google.com/search?gl=us&hl=en&q=John+Cleese&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVECs0wMk020-AJSi4rz84IzU1LLEyuLF7Fye-Vn5Ck456SmFqcCAOUs4m40AAAA&sa=X&ved=2ahUKEwj8nIyR-cfhAhVLSq0KHVLMDZMQxA0wO3oECBEQCw",
        "source": "peopleperson",
        "image": "<URL to image>"
      },
      {
        "name": "Michael Palin",
        "link": "https://www.google.com/search?gl=us&hl=en&q=Michael+Palin&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVECs0wqS8y1-AJSi4rz84IzU1LLEyuLF7Hy-mYmZySm5igEJOZk5gEAkEkYkDYAAAA&sa=X&ved=2ahUKEwj8nIyR-cfhAhVLSq0KHVLMDZMQxA0wO3oECBEQDQ",
        "source": "peopleperson",
        "image": "<URL to image>"
      }
    ],
    "people_also_search_for_link": "https://www.google.com/search?gl=us&hl=en&q=Terry+Gilliam&stick=H4sIAAAAAAAAAONgFuLQz9U3MM8wTVGCs7SkspOt9AtS8wtyUoFUUXF-nlVxZkpqeWJl8SJW3pDUoqJKBffMnJzMxFwA6HUdU0IAAAA&sa=X&ved=2ahUKEwj8nIyR-cfhAhVLSq0KHVLMDZMQMSgAMDt6BAgREAE"
  },
  ...
}

Knowledge Graph Top Carrousel - "People also search for"

Knowledge Graph Top Carrousel - "People also search for"

JSON Example

{
  ...
  "knowledge_graph": {
    "people_also_search_for": [
      {
        "name": "Burger King",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Burger+King&stick=H4sIAAAAAAAAAONgFuLUz9U3ME-vLDBXAjMNzQwMC7X4nfNzCxLzKoMzU1LLEyuLF7FyO5UWpacWKXhn5qUDAKJaxNI3AAAA&sa=X&ved=2ahUKEwitif3Y98fhAhWPTt8KHS4OAnUQxA0wK3oECBMQBQ",
        "source": "businessissuer",
        "image": "<URL to image>"
      },
      {
        "name": "Taco Bell",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Taco+Bell&stick=H4sIAAAAAAAAAONgFuLUz9U3ME-vLDBX4gAxLZPTzbT4nfNzCxLzKoMzU1LLEyuLF7FyhiQm5ys4pebkAACqG-FANAAAAA&sa=X&ved=2ahUKEwitif3Y98fhAhWPTt8KHS4OAnUQxA0wK3oECBMQCQ",
        "source": "businessissuer",
        "image": "<URL to image>"
      },
      {
        "name": "Wendy's",
        "link": "https://www.google.com/search?hl=en&gl=us&q=Wendy%27s&stick=H4sIAAAAAAAAAONgFuLUz9U3ME-vLDBX4gAxLcyq8rT4nfNzCxLzKoMzU1LLEyuLF7Gyh6fmpVSqFwMA-cnSyDIAAAA&sa=X&ved=2ahUKEwitif3Y98fhAhWPTt8KHS4OAnUQxA0wK3oECBMQCw",
        "source": "businessissuer",
        "image": "<URL to image>"
      },
      ...
      ]
    ...
  }
  ...
}

To get a knowledge graph carousel in a reliable way, you need to extract the stick parameter. The stick parameter is present on pages where a regular knowledge graph panel is displayed. It's usually inside the link "View x+ more". The link is extracted as {block}_link in your SerpApi JSON.

Sample code in Ruby:

require 'http'
first_response = HTTP.get 'https://serpapi.com/search.json?q=McDonald%27s&location=Dallas&hl=en&gl=us&source=test'
first_json = first_response.parse
people_also_search_for_link = first_json["knowledge_graph"]["people_also_search_for_link"]
stick_parameter = CGI.parse(URI.parse(people_also_search_for_link).query)["stick"][0]
second_response = HTTP.get "https://serpapi.com/search.json?q=McDonald%27s&location=Dallas&hl=en&gl=us&source=test&stick=#{stick_parameter}"
second_json = second_response.parse
second_json["knowledge_graph"]["people_also_search_for"]


Knowledge Graph - "See photos" and "See outside"

Knowledge Graph - "See photos" and "See outside"

JSON Example

{
  ...
  "knowledge_graph": {
    ...
    "see_photos_link": "https://www.google.com/maps/uv?hl=en&pb=!1s0x8824c510a6e67787:0x29f0dc85e23a8577!3m1!7e115!4shttps://lh5.googleusercontent.com/p/AF1QipNe6yKb1LFD0nZ8_SSKc6JMYrksxFV1ECouQCW2%3Dw284-h160-k-no!5sBest+buy+madison+heights+-+Google+Search&imagekey=!1e10!2sAF1QipNe6yKb1LFD0nZ8_SSKc6JMYrksxFV1ECouQCW2&sa=X&ved=2ahUKEwjKiIqt3JnmAhUUNH0KHU_MBpsQoiowCnoECA8QBg",
    "see_outside_link": "https://www.google.com/maps/uv?hl=en&pb=!1s0x8824c510a6e67787:0x29f0dc85e23a8577!3m1!7e115!4s/maps/place/Best%2Bbuy%2Bmadison%2Bheights/@42.5298608,-83.1052806,3a,75y,82.65h,90t/data%3D*213m4*211e1*213m2*211sw4a1EsZjPvrIufF3XVKkkw*212e0*214m2*213m1*211s0x8824c510a6e67787:0x29f0dc85e23a8577?sa%3DX!5sBest+buy+madison+heights+-+Google+Search&imagekey=!1e2!2sw4a1EsZjPvrIufF3XVKkkw&sa=X&ved=2ahUKEwjKiIqt3JnmAhUUNH0KHU_MBpsQpx8wCnoECA8QCw",
    ...
  }
  ...
}

Knowledge Graph - "Popular Times"

For some searches, Google will include the "Popular Times" block inside the Knowledge Graph. SerpApi is able to make sense of this information and extract live data and graph_results blocks. This results can contain data such as time, info, wait_time, typical_time_spent and busyness_score (the higher the score, the busier it is).

Knowledge Graph - "Popular Times"

JSON Example

{
  ...
  "knowledge_graph": {
    ...
    "popular_times": {
      "live": {
        "time": "8 PM",
        "info": "Usually as busy as it gets",
        "wait_time": "Up to 15 min wait",
        "typical_time_spent": "1.5-3.5 hours"
      },
      "graph_results": {
        "monday": [
          ...
          {
            "time": "7 PM",
            "info": "Usually a little busy",
            "wait_time": "No wait",
            "busyness_score": 51
          },
          {
            "time": "8 PM",
            "info": "Usually not too busy",
            "wait_time": "Up to 15 min wait",
            "busyness_score": 59
          },
          ...
        ],
        "tuesday": [
          ...
          {
            "time": "9 PM",
            "info": "Usually not too busy",
            "wait_time": "Up to 15 min wait",
            "busyness_score": 70
          },
          {
            "time": "10 PM",
            "info": "Usually a little busy",
            "wait_time": "No wait",
            "busyness_score": 56
          },
          ...
        ],
        ...
      }
    },
    ...
  }
  ...
}