Google Indexing URL Notifications API

The UrlNotifications API from Google Indexing — 2 operation(s) for urlnotifications.

GitHub OpenAPI

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v3/urlNotifications:publish Notify Google of a URL update or deletion · Publish urlNotifications #
Ask an LLM
“How do I tell Google a page has been updated or deleted?”
“Can I notify Google that a URL was removed?”
Tell an agent
Notify Google that {url} was {type}.
Tell Google the page {url} was deleted.
GET /v3/urlNotifications/metadata Get indexing metadata for a URL · Get metadata urlNotifications #
Ask an LLM
“Has Google seen my URL in an indexing notification?”
“What is the latest indexing status for a URL?”
Tell an agent
Get indexing metadata for {url}.
Check whether Google has received a notification about {url}.

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-indexing:google-indexing-urlnotifications-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

google-indexing-urlnotifications-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Search Indexing URL Notifications API
  version: v3
  description: Generated from Google's published Discovery document for Web Search Indexing API (indexing v3, revision 20261107). 2 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://indexing.googleapis.com
tags:
- name: UrlNotifications
paths:
  /v3/urlNotifications:publish:
    post:
      operationId: indexing.urlNotifications.publish
      summary: Publish urlNotifications
      description: Notifies that a URL has been updated or deleted.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UrlNotification'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublishUrlNotificationResponse'
        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:
      - oauth2:
        - https://www.googleapis.com/auth/indexing
      - apiKey: []
      tags:
      - UrlNotifications
  /v3/urlNotifications/metadata:
    get:
      operationId: indexing.urlNotifications.getMetadata
      summary: Get metadata urlNotifications
      description: Gets metadata about a Web Document. This method can _only_ be used to query URLs that were previously seen in successful Indexing API notifications. Includes the latest `UrlNotification` received via this API.
      parameters:
      - name: url
        in: query
        required: false
        description: URL that is being queried.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UrlNotificationMetadata'
        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:
      - oauth2:
        - https://www.googleapis.com/auth/indexing
      - apiKey: []
      tags:
      - UrlNotifications
components:
  schemas:
    UrlNotification:
      properties:
        type:
          enum:
          - URL_NOTIFICATION_TYPE_UNSPECIFIED
          - URL_UPDATED
          - URL_DELETED
          description: The URL life cycle event that Google is being notified about.
          type: string
        url:
          type: string
          description: The object of this notification. The URL must be owned by the publisher of this notification and, in case of `URL_UPDATED` notifications, it _must_ be crawlable by Google.
        notifyTime:
          type: string
          description: Creation timestamp for this notification. Users should _not_ specify it, the field is ignored at the request time.
          format: google-datetime
      type: object
      description: '`UrlNotification` is the resource used in all Indexing API calls. It describes one event in the life cycle of a Web Document.'
    PublishUrlNotificationResponse:
      type: object
      properties:
        urlNotificationMetadata:
          $ref: '#/components/schemas/UrlNotificationMetadata'
          description: Description of the notification events received for this URL.
      description: Output for PublishUrlNotification
    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
    UrlNotificationMetadata:
      description: Summary of the most recent Indexing API notifications successfully received, for a given URL.
      type: object
      properties:
        url:
          description: URL to which this metadata refers.
          type: string
        latestRemove:
          $ref: '#/components/schemas/UrlNotification'
          description: Latest notification received with type `URL_REMOVED`.
        latestUpdate:
          $ref: '#/components/schemas/UrlNotification'
          description: Latest notification received with type `URL_UPDATED`.
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/indexing: Submit data to Google for indexing
externalDocs:
  url: https://developers.google.com/search/apis/indexing-api/
x-provenance:
  method: harvested
  publisher: Google
  source: https://indexing.googleapis.com/$discovery/rest?version=v3
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261107)