API reference
Read the creator’s timezone
Returns the creator's IANA timezone, defaulting to `"UTC"` when they never set one.
View as MarkdownUpdated Aug 19, 2026
GET
/api/external/timezoneReturns the creator's IANA timezone, defaulting to "UTC" when they never set one.
Use it as the tz parameter on GET /api/external/earnings so your day buckets line up with what the creator sees on their own dashboard.
Authentication
Send the creator's API key as a bearer token: Authorization: Bearer dpfn_…. See Authentication & API keys.
Responses
200The creator’s timezone.
| Name | Type | Description |
|---|---|---|
timezone | string | IANA timezone name (e.g. "Europe/Stockholm"). Defaults to "UTC" when the creator never set one. Format: iana-timezone |
Example response
{
"timezone": "Europe/Stockholm"
}Errors
| Status | Body | When |
|---|---|---|
| 401 | {"error":"Unauthorized","code":"unauthorized"} | Missing or invalid API key. |
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/timezone" \
-H "Authorization: Bearer $DROPFANS_API_KEY"const res = await fetch(`https://www.dropfans.io/api/external/timezone`, {
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/timezone",
headers={"Authorization": f"Bearer {os.environ['DROPFANS_API_KEY']}"},
)
print(res.json())Questions? [email protected]
