DropfansDropfans
Help CenterFAQDevelopersMini AppSign upLog in
Get the earnings overview for a creator
Get started
Dropfans APIMake your first callConnect a creator to your appTesting without a sandboxApply for API access
Concepts
Authentication & API keysApps & approvalAPI categoriesRate limitsErrorsPagination & batch limitsModeration & statusesMoney & unitsActing for a creator: agencies and CRMs
Guides
Sell a drop end-to-endUpload images, audio and videoLinks & Telegram deep linksPost to the For You feedEarnings & balanceBroadcast one drop to many fansCreator sign-up from your platformBuild your own CRM dashboard
Webhooks
Webhooks & polling
Build with AI
Build with AIAgent prompt
API v1 (OAuth apps)
OAuth appsAPI v1 overviewAPI v1 resource listAPI v1 webhooks
API reference
API reference overview
▶Account
GETGet the account for this API keyGETGet the profile for a creatorNewPATCHUpdate the profile for a creatorNewGETGet the timezone for a creatorPUTUpdate the timezone for a creatorGETGet the subscription tier for a creatorNewPUTUpdate the subscription tier for a creatorNewGETGet the payout balance for a creator
▶Agencies
GETGet creators and personas for your agencyNewPOSTCreate an AI persona for your agencyNewPATCHUpdate an AI persona for your agencyNewDELDelete an AI persona for your agency (retire)NewPOSTReactivate an AI persona for your agencyNewPOSTCreate a creator invite for your agencyNewGETGet invites for your agency (cursor-paginated)NewDELDelete an invite for your agency (revoke)NewDELRemove a creator from your agencyNewGETGet revenue stats for your agencyNewGETGet daily earnings per creator for your agency (cursor-paginated)New
▶Creators you act for
GETGet creators you can act for (cursor-paginated)NewGETGet a creator you can act forNew
▶Vault
GETGet vault items for a creator (page-paginated)POSTUpload a vault item for a creatorDELDelete a vault item for a creatorPATCHUpdate a vault item’s folder for a creatorPATCHUpdate a vault item’s tags for a creatorGETGet vault folders for a creatorPOSTCreate a vault folder for a creatorDELDelete a vault folder for a creatorPOSTStart a video upload for a creator (step 1 of 3)POSTComplete a video upload for a creator (step 3 of 3)POSTCheck video status for a creator (batch)POSTCreate a media upload for a creatorNewPUTUpload a media upload part for a creatorNewPOSTComplete a media upload for a creatorNewGETGet a media upload for a creatorNew
▶Drops
POSTCreate a drop for a creatorGETGet drops for a creator (cursor-paginated)NewGETGet a drop for a creatorNewPATCHUpdate a drop for a creatorNewDELDelete (archive) a drop for a creatorNewPOSTAttach blur previews to a drop for a creatorPOSTCheck drop sales for a creator (batch)GETGet paid orders for a creator (cursor-paginated)New
▶Posts
POSTCreate a post for a creatorGETGet posts for a creator (page-paginated)GETGet a post for a creatorDELDelete a post for a creator
▶Earnings
GETGet the earnings overview for a creatorGETGet the earnings summary for a creatorNewGETGet transactions for a creator (cursor-paginated)NewGETGet paid tips for a creator (cursor-paginated)New
▶Links
GETGet links for a creatorNewPOSTCreate a link for a creatorNew
▶Telegram (advanced)
GETGet Telegram notification settings for a creatorPUTUpdate Telegram notification settings for a creatorPOSTRegister a Telegram notification chat for a creator
▶CRM integrations
POSTCreate a creator account for your appNewGETGet accounts for your app (cursor-paginated)NewGETGet an account for your appNewPOSTCreate an ID-check link for an accountNewGETGet the webhook endpoint for your appNewPUTUpdate the webhook endpoint for your appNewDELDelete the webhook endpoint for your appNewPOSTRotate the webhook signing secret for your appNewPOSTSend a test webhook event for your appNewGETGet details for your appNewGETGet dashboard stats for your appNewGETGet sales for your app (cursor-paginated)NewGETGet connected accounts for your appNew
▶Payouts
GETGet the payout summary for a creatorNewGETGet payouts for a creator (cursor-paginated)NewGETGet a payout for a creatorNewGETGet payout methods for a creatorNewPOSTCreate a Paxum payout method for a creatorNewPATCHUpdate a payout method for a creatorNewDELDelete a payout method for a creatorNewGETGet the MassPay profile for a creatorNewPOSTCreate the MassPay profile for a creatorNewGETGet MassPay wallet activation for a creatorNewPOSTCreate a payout request for a creatorNewPOSTCancel a payout request for a creatorNew
Resources
ChangelogAPI terms & acceptable use
Developers/API reference/Get the earnings overview for a creator
API reference

Get the earnings overview for a creator

The same revenue the creator sees on their own dashboard: drop sales + tips + subscription payments, refunds and chargebacks excluded, bucketed by day in the caller's timezone.

View as MarkdownUpdated Aug 19, 2026
← Previous
Delete a post for a creator
Next →
Get the earnings summary for a creator

Questions? [email protected]

On this page
  • Authentication
  • Query parameters
  • Responses
  • Errors
  • Rate limiting
  • Code samples
  • Notes

Let your fans show their appreciation.

Become a creatorSign up as a fan

Company

  • Blog
  • About
  • Help & FAQ
  • Availability
  • For Creators
  • Developers

Policy

  • Terms
  • Privacy
  • Refunds
  • DMCA
  • Complaints
  • USC 2257
  • AI Content
  • Cookies

Socials

Dropfans

© 2026 Dropfans. All rights reserved.

Dropfans is operated by KVIQVIEW AB, Reg. No. 559552-3852, Gamla Låssbyvägen 27, Gothenburg, Sweden.

GET/api/external/v1/earningsalso served at /api/external/earnings

The same revenue the creator sees on their own dashboard: drop sales + tips + subscription payments, refunds and chargebacks excluded, bucketed by day in the caller's timezone.

Everything here is in cents (the balance endpoint is dollars). stats.totalEarningsCents is NET (after the platform fee); grossEarningsCents and the chart series are seller GROSS (the listed price, before the fee) so per-day merges against your own gross ledgers compare like for like. Pass tz = the creator's timezone (read it from GET /api/external/v1/timezone) or your day buckets won't match their dashboard.

transactions is a fixed cap, not a page

Authentication

Send the creator's API key as a bearer token: Authorization: Bearer dpfn_…. See Authentication & API keys.

For a creator you manage or onboarded

GET /api/external/v1/creators/{creatorId}/earnings — an agency's own key for a creator or AI persona it manages (needs canViewStats), or your app owner's own key for an account your app onboarded. The X-Dropfans-Account header still works but is deprecated. See Acting for a creator.

Query parameters

NameTypeRequiredDescription
startDatestringRequiredWindow start, YYYY-MM-DD, interpreted in tz.
Format: date
endDatestringRequiredWindow end (inclusive), YYYY-MM-DD, interpreted in tz.
Format: date
tzstringOptionalIANA timezone for day bucketing. **Invalid values silently fall back to UTC** — no error.
Default: "UTC"
Format: iana-timezone

Responses

200Stats, chart and the newest transactions. All money in cents.
NameTypeDescription
statsEarningsStatsWindow totals. Cents throughout (the balance endpoint is dollars).
Show child attributes
totalEarningsCentsinteger**NET** seller earnings in cents for the window (after platform fee).
grossEarningsCentsintegerSeller gross in cents (the listed price, before the platform fee) — matches the dashboard’s Gross toggle.
previousPeriodEarningsCentsintegerNET cents for the same-length window immediately before startDate.
previousPeriodGrossEarningsCentsintegerGross cents for the previous window.
transactionCountintegerPaid transactions in the window (drops + tips + subscription payments).
avgTransactionCentsintegerAverage NET cents per transaction.
uniqueCustomersintegerDistinct buyer emails in the window.
typeTotalsobjectPer-type window totals (additive field, 2026-07-22).
Show child attributes
dropobjectTotals for drop revenue.
Show child attributes
grossCentsintegerGross cents.
netCentsintegerNet cents.
countintegerTransaction count.
tipobjectTotals for tip revenue.
Show child attributes
grossCentsintegerGross cents.
netCentsintegerNet cents.
countintegerTransaction count.
subscriptionobjectTotals for subscription revenue.
Show child attributes
grossCentsintegerGross cents.
netCentsintegerNet cents.
countintegerTransaction count.
chartEarningsChartBucketed GROSS series in the caller’s timezone.
Show child attributes
labelsstring[]Chart x-axis labels, aligned with values and dates.
valuesinteger[]**GROSS** cents per bucket (gross so per-day merges against your own gross ledgers compare like for like).
datesstring[]Bucket keys in the caller’s tz. Weekly buckets use the week-start date, monthly the 1st.
groupBystringBucket size: day when the span is ≤31 days, week ≤90, else month.
One of: day, week, month
typedValuesobjectPer-type GROSS cent series aligned 1:1 with dates (additive field, 2026-07-22).
Show child attributes
dropinteger[]Gross cents per bucket from drops.
tipinteger[]Gross cents per bucket from tips.
subscriptioninteger[]Gross cents per bucket from subscriptions.
transactionsEarningsTransaction[]The newest 50 transactions across all three sources — a fixed cap, not a page. For the complete ledger use GET /api/external/v1/earnings/transactions.
Show child attributes
idstringThe order / tip / renewal id (source-specific — matches nothing on the buyer’s side).
productIdstringThe sold product’s id — **drop transactions only**; absent on tips and subscriptions. Join it back to your own drop records.
productNamestringProduct name, or the literal "Tip" / "Subscription".
amountCentsintegerNET seller earnings in cents.
grossAmountCentsintegerGross cents (the listed price, before the platform fee).
buyerEmailstring | nullBuyer email when known.
Format: email
buyerNamestring | nullBuyer display name — tips and subscriptions only; always null on drops.
paidAtstringWhen it was paid.
Format: date-time
typestringRevenue source.
One of: drop, tip, subscription
Example response
{
  "stats": {
    "totalEarningsCents": 182050,
    "grossEarningsCents": 214180,
    "previousPeriodEarningsCents": 141200,
    "previousPeriodGrossEarningsCents": 166100,
    "transactionCount": 41,
    "avgTransactionCents": 4440,
    "uniqueCustomers": 28,
    "typeTotals": {
      "drop": {
        "grossCents": 150000,
        "netCents": 127500,
        "count": 30
      },
      "tip": {
        "grossCents": 44180,
        "netCents": 37550,
        "count": 8
      },
      "subscription": {
        "grossCents": 20000,
        "netCents": 17000,
        "count": 3
      }
    }
  },
  "chart": {
    "labels": [
      "Aug 18",
      "Aug 19"
    ],
    "values": [
      12500,
      9800
    ],
    "dates": [
      "2026-08-18",
      "2026-08-19"
    ],
    "groupBy": "day",
    "typedValues": {
      "drop": [
        10000,
        7500
      ],
      "tip": [
        2500,
        2300
      ],
      "subscription": [
        0,
        0
      ]
    }
  },
  "transactions": [
    {
      "id": "clx0rd3r000001sale",
      "productId": "clxdr0p000001prod",
      "productName": "Beach set — 6 photos",
      "amountCents": 2000,
      "grossAmountCents": 2500,
      "buyerEmail": "[email protected]",
      "buyerName": null,
      "paidAt": "2026-08-18T21:03:00.000Z",
      "type": "drop"
    }
  ]
}

Errors

StatusBodyWhen
400{"error":"startDate and endDate query params are required (YYYY-MM-DD)"}Either date param is missing.
401{"error":"Unauthorized","code":"unauthorized"}Missing or invalid API key.
500{"error":"Failed to fetch earnings"}Query failed — retry later.
400{"error":"X-Dropfans-Account must be an account id (from GET /api/external/agency/creators), not a username.","code":"invalid_account_header"}`X-Dropfans-Account` is not an account id.
400{"error":"X-Dropfans-Account names a different account than the path — send one or the other.","code":"account_mismatch"}Called under /v1/creators/{creatorId}/ with an `X-Dropfans-Account` naming another account.
403{"error":"This key cannot act for that account.","code":"account_not_managed"}The creator in the path (or `X-Dropfans-Account`) is one this key cannot act for: no ACCEPTED management by your agency and not an account your app onboarded (or it no longer holds a key bound to your app), a key minted for one creator, or someone is suspended, banned or deleted. An unknown id gets the same answer.
403{"error":"The agency does not have permission for this on that account.","code":"permission_denied","permission":"canViewStats"}For a managed creator: the agency lacks `canViewStats` on that account.
403{"error":"This app does not have the earnings API category enabled. Contact support to enable it.","code":"api_category_disabled","category":"earnings"}Your app has the Earnings & balance [API category](/developers/concepts/api-categories) switched off.

Rate limiting

Every response carries the X-RateLimit-Tier header and, on limited tiers, the per-minute and per-day trios — read X-RateLimit-Remaining and X-RateLimit-Reset instead of hardcoding limits. Details in Rate limits.

Code samples

curl "https://www.dropfans.io/api/external/v1/earnings?startDate=2026-08-01&endDate=2026-08-19&tz=Europe%2FStockholm" \
  -H "Authorization: Bearer $DROPFANS_API_KEY"
const res = await fetch(`https://www.dropfans.io/api/external/v1/earnings?startDate=2026-08-01&endDate=2026-08-19&tz=Europe%2FStockholm`, {
  headers: {
    Authorization: `Bearer ${process.env.DROPFANS_API_KEY}`,
  },
});
console.log(await res.json());
import os
import requests

res = requests.get(
    "https://www.dropfans.io/api/external/v1/earnings",
    headers={"Authorization": f"Bearer {os.environ['DROPFANS_API_KEY']}"},
    params={"startDate": "2026-08-01", "endDate": "2026-08-19", "tz": "Europe/Stockholm"},
)
print(res.json())

Notes

Chart bucketing: day for spans ≤31 days, week ≤90, month beyond. transactions[].productId only exists on type "drop" — use it to join a sale back to the drop your app created. Because refunds are excluded here but NOT in check-status, the two can legitimately disagree.

transactions is always the newest 50 across all three sources. For the complete, paginated ledger with net, gross and fee per transaction, use GET /api/external/v1/earnings/transactions.