EntitySEO.wikiThe Entity SEO Reference

How to find entities with the Knowledge Graph Search API

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

To find an entity in Google’s Knowledge Graph, create an API key in Google Cloud, enable the Knowledge Graph Search API, and call the entities:search endpoint with your query (optionally filtered by type). Each result gives a Knowledge Graph ID such as kg:/m/0dl567, the entity’s schema.org types, a short description and a resultScore you can use to compare matches.

What do you need?

How do you run a lookup?

  1. Search by name:
    https://kgsearch.googleapis.com/v1/entities:search?query=local+blitz&limit=10&indent=True&key=API_KEY
  2. Filter by type to cut noise: add &types=Organization or &types=Person.
  3. Look up a known ID: use &ids=/m/0dl567 instead of query.
  4. Read each result: @id, name, @type, description, detailedDescription.url and resultScore.[1] Officially documented

How do you interpret the results?

What you seeWhat it suggests
Your entity with the right type and descriptionGoogle recognises it; check facts in the panel
Your entity with a wrong or generic descriptionWeak or conflicting sources; strengthen your entity home
Only a same-named entityDisambiguation work needed (guide)
No resultNot in the public API; may still exist internally, or not yet recognised

These interpretations are practitioner rules of thumb. Practitioner practice The API returns a subset of data and Google warns it is not for production-critical use.[1]

How do you use a Knowledge Graph ID?

Is there a no-code option?

You can paste the request URL into a browser. Several SEO tools wrap the same API; see entity SEO tools.

Frequently asked questions

What is a kg:/m/ or kg:/g/ ID?

It is a Knowledge Graph machine ID. IDs starting /m/ follow the format Freebase used; /g/ IDs are also common. Both identify an entity in Google's graph.

Why does my brand not appear?

The public API returns a subset of entities. A missing result can mean Google has not recognised the entity yet or that the API simply does not return it.

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.
  2. ^ "Wikidata: Identifiers". Wikidata.