---
title: "Publisher Earnings Widget"
method: GET
path: "/v1/publishers/{publisher_id}/earnings"
---

# Publisher Earnings Widget

`GET /v1/publishers/{publisher_id}/earnings`

## Request

- Base URL: `https://api.storyflo.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.storyflo.com/v1/publishers/{publisher_id}/earnings`
- Auth: none declared

Per-vertical earnings panel for the publisher rev-share dashboard.

``publisher_id`` resolves to either the Publisher PK id OR the
``tenant_slug`` (the listener HEX-FLO referral mechanic surfaces the
dashboard by slug; older callers may pass the id). Both work.

Returns the real shape with zeros when no plays exist — never random
or fabricated data. Per-vertical breakdown joins plays -> articles
for this publisher, plus a deterministic ``trending_share`` =
publisher's vertical-listens / total-listens-in-vertical over the
window. Estimated payout uses the placeholder formula
``$0.01 / listen`` until the ledger settlement engine lands; the
same rate the HEX-FLO mechanic quotes externally.

## Path parameters

- `publisher_id` string, required

## Query parameters

- `window_days` integer

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/storyflo/apis/storyflo-inference-router.md) · [All operations](https://skmtc.dev/storyflo/apis/storyflo-inference-router/llms.txt) · [OpenAPI document](https://skmtc.dev/storyflo/apis/storyflo-inference-router/revisions/c3a1a735ac7a?raw)
