https://swarms.world/api/product/fees
Returns the creator fees that the authenticated user has generated for one of their tokenized products (an agent or prompt with a launched token). Fee data is read live from the Jupiter partner API and reported in SOL.
Identify the product by its ticker, its product UUID, or its full Swarms product URL. The endpoint resolves the product against your account, determines the fee-vault wallet, and returns the product name and UUID along with its total, unclaimed, and claimed fees and the time of the read.
Authenticate with your Swarms API key in the Authorization header.
Only tokenized agents and prompts have creator fees. Tools and bundles are not tokenized and cannot be queried here.
Request
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Bearer YOUR_API_KEY. Get your key at swarms.world/platform/api-keys. |
Query Parameters
Provide one of the following to identify the product. If multiple are supplied, they are checked in the order below.| Parameter | Type | Description |
|---|---|---|
url | string | Full Swarms product URL, e.g. https://swarms.world/agent/<uuid>. |
id | string | Product UUID. |
ticker | string | Token ticker / symbol. A leading $ is optional. |
product | string | Convenience parameter that auto-detects whether the value is a URL, UUID, or ticker. |
Response
Success (HTTP 200)
Fee amounts are in SOL.| Field | Type | Description |
|---|---|---|
name | string | null | Product name. |
uuid | string | Product UUID. |
claimedFees | number | Fees already claimed, in SOL. |
unclaimedFees | number | Fees available to claim, in SOL. |
totalFees | number | Total fees earned (unclaimed + claimed), in SOL. |
timestamp | string | ISO 8601 server time when the fees were read. |
0.
HTTP Status Codes
| Code | Meaning |
|---|---|
200 | Success. |
400 | Bad request: no product identifier provided, or the URL did not contain a valid product UUID. |
401 | Unauthorized: API key is missing or invalid. |
404 | No tokenized product found for the given identifier under your account. |
500 | Internal server error. |
Example Request
Related Resources
Claim Fees API
Claim the unclaimed fees returned here
List Products API
List all products you’ve posted
Creator Fees
Understand how creator fees work
Tokenization
Launch a token for your agent or prompt