EntitySEO.wikiThe Entity SEO Reference

Knowledge Graph Search API

From EntitySEO.wiki, the entity SEO reference · Last reviewed · By · Published by Local Blitz · How we research

The Google Knowledge Graph Search API is a read-only API that lets you look up entities in the Google Knowledge Graph by name or ID. It returns JSON-LD results using schema.org types, each with a Knowledge Graph ID, name, types, description and a resultScore. Google warns it is not suitable for production-critical services and points new users to Cloud Enterprise Knowledge Graph.

What does the API do?

Google says the API “lets you find entities in the Google Knowledge Graph”, uses standard schema.org types, and is compliant with the JSON-LD specification. Typical uses include getting a ranked list of notable entities matching criteria and annotating content with Knowledge Graph entities.[1] Officially documented

What are the key parameters?

ParameterPurpose
queryText to search for
idsLook up specific Knowledge Graph IDs
typesRestrict to schema.org types such as Person or Organization
languagesLanguage codes for results
limitNumber of results
keyYour API key
https://kgsearch.googleapis.com/v1/entities:search?query=taylor+swift&key=API_KEY&limit=1&indent=True

What does a result contain?

Each item in itemListElement has a result with an @id (such as kg:/m/0dl567), name, @type, description, often a detailedDescription with a source URL and licence, plus a resultScore.[1] Officially documented Google does not document resultScore as a ranking or importance measure for Search; treat it as a relative match score within one response. Practitioner practice

What are its limits?

How do SEOs use it?

To check whether an entity exists, find its ID and types, see which description Google associates with it, and compare similarly named entities. Step-by-step instructions are in finding entities with the Knowledge Graph Search API.

Frequently asked questions

Is the Knowledge Graph Search API free?

It requires a Google Cloud API key; check Google Cloud's current quotas and terms before relying on it.

Does a resultScore show ranking strength?

Google does not document it that way. Use it only to compare matches within the same response.

Can I add my business with the API?

No. The API is read-only.

References

Pages accessed September 29, 2026 unless a date is given. See all sources and our editorial policy.

  1. ^ "Google Knowledge Graph Search API". Google for Developers.