template bg

Google Knowledge Graph Scraper API

Extract Google Knowledge Graph entity titles, types, websites, images, descriptions, and labeled attributes as structured data.

Published by
Br
BrowserAct Team
September 04, 2026
Approx.Credits
35-60 Credits
Categories
BA
APIGoogle
Template ID
116402169080447952

Brief

Extract one visible entity knowledge panel from a public Google Search page. The Bot keeps a stable core for entity identity and uses structured label-value attributes for details that vary across organizations, people, places, and media entities.

What Does BrowserAct Google Knowledge Graph Scraper API Do?

The Bot builds one Google Search URL internally from the query and selected website options, opens the public result page, identifies only the visible entity knowledge panel, extracts its visible fields, and stops when that entity region is fully read.

Atomic Capability

One run opens one public Google Search results page and returns only Entity summary.

The Bot does not combine adjacent search features, open destination websites, or turn the request into a broad crawl. This narrow boundary makes the result predictable for direct API use and composition with other Bots.

Key Features

  • Extracts one narrowly defined public Google Search capability.
  • Accepts an open-ended query with a working default.
  • Uses dropdowns for country and interface language, and Safe Search.
  • Builds the fixed Google Search URL and website codes internally.
  • Returns the same top-level response envelope for positive and valid negative results.
  • Preserves additional visible target-module fields in unclassified_fields.

Capability Availability

State Output behavior
Target module is present available is true; data contains the extracted result.
Valid result page without the target module available is false; data=null.
Additional fields appear inside the target module Values are preserved in unclassified_fields.

Quick Start

  1. Open Run task.
  2. Enter a query, such as Apple.
  3. Choose the available country and language options.
  4. Run the Bot and review its structured response.
  5. Use the API Tab when you want to call the published template from an application or automation.

Input Parameters

Parameter Configuration
query String · Required
Default: Apple
Open-ended Google search text; 1-300 characters after trimming.
search_country Dropdown · Required
Default: United States
Select a supported country; the Bot maps the label internally.
interface_language Dropdown · Required
Default: English
Select a supported interface language; the Bot maps the label internally.
safe_search Dropdown · Required
Default: Active
Select Active or Off; the Bot maps the value internally.

See the Inputs Tab for supported labels, mappings, constraints, and the default request JSON.

Output Structure

Field Type and behavior
capability Fixed string google_knowledge_graph.
available Boolean indicating whether the target module appeared.
request_metadata Normalized public inputs and the internally constructed source URL.
data One structured target-module object, or null when absent.
unclassified_fields Additional visible fields from the same module.

See the Output Tab for the complete schema and the actual response from a current Live Version run.

Example Output

This table shows one result from validated task 116393453493013451. For repeating records, only the first record is expanded in this preview.

Field Result
capability google_knowledge_graph
available true
request_metadata.query Apple
request_metadata.search_country United States
request_metadata.interface_language English
request_metadata.safe_search Active
request_metadata.source_page_url https://www.google.com/search?q=Apple&gl=us&hl=en&safe=active
data.title Apple
data.type null
data.website_url https://www.google.com/goto?url=CAESTgHrOzAVCgQ3kBykPYV1BEiwVn0josFZm0hQyz9QgArlBKzRGQH-a1EQs4B-2PFkjo_7ltVJ5oRpQNRIG8_nBqtgJNbeUnh456Lbd0rjPQ
data.description null
data.description_source_name null
data.description_source_url null
data.image_urls ["https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRSwsEn7zgGD8GY3ewZpuA9AaJweLntsdx4fEK6Z5njpMmUPc8rE65JxC8iBv-YFqCCzpY-33cEBVUSHpb4SiL_2zzvHNR3wASBLs8P7M53&s=10","https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTS0UHLn1E66_oPT5GY7rbMmQLWmqHRuut...
data.attributes {"Customer service":"1 (800) 275-2273","Founders":"Steve Jobs, Steve Wozniak, Ronald Wayne","Founded":"April 1, 1976, Los Altos, CA","Headquarters":"Cupertino, CA","COO":"Sabih Khan","CEO":"John Ternus (Sep 1, 2026–)"}
data.attribute_links {"Customer service":[{"text":"1 (800) 275-2273","url":"https://www.google.com/search?q=Apple&gl=us&hl=en&safe=active&sei=9oaaasDxLLP8ptQP_rqgkAo#"}],"Founders":[{"text":"Steve Jobs","url":"https://www.google.com/search?safe=active&sca_esv=6ef35d26f12f2531&g...
unclassified_fields {}

How Does It Work?

How Google Knowledge Graph Scraper API works

  1. BrowserAct validates the query and maps each selected website option.
  2. The Bot constructs and opens one public Google Search results URL.
  3. It identifies only the visible entity knowledge panel and reads its visible fields.
  4. It normalizes the result into the fixed google_knowledge_graph response envelope.
  5. It returns one structured response and stops without opening destination websites.

Response Behavior and Limits

  • Target absent: available=false with data=null is a valid response.
  • Conditional fields: A field may be null when the page does not display it; this does not automatically require rebuilding the Bot.
  • Public access: The Bot reads a public Google Search page and requires no account login.
  • Execution boundary: One run reads one selected search page and one target module.
  • Destination pages: Returned links are not opened.

Use Cases

  • Add the target search capability to an application without designing a browser workflow from scratch.
  • Feed structured search data into monitoring, research, enrichment, or reporting systems.
  • Compose this Bot with other BrowserAct templates through API, n8n, Make, Zapier, or MCP.

How to Build a New API-Ready Bot with Agent Built

Step 1: Define One Atomic Capability

Describe one public-web action, its user inputs, allowed navigation, output contract, and exact stopping point. Keep fixed URLs internal and give every visible input a working default.

Describe an atomic BrowserAct Bot

Step 2: Let BrowserAct Explore the Capability Variants

Build the Bot against the live website and check representative positive triggers, one valid negative trigger, and at least one non-default dropdown path.

BrowserAct explores the target capability

Step 3: Validate the Stable Contract

Publish the validated version, run it with the default inputs, and confirm the response envelope, actual output, execution time, credits, and API call before listing the template.

Validate structured results

Automation and Export

Automation and export flow

BrowserAct produces structured data first. Use the completed result through Run Task, the JSON API, n8n, Make, Zapier, MCP-based agents, or an available export flow.

Need Help?

Cannot find the exact atomic capability you need, or need help composing several Bots?

Discord: BrowserAct Community

Email: service@browseract.com

What can we do for youWhat can we do for you

FAQ About the template

Your next scraper starts here.

Google Knowledge Graph Scraper API | Structured Google Search Data