---
title: "Earnings & Revenue"
description: "Track earnings, view revenue analytics, and understand the developer markup model"
canonical: "https://docs.ainative.studio/docs/developer-program/earnings"
last-updated: "2026-10-03T21:47:10.764Z"
---

# Earnings & Revenue

Source: https://docs.ainative.studio/docs/developer-program/earnings

> Track earnings, view revenue analytics, and understand the developer markup model

# Earnings & Revenue

As a developer on AINative, you earn revenue from your customers' API usage. Set your markup (0-40%) and AINative handles billing.

## Revenue Model

```
Customer pays = Base API cost + Your markup
Your earnings = Customer markup amount
Platform fee  = 5% of your earnings
You receive   = Earnings - Platform fee
```

**Example:** Base cost $1.00, your markup 20%:
- Customer pays: $1.20
- Your earnings: $0.20
- Platform fee: $0.01
- You receive: $0.19

## Check Earnings

```bash
curl https://api.ainative.studio/api/v1/developer/earnings \
  -H "Authorization: Bearer $TOKEN"
```

**Response:**
```json
{
  "total_earnings": 1250.00,
  "pending_payout": 85.50,
  "paid_out": 1164.50,
  "markup_percentage": 20,
  "period": "2026-04",
  "api_calls_this_month": 52000
}
```

## Earnings History

```bash
curl "https://api.ainative.studio/api/v1/developer/earnings/history?period=monthly" \
  -H "Authorization: Bearer $TOKEN"
```

## Update Markup

```bash
curl -X PUT https://api.ainative.studio/api/v1/developer/settings \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"markup_percentage": 25}'
```

Markup range: 0-40%. Changes apply to new API calls immediately.

## API Endpoints

| Method | Path | Description |
|--------|------|-------------|
| GET | `/developer/earnings` | Current period summary |
| GET | `/developer/earnings/history` | Historical earnings |
| GET | `/developer/earnings/daily` | Daily breakdown |
| PUT | `/developer/settings` | Update markup and settings |

## Next Steps

- [Payouts](/docs/developer-program/payouts) — Stripe Connect setup and payout schedule
- [SDKs](/docs/sdks/overview) — Build your app frontend
