---
title: "Goals with stats"
method: GET
path: "/api/v1/projects/{domain}/goals"
tags: ["Analytics"]
---

# Goals with stats

`GET /api/v1/projects/{domain}/goals`

## Request

- Base URL: `https://api.openrevenue.com`
- URL: `https://api.openrevenue.com/api/v1/projects/{domain}/goals`
- Auth: HTTP bearer

Prefer a session Bearer token. API keys may receive an empty goals list because the underlying action is session-only.

## Path parameters

- `domain` string, required

## Query parameters

- `period` 'today' | '7d' | '30d' | '6m' | '12m'

## Response `200`

Goals with current stats for the period

## Other responses

- `401`: Unauthorized
- `404`: Not found

---

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