---
ref: tool:cal-com/get-available-slots
name: Get available slots
company: company:cal-com
workflows: []
access: [mcp, cli, api]
tags: [capability:book-meetings, category:scheduling, has:api, has:cli, has:mcp]
docs: https://cal.com/docs/api-reference/v2/slots/get-available-time-slots-for-an-event-type
updated: 2026-09-27
---

# Get available slots

Returns the open start times of an event type between two dates, grouped by day.

Pass `start` and `end`, and name the event type by `eventTypeId` or by
`eventTypeSlug` plus `username` (`teamSlug` for a team event). Set
`timeZone` to get the times in the prospect's zone; the default is UTC. Offer
a few slots, then book the chosen one with `create_booking`. Send
`cal-api-version: 2024-09-04`.

## Set up

Use the first option your agent supports.

### MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

```json
{ "mcpServers": { "cal-com": { "url": "https://mcp.cal.com/mcp" } } }
```

Call the MCP tool `get_availability`.

Server URL: https://mcp.cal.com/mcp

### CLI (official)

Install the command, then confirm it runs.

```sh
npm install -g @calcom/cli
calcom --version
```

Run `calcom slots available`.

Set `$CAL_API_KEY` in your environment first (get a key: https://app.cal.com/settings/developer/api-keys).

### API (official)

- Base URL: https://api.cal.com
- Endpoint: `GET /v2/slots`
- Auth: send the header `Authorization: Bearer $CAL_API_KEY`
- Get a key: https://app.cal.com/settings/developer/api-keys
- Docs: https://cal.com/docs/api-reference/v2/introduction

Before doing anything else, make one read-only call to confirm access.

## Rules

- Ask the user before anything that sends messages, costs money, or changes data.
- Never print API keys.
