> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Calendar

> Read a Google user's calendars, events and free/busy times through the Google Calendar API v3.

![](https://mintcdn.com/webrouter/gPu3tCeozwRcDBjt/logo/data-apis/google-calendar.webp?fit=max\&auto=format\&n=gPu3tCeozwRcDBjt\&q=85\&s=88a88f60cfd3aa8077f983b717162b5b)

[Web Catalog · Productivity](https://docs.webrouter.net/data-apis.md?category=productivity)

Needs&#x20;

`GOOGLE_CALENDAR_CLIENT_ID`

,&#x20;

`GOOGLE_CALENDAR_CLIENT_SECRET`

,&#x20;

`GOOGLE_CALENDAR_REFRESH_TOKEN`

Endpoints

4

Auth

OAuth refresh token

[Vendor docs](https://developers.google.com/workspace/calendar/api/v3/reference)

## Setup

| Variable | | What it is |
| - | - | - |
| `GOOGLE_CALENDAR_CLIENT_ID` | required | the OAuth client id of a Google Cloud OAuth app with the Google Calendar API enabled (Google Cloud console > APIs & Services > Credentials) |
| `GOOGLE_CALENDAR_CLIENT_SECRET` | required | that OAuth app's client secret |
| `GOOGLE_CALENDAR_REFRESH_TOKEN` | required | a refresh token minted with that OAuth app for the [https://www.googleapis.com/auth/calendar.readonly](https://www.googleapis.com/auth/calendar.readonly) scope |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Own-account API: reads the calendars of the Google user who granted the refresh token. 'primary' names that user's main calendar.
* Times are RFC3339 with an offset (2026-11-09T09:00:00-05:00 or ...Z). All-day events use start.date/end.date instead of dateTime, and end is exclusive.
* Lists page with pageToken/nextPageToken; a nextSyncToken on the last page lets a later call fetch only changes.

## Endpoints

GET

List the user's calendars

Calendars on the user's calendar list, with id, summary, time zone and access role.

[Open](#google-calendar-calendars-list)

GET

List events

Events on a calendar in a time window, optionally expanded into single occurrences and searched by text.

[Open](#google-calendar-events-list)

GET

Get an event

One event by id: time, attendees and their responses, location, conference link and description.

[Open](#google-calendar-events-get)

POST

Query free/busy

Busy intervals for up to 50 calendars or groups over a time range.

[Open](#google-calendar-freebusy-query)

### List the user's calendars

GET

`/users/me/calendarList`

`google-calendar.calendars.list`

Calendars on the user's calendar list, with id, summary, time zone and access role.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `maxResults`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page size; default 100, maximum 250.
      </td>
    </tr>

    <tr><td>`minAccessRole`</td><td>string</td><td>query</td><td>Only calendars where the user has at least this role. One of `freeBusyReader`, `reader`, `writer`, `writerWithoutPrivateAccess`, `owner`</td></tr>

    <tr>
      <td>
        `pageToken`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        nextPageToken from the previous page.
      </td>
    </tr>

    <tr>
      <td>
        `showDeleted`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Include deleted entries; default false.
      </td>
    </tr>

    <tr>
      <td>
        `showHidden`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Include hidden entries; default false.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/list)

```python Python theme={null}
router.call_data_api("google-calendar.calendars.list")
```

```text MCP theme={null}
call_data_api(endpoint="google-calendar.calendars.list")
```

### List events

GET

`/calendars/{calendarId}/events`

`google-calendar.events.list`

Events on a calendar in a time window, optionally expanded into single occurrences and searched by text.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`calendarId` required</td><td>string</td><td>path</td><td>Calendar id; 'primary' is the signed-in user's main calendar. Others from calendars.list. Example `primary`</td></tr>
    <tr><td>`timeMin`</td><td>string</td><td>query</td><td>Exclusive lower bound on event END time, RFC3339 with offset. Example `2026-11-09T00:00:00Z`</td></tr>
    <tr><td>`timeMax`</td><td>string</td><td>query</td><td>Exclusive upper bound on event START time, RFC3339 with offset. Example `2026-11-16T00:00:00Z`</td></tr>

    <tr>
      <td>
        `q`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Free text over summary, description, location, attendee and organizer names and emails.
      </td>
    </tr>

    <tr>
      <td>
        `singleEvents`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Expand recurring events into their instances; default false.
      </td>
    </tr>

    <tr><td>`orderBy`</td><td>string</td><td>query</td><td>startTime needs singleEvents=true; both ascending. One of `startTime`, `updated`</td></tr>

    <tr>
      <td>
        `maxResults`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Events per page; default 250, maximum 2500.
      </td>
    </tr>

    <tr>
      <td>
        `pageToken`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        nextPageToken from the previous page.
      </td>
    </tr>

    <tr>
      <td>
        `showDeleted`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Include cancelled events; default false.
      </td>
    </tr>

    <tr>
      <td>
        `timeZone`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        IANA time zone for the response; default the calendar's.
      </td>
    </tr>

    <tr>
      <td>
        `updatedMin`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Only events modified after this RFC3339 time (deleted ones always included).
      </td>
    </tr>

    <tr><td>`eventTypes`</td><td>string</td><td>query</td><td>Only this event type. One of `birthday`, `default`, `focusTime`, `fromGmail`, `outOfOffice`, `workingLocation`</td></tr>

    <tr>
      <td>
        `iCalUID`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Find an event by its iCalendar id.
      </td>
    </tr>

    <tr>
      <td>
        `maxAttendees`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Cap on attendees returned per event.
      </td>
    </tr>

    <tr>
      <td>
        `syncToken`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        nextSyncToken from a previous full list, to get only changes; not combinable with time, q, orderBy or updatedMin filters. 410 means start over.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developers.google.com/workspace/calendar/api/v3/reference/events/list)

```python Python theme={null}
router.call_data_api("google-calendar.events.list", {'calendarId': 'primary', 'timeMin': '2026-11-09T00:00:00Z', 'timeMax': '2026-11-16T00:00:00Z'})
```

```text MCP theme={null}
call_data_api(endpoint="google-calendar.events.list", params={"calendarId": "primary", "timeMin": "2026-11-09T00:00:00Z", "timeMax": "2026-11-16T00:00:00Z"})
```

> [!NOTE]
>
> * Pages can hold fewer than maxResults events; keep following nextPageToken until it is absent.
> * Without singleEvents=true a recurring event comes back once, as its rule, not as each occurrence.

### Get an event

GET

`/calendars/{calendarId}/events/{eventId}`

`google-calendar.events.get`

One event by id: time, attendees and their responses, location, conference link and description.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`calendarId` required</td><td>string</td><td>path</td><td>Calendar id; 'primary' is the signed-in user's main calendar. Others from calendars.list. Example `primary`</td></tr>

    <tr>
      <td>
        `eventId`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        The event id.
      </td>
    </tr>

    <tr>
      <td>
        `maxAttendees`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Cap on attendees returned.
      </td>
    </tr>

    <tr>
      <td>
        `timeZone`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        IANA time zone for the response.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developers.google.com/workspace/calendar/api/v3/reference/events/get)

### Query free/busy

POST

`/freeBusy`

`google-calendar.freebusy.query`

Busy intervals for up to 50 calendars or groups over a time range.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `timeMin`

        required
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Start of the interval, RFC3339.
      </td>
    </tr>

    <tr>
      <td>
        `timeMax`

        required
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        End of the interval, RFC3339.
      </td>
    </tr>

    <tr><td>`items` required</td><td>array</td><td>body</td><td>\[\{id: calendar or group id}, ...]. Example `[{"id": "primary"}]`</td></tr>

    <tr>
      <td>
        `timeZone`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Time zone of the response; default UTC.
      </td>
    </tr>

    <tr>
      <td>
        `groupExpansionMax`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Most calendar ids to expand per group, at most 100.
      </td>
    </tr>

    <tr>
      <td>
        `calendarExpansionMax`
      </td>

      <td>
        integer
      </td>

      <td>
        body
      </td>

      <td>
        Most calendars to return, at most 50.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developers.google.com/workspace/calendar/api/v3/reference/freebusy/query)

> [!NOTE]
>
> * A read over POST.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.