Skip to content

New AI assistant answers: ChatGPT, Gemini, Copilot and AI Mode by API

SerpKite
Get API key

POST /v1/search · fields=knowledge_graph

Google Knowledge Graph API

The knowledge panel Google shows next to an entity search, parsed into one object: title, type, description with its source, website and the panel's facts. Read from live results, so it matches what people see today.

Get a free API key Try in playground
1 credit per search 2,500 free credits, no card Failed calls are free

Overview

What the Google Knowledge Graph API does

When a search names a person, place, organisation or work, Google shows a knowledge panel. /v1/search returns it as knowledge_graph: title, type ("Tower in Paris, France"), description with description_source and description_link, website when the panel links one, and attributes, the panel's facts as label/value pairs ("Height": "984′, 1,083′ to tip", "Born": "November 7, 1867, Warsaw, Poland").

Add fields: "knowledge_graph" to get only the panel (plus request and meta), which keeps agent context small. Google's own Knowledge Graph Search API returns entity IDs and schema.org types from its database, not the panel on the results page; this endpoint reads the panel people actually see, with its facts.

What you get

knowledge_graph object
title, type, description, description_source, description_link, website and image_url when shown, and attributes (label → value). Absent when Google shows no panel.
request object
Echo of the normalized request (endpoint, engine, q, country, language, page…), handy for logging.
meta object
request_id, credits_used, cached, engine, latency_ms, resolved_urls and parse_quality. parse_quality=empty means the call was not billed.

Request

curl https://api.serpkite.com/v1/search \
  -H "Authorization: Bearer $SERPKITE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q":"marie curie","fields":"knowledge_graph"}'

Response (live response, trimmed)

200 OK · application/json
{
  "knowledge_graph": {
    "title": "Marie Curie",
    "type": "Polish-French physicist and chemist",
    "description": "Maria Salomea Skłodowska Curie, better known as Marie Curie, was a Polish and naturalised-French physicist and chemist. She shared the 1903 Nobel Prize in Physics with her husband, Pierre Curie…",
    "description_source": "Wikipedia",
    "description_link": "https://en.wikipedia.org/wiki/Marie_Curie",
    "attributes": {
      "Born": "November 7, 1867, Warsaw, Poland",
      "Died": "July 4, 1934 (age 66 years), Passy, France",
      "Awards": "Nobel Prize in Physics, Nobel Prize in Chemistry",
      "Spouse": "Pierre Curie (m. 1895–1906)",
      "Children": "Ève Curie, Irène Joliot-Curie"
    }
  },
  "request": {
    "endpoint": "search",
    "engine": "google",
    "q": "marie curie",
    "country": "us",
    "language": "en"
  },
  "meta": {
    "request_id": "req_01J8ZK4M6Q2V7",
    "credits_used": 1,
    "engine": "google",
    "cached": false,
    "latency_ms": 812,
    "resolved_urls": true,
    "parse_quality": "ok"
  }
}

Every response also carries X-Credits-Used, X-Credits-Remaining, X-Cache and X-Tokens-Estimate headers. Run this query in the playground

Reference

Parameters

The parameters /v1/search accepts, in the JSON body or the query string.

Google Knowledge Graph API parameters
Name Type Default Description
q required string – The search query. Required. Up to 2,048 characters.
country string us Country to search from, as a two-letter ISO code (us, gb, de, in…). Defaults to the country a location ends in.
language string en Interface language, as a language code with an optional region (en, de, pt-BR, zh-TW…).
fields string – Comma-separated projection, e.g. results.title,results.link,knowledge_graph. Cuts tokens.
format string json Response format. markdown is LLM-ready prose; compact is JSON with only the fields agents need. Values: json, compact, markdown.

Full reference, error codes and headers are in the /v1/search reference. Queue up to 100 requests at half price with POST /v1/batches.

Use cases

What people build with the Google Knowledge Graph API

01

Entity grounding for agents

Give an agent a short, sourced summary of a person, company or place before it answers.

02

Enrichment

Fill in founding dates, headquarters, websites or birth dates for a list of entities.

03

Brand SERP monitoring

Track what Google's panel says about your brand or executives, and catch changes.

04

Local entities

Landmarks and businesses come with their type, website and facts such as address or hours.

Pricing

Google Knowledge Graph API pricing

Cost per call

1 credit

per search

  • From $0.60 per 1,000 calls at volume.
  • Credits never expire. No subscription.
  • Failed, empty and blocked calls are refunded.
  • 2,500 free credits = 2,500 calls, then 1,000 credits a month.

For reference: Serper lists Google searches at $1.00 per 1k on its entry tier and $0.30 at its best tier, and its credits expire after 6 months. SerpKite credits cost $1.00 to $0.60 per 1k.

See all pricing
Google Knowledge Graph API cost per pack
Pack Price Per 1k credits Per 1k calls Calls per pack
Starter $10 $1.00 $1.00 10,000
Growth $50 $0.80 $0.80 62,500
Pro $300 $0.60 $0.60 500,000

FAQ

Google Knowledge Graph API: common questions

Start building

Start with the Google Knowledge Graph API

2,500 free credits, then 1,000 every month. No credit card.