---
title: "Get bulk goal analytics"
method: POST
path: "/goals/bulkAnalytics"
tags: ["Goals"]
---

# Get bulk goal analytics

`POST /goals/bulkAnalytics`

## Request

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

Returns conversion analytics for multiple goals. Requires website read permission.

## Request body

- object
  - `startDate` string, date
  - `endDate` string, date
  - `filters` object[]
    - `field` string, required
    - `operator` 'contains' | 'ends_with' | 'equals' | 'in' | 'not_contains' | 'not_equals' | 'not_in' | 'starts_with', required
    - `value` union, required
      - string
      - string[]
  - `goalIds` string[], required
  - `websiteId` string, required

## Response `200`

OK

- object

## 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)
