---
title: "Get autocomplete"
method: POST
path: "/autocomplete/get"
tags: ["Autocomplete"]
---

# Get autocomplete

`POST /autocomplete/get`

## Request

- Base URL: `https://api.databuddy.cc`
- URL: `https://api.databuddy.cc/autocomplete/get`
- Auth: API key in header `x-api-key`

Returns autocomplete suggestions for analytics filters.

## Request body

- object
  - `startDate` string, date
  - `endDate` string, date
  - `websiteId` string, required

## Response `200`

OK

- object
  - `customEvents` string[], required
  - `pagePaths` string[], required
  - `browsers` string[], required
  - `operatingSystems` string[], required
  - `countries` string[], required
  - `deviceTypes` string[], required
  - `utmSources` string[], required
  - `utmMediums` string[], required
  - `utmCampaigns` string[], required

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `403`: 403
- `404`: 404
- `409`: 409
- `429`: 429
- `500`: 500
- `503`: 503

---

[API](https://skmtc.dev/databuddy/apis/databuddy-api.md) - [All operations](https://skmtc.dev/databuddy/apis/databuddy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/databuddy/apis/databuddy-api/revisions/ddfbba648d52?raw)
