---
title: "Get affiliate details"
method: GET
path: "/billing/affiliate"
tags: ["Affiliate", "Billing"]
---

# Get affiliate details

`GET /billing/affiliate`

## Request

- Base URL: `https://api.bunny.net`
- URL: `https://api.bunny.net/billing/affiliate`
- Auth: one of:
  - API key in header `AccessKey`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/bunny/apis/bunny-net-api/docs/billing/affiliate/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

Get the affiliate details

- BillingAffiliateDetailsModel
  - `AffiliateBalance` number: The amount of affiliate credits on the account
  - `AffiliateUrl` string, nullable: The affiliate URL for the currently authenticated user
  - `ClaimBonusPercentage` number: The bonus percentage given when claiming affiliate balance as bunny credits
  - `MinimumPayoutAmount` number: The smallest cash payout that can be requested
  - `AffiliateClicksChart` object, nullable: The constructed affiliate click history chart data
  - `AffiliateSignupsChart` object, nullable: The constructed affiliate signup history chart data
  - `AffiliateConversionsChart` object, nullable: The constructed affiliate conversion history chart data

## Other responses

- `401`: The request authorization failed
- `500`: Internal Server Error

## Changes

- **2026-10-27** `2096a6606d8d`: 2 info
  - the security scope `ScopedApiKey` was added to the endpoint's security scheme `AccessKey`
  - the security scope `ScopedApiKey` was added to the endpoint's security scheme `bearer`

[Operation history](https://skmtc.dev/bunny/apis/bunny-net-api/changes/billing/affiliate/get.md)

---

[API](https://skmtc.dev/bunny/apis/bunny-net-api.md) - [All operations](https://skmtc.dev/bunny/apis/bunny-net-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/bunny-net-api/revisions/2b06f94dbfbf?raw)
