---
title: "Get creator fees"
method: GET
path: "/evm/rh/creator-fees"
tags: ["Robinhood Chain"]
---

# Get creator fees

`GET /evm/rh/creator-fees`

## Request

- Base URL: `https://public-api-v2.bags.fm/api/v1`
- URL: `https://public-api-v2.bags.fm/api/v1/evm/rh/creator-fees`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/bags/apis/bags-public-api-v2/docs/evm/rh/creator-fees/get.ts> (a function with typed inputs; its response is checked against the schema)

Get lifetime and pending fees for a Bags V2 token on Robinhood Chain. Lifetime figures are summed from subgraph fee notifications; the pending leg is the hook's un-swept accrual. Lifetime earnings for display = notified sums + pending. Returns `404` for non-V2 tokens.

## Query parameters

- `tokenAddress` string, required

## Response `200`

Successfully retrieved creator fees

- object
  - `success` boolean, required
  - `response` object
    - `lifetimeCreatorFeesWei` string, required: Lifetime notified creator-side fees (wei), summed from subgraph fee notifications, as string to support bigint.
    - `lifetimePartnerFeesWei` string, required: Lifetime notified partner fees (wei), summed from subgraph fee notifications, as string to support bigint.
    - `pendingHookFeesWei` string, required: Un-swept fee accrual currently sitting on the hook for this token's pool (wei), as string to support bigint. Lifetime earnings = notified sums + pending.

## Other responses

- `400`: Bad request - Invalid token address
- `401`: Unauthorized - Invalid or missing API key
- `404`: Not found - The address is not a Bags V2 token
- `500`: Internal server error

---

[API](https://skmtc.dev/bags/apis/bags-public-api-v2.md) - [All operations](https://skmtc.dev/bags/apis/bags-public-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/bags/apis/bags-public-api-v2/revisions/4a14b82cd39d?raw)
