Google Knowledge Graph Search Knowledge Graph Entities API

The Knowledge Graph Entities API from Google Knowledge Graph Search — 1 operation(s) for knowledge graph entities.

GitHub OpenAPI

Operations 1

GET /v1/entities:search Search entities #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-knowledge-graph:google-knowledge-graph-entities-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-knowledge-graph-entities-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Knowledge Graph Search Entities API
  version: v1
  description: Generated from Google's published Discovery document for Knowledge Graph Search API (kgsearch v1, revision 20261111). 1 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://kgsearch.googleapis.com
tags:
- name: Entities
paths:
  /v1/entities:search:
    get:
      operationId: kgsearch.entities.search
      summary: Search entities
      description: Searches Knowledge Graph for entities that match the constraints. A list of matched entities will be returned in response, which will be in JSON-LD format and compatible with http://schema.org
      parameters:
      - name: ids
        in: query
        required: false
        description: The list of entity id to be used for search instead of query string. To specify multiple ids in the HTTP request, repeat the parameter in the URL as in ...?ids=A&ids=B
        schema:
          type: array
          items:
            type: string
      - name: indent
        in: query
        required: false
        description: Enables indenting of json results.
        schema:
          type: boolean
      - name: languages
        in: query
        required: false
        description: The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.
        schema:
          type: array
          items:
            type: string
      - name: limit
        in: query
        required: false
        description: Limits the number of entities to be returned.
        schema:
          format: int32
          type: integer
      - name: prefix
        in: query
        required: false
        description: Enables prefix match against names and aliases of entities
        schema:
          type: boolean
      - name: query
        in: query
        required: false
        description: The literal query string for search.
        schema:
          type: string
      - name: types
        in: query
        required: false
        description: Restricts returned entities with these types, e.g. Person (as defined in http://schema.org/Person). If multiple types are specified, returned entities will contain one or more of these types.
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - apiKey: []
      tags:
      - Entities
components:
  schemas:
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    SearchResponse:
      properties:
        '@context':
          description: The local context applicable for the response. See more details at http://www.w3.org/TR/json-ld/#context-definitions.
        '@type':
          description: The schema type of top-level JSON-LD object, e.g. ItemList.
        itemListElement:
          items: {}
          description: The item list of search results.
          type: array
      description: Response message includes the context and a list of matching results which contain the detail of associated entities.
      type: object
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
externalDocs:
  url: https://developers.google.com/knowledge-graph/
x-provenance:
  method: harvested
  publisher: Google
  source: https://kgsearch.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261111)