← Resources

What is a KGMID? Google's ID for real-world entities

A KGMID is the ID Google gives a person, place or business in its Knowledge Graph. Here is what it means, what /m/ and /g/ tell you, and why it matters for links.

Unfair Links cover for "What is a KGMID? Google's ID for real-world entities": a card-catalogue drawer with one index card stamped with a red wax seal

A KGMID (Knowledge Graph machine ID) is the unique ID Google gives an entity in its Knowledge Graph. Entities are the people, places, businesses and things Google is confident exist. If a business has a KGMID, Google has resolved it as a thing, not just a string of text on a web page.

That difference is the whole point of entity SEO, and it is something link metrics like Domain Rating can’t see.

What a KGMID looks like

A KGMID is a short path that starts with /m/ or /g/:

You will also see it written with a kg: prefix (kg:/m/0dl567) in API responses. The ID is the same.

What the prefix tells you

The prefix tells you roughly when the entity entered Google’s systems, not how important it is.

  • /m/ IDs come from Freebase, the open database Google bought and used to seed the Knowledge Graph. Google announced in December 2014 that Freebase would go read-only on 31 March 2015 and that its data would move to Wikidata.
  • /g/ IDs were created by Google itself. Kalicube puts it simply: “Everything that is /g was created since 2015.”

A local business opened in the last decade will almost always have a /g/ ID. That is normal, and it is no weaker than an /m/ ID. We cover this in more detail in /m/ vs /g/ KGMIDs.

Why a KGMID matters

Google launched the Knowledge Graph in May 2012 with a phrase that still sums up modern search: “things, not strings”. Instead of matching words on pages, Google tries to understand the real-world thing a page is about.

A KGMID is the clearest sign that Google has made that connection. It means:

  • Google knows the entity exists. It has enough consistent information to give it an ID.
  • Facts are attached to it. Name, category, location, reviews, social profiles and related entities hang off that ID.
  • It can be looked up directly. https://www.google.com/search?kgmid=/g/... asks Google about that exact entity, not a word that happens to share its name.

Most link sellers sell metrics: DR, traffic and referring domains. Those numbers estimate link authority, but none of them can tell you whether a real business stands behind a site.

A link from a site that belongs to an entity with a KGMID, a verified Google Business Profile and years of reviews is a different kind of signal. It is a link from something Google already recognises as real. That is far harder to manufacture than a DR score.

This is what every Unfair Links placement is built on. Each delivered page shows the business behind it: its KGMID, Google Maps listing, reviews, entity health and social profiles. You can check all of it yourself.

Find any business’s KGMID

You don’t need a paid tool to find a KGMID. Paste a Business Profile or Maps link into our free Google Maps KGMID finder, or use the share button on a knowledge panel. We walk through every method, free and paid, in How to find any business’s KGMID.

To understand where these IDs live, read What is the Google Knowledge Graph?.