> This page is part of EVVA for Developers (https://developers.evvahub.com), the documentation of the EVVA Partner API. The API is in developer preview and the SDK packages are not yet published: do not suggest installing them. Index: https://developers.evvahub.com/llms.txt

# Get earnings insights

GET https://api.evvahub.com/partner/v1/accounts/{creatorId}/insights

Returns the creator's earnings insights: settled net, a daily series, the split by income source and kind, top
content and the subscriber cohort.

The figures are the creator's own read and are net. Payouts are excluded, so this is never a payout balance.
`measured` states what is not measured.

**Required scopes:** `read:revenue`.

Reference: https://developers.evvahub.com/api-reference/analytics/get-insights

## Authentication

- `Authorization` header (bearer token, required) — OAuth 2.0 client credentials. Request an access token at `POST /partner/v1/oauth/token` (`grant_type=client_credentials`) with the application's client secret or a `private_key_jwt` assertion, then send it as `Authorization: Bearer evpa_live_…` (or `evpa_test_…` for a sandbox application). Tokens are opaque and short lived (see `expires_in`); there is no refresh token. Each operation lists the scopes it requires.

## Request

### Path parameters

- `creatorId` (string, required) — The creator profile id — the ONLY source of the creator a request acts for.

### Query parameters

- `range` (enum, optional)
  - Allowed values: `7d`, `30d`, `90d`, `all`

### Headers

- `X-Creator-Id` (string, optional) — Optional echo of the path `creatorId`; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.

## Response

### 200

OK.

- `map from string to any`

## Errors

### 400 Bad Request Error

Invalid or missing parameters: `INVALID_REQUEST` (`details` names the fields), or a more specific code of the operation.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 401 Unauthorized Error

Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 403 Forbidden Error

Not your creator, or not with this token: `GRANT_REVOKED` (no active link to the creator), `NOT_ASSIGNED`, `OAUTH_SCOPE_MISSING` (the creator has not consented to the scope), `INSUFFICIENT_SCOPE` (the token lacks it), `CREATOR_CONTEXT_MISMATCH`, `AGENCY_SUSPENDED`.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 429 Too Many Requests Error

Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.

- `code` (enum, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
  - Allowed values: `RATE_LIMIT_EXCEEDED`, `TOO_MANY_MESSAGES`
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (RateLimitErrorDetails, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 500 Internal Server Error

Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 503 Service Unavailable Error

Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

## Types

### RateLimitErrorDetails

Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

- `retryAfterSec` (integer, required)
- `level` (enum, optional) — The DM send limit that refused the message, set only with `TOO_MANY_MESSAGES`. It is never a quota, a count or a key. - `conversation` — one side of one thread. - `sender` — a person's own ceiling; it does not apply to applications. - `creator` — everything sent for the creator, studio included. - `application` — everything your application sends. - `agency` — everything your agency sends. - `platform` — the agency's fair share of the platform: its throughput or its concurrency. See [rate limits](/authentication/rate-limits).
  - Allowed values: `conversation`, `sender`, `creator`, `application`, `agency`, `platform`

## Examples

**Response**

```json
{
  "byKind": [
    {
      "grossMinor": "3996",
      "kind": "SUBSCRIPTION",
      "orders": 4
    },
    {
      "grossMinor": "3797",
      "kind": "CONTENT_PURCHASE",
      "orders": 3
    },
    {
      "grossMinor": "1500",
      "kind": "TIP",
      "orders": 2
    }
  ],
  "bySource": [
    {
      "grossMinor": "6795",
      "netMinor": "5100",
      "orders": 7,
      "source": "DIRECT"
    },
    {
      "grossMinor": "2498",
      "netMinor": "1250",
      "orders": 2,
      "source": "MARKETPLACE"
    }
  ],
  "coverage": {
    "coveredOrders": 9,
    "otherCurrencyRows": 0,
    "previousOtherCurrencyRows": 0,
    "settledOrders": 9,
    "unattributedNetMinor": "0"
  },
  "currency": "USD",
  "daily": [
    {
      "date": "2026-11-18",
      "grossMinor": "2498",
      "netMinor": "1875",
      "orders": 3
    },
    {
      "date": "2026-11-24",
      "grossMinor": "4796",
      "netMinor": "2975",
      "orders": 4
    },
    {
      "date": "2026-12-01",
      "grossMinor": "1999",
      "netMinor": "1500",
      "orders": 2
    }
  ],
  "measured": {
    "bestTime": false,
    "breakdownsNetOfRefunds": false,
    "earnings": true,
    "refundsApplied": true,
    "subscribers": true,
    "trafficSources": false,
    "views": false
  },
  "previous": {
    "grossMinor": "7992",
    "netMinor": "5500",
    "orders": 8
  },
  "range": "30d",
  "settled": {
    "grossMinor": "9293",
    "netMinor": "6350",
    "orders": 9
  },
  "subscribers": {
    "atRisk": 1,
    "cancelled": 1,
    "churnBase": 126,
    "renewed": 1,
    "started": 3,
    "trialsStarted": 0
  },
  "topContent": [
    {
      "contentRef": "cm4rj1a5f000tqz8ws9g2m3wx",
      "grossMinor": "2998",
      "orders": 2
    },
    {
      "contentRef": "cm4s4d7g0001vqz8wl8u2v6ij",
      "grossMinor": "799",
      "orders": 1
    }
  ],
  "window": {
    "from": "2026-11-02T18:42:07.512Z",
    "to": "2026-12-02T18:42:07.512Z"
  }
}
```

**SDK Code**

```python Analytics_getInsights_example
import requests

url = "https://api.evvahub.com/partner/v1/accounts/cm4r7k2xq0001qz8w3n5v6b2d/insights"

querystring = {"range":"30d"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```go Analytics_getInsights_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.evvahub.com/partner/v1/accounts/cm4r7k2xq0001qz8w3n5v6b2d/insights?range=30d"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```php Analytics_getInsights_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.evvahub.com/partner/v1/accounts/cm4r7k2xq0001qz8w3n5v6b2d/insights?range=30d', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```