Get revenue breakdown
Where your revenue comes from and how it develops: daily revenue for the last two years, revenue per plan and per country over time, and revenue per country and per region for a date range compared with the same length of time before it.
Pass startDate and endDate to choose the range; without them it is the last 365 days. Pass type to count only accounts of that type and payouts from them; every figure below then covers that type.
Shape
| Field | Description |
|---|---|
daily | One entry per day for the last 730 days (UTC): revenue, accounts sold and amount paid out |
plans | months lists the last 12 months (YYYY-MM, oldest first); each series entry has a plan’s revenue and accounts sold per month, highest revenue first |
countryMonths | Revenue and accounts sold per country for each of the 12 months in plans.months, highest revenue first |
countries | Revenue, accounts sold and previous-period revenue per country (ISO 3166-1 alpha-2) in the range; country is null when the trader has not set one |
regions | The same per US state (CA, TX) and Canadian province (CA-ON), with its name |
unmappedRegionRevenue | Revenue in the United States and Canada whose region could not be recognised |
range | The range used, its bucket unit (hour up to 2 days, day up to 62 days, week up to 183 days, month beyond) and the bucket labels (UTC) |
countrySeries / planSeries | Revenue and accounts sold per bucket for the top 12 countries and plans in the range |
Revenue is the amount paid for each account, or the plan’s list price when no price was recorded. Funded accounts add only a recorded price, so passing an evaluation is not counted as a second sale; they still count as accounts sold. Location is the trader’s profile country and region. Results are recomputed at most every 15 minutes, so they can be up to 30 minutes old.
Filters
| Parameter | Type | Example | Description |
|---|---|---|---|
startDate | ISO 8601 | 2026-09-11T00:00:00Z | Start of the range (exclusive). Defaults to 365 days before endDate |
endDate | ISO 8601 | 2026-10-11T00:00:00Z | End of the range (inclusive). Defaults to now |
type | string | evaluation | Only accounts of this type (evaluation, sim_funded, competition) and payouts from them |
A range that ends now (its end is less than an hour ago, or later) is read in full hours: the start moves back to the full hour and the end covers everything up to now. A range that ended earlier is read exactly as sent.
Error codes
| HTTP | Code | When |
|---|---|---|
| 400 | VALIDATION_ERROR | A date is not ISO 8601, endDate is not after startDate, the range is longer than 3 years, or type is not an account type |
| 401 | UNAUTHORIZED | Missing or invalid API key |
| 403 | FORBIDDEN | Credentials do not belong to any organization |
| 500 | REVENUE_BREAKDOWN_ERROR | Internal error |
Example
curl -X GET "https://api.hyperprop.com/platform/v1/organization/analytics/revenue" \
-H "X-API-Key: hp_live_your_key_here"
Authentication: send your organization API key in the X-API-Key header.
Access: read-only and full-access API keys. Dashboard members need view access to Analytics & audit log.
curl --request GET \
--url https://api.hyperprop.com/platform/v1/organization/analytics/revenue \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.hyperprop.com/platform/v1/organization/analytics/revenue"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.hyperprop.com/platform/v1/organization/analytics/revenue', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hyperprop.com/platform/v1/organization/analytics/revenue",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hyperprop.com/platform/v1/organization/analytics/revenue"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hyperprop.com/platform/v1/organization/analytics/revenue")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/platform/v1/organization/analytics/revenue")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"organizationId": "55555555-5555-4555-8555-555555555555",
"organizationName": "Acme Trading",
"generatedAt": "2026-10-11T10:30:00.000Z",
"daily": [
{
"date": "2026-10-10",
"revenue": 12840,
"accountsSold": 96,
"paidOut": 4100
}
],
"plans": {
"months": [
"2025-11",
"2025-12"
],
"series": [
{
"planId": "6f1c2b4e-0b0a-4c55-9d1e-2f7b3c9a1d10",
"name": "50K Evaluation",
"revenue": [
18200,
20450
],
"accountsSold": [
182,
205
]
}
]
},
"countries": [
{
"country": "US",
"revenue": 3483948,
"accountsSold": 21757,
"previousRevenue": 2210400
}
],
"countryMonths": [
{
"country": "US",
"revenue": [
268400,
301250
],
"accountsSold": [
1680,
1902
]
}
],
"regions": [
{
"country": "US",
"id": "TX",
"name": "Texas",
"revenue": 301500,
"accountsSold": 1877,
"previousRevenue": 198000
}
],
"unmappedRegionRevenue": {
"US": 1240,
"CA": 0
},
"range": {
"from": "2026-09-11T00:00:00.000Z",
"to": "2026-10-11T00:00:00.000Z",
"unit": "day",
"buckets": [
"2026-09-11",
"2026-09-12"
]
},
"countrySeries": [
{
"country": "US",
"revenue": [
10240,
11800
],
"accountsSold": [
64,
73
]
}
],
"planSeries": [
{
"planId": "6f1c2b4e-0b0a-4c55-9d1e-2f7b3c9a1d10",
"name": "50K Evaluation",
"revenue": [
5200,
6100
],
"accountsSold": [
52,
61
]
}
]
}
}{
"success": false,
"statusCode": 400,
"error": "Bad Request",
"message": "\"limit\" must be less than or equal to 100",
"code": "VALIDATION_ERROR"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "Invalid or expired token",
"code": "UNAUTHORIZED"
}{
"statusCode": 403,
"error": "Forbidden",
"message": "You do not belong to any organization",
"code": "FORBIDDEN"
}{
"success": false,
"statusCode": 429,
"error": "Too Many Requests",
"message": "Too many requests to this endpoint. Try again in 12 second(s).",
"code": "RATE_LIMITED"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "An error occurred fetching the revenue breakdown",
"code": "REVENUE_BREAKDOWN_ERROR"
}{
"success": false,
"statusCode": 503,
"error": "Service Unavailable",
"message": "The report took too long right now; try again later",
"code": "REPORT_TIMEOUT"
}{
"statusCode": 504,
"error": "Gateway Timeout",
"message": "The request did not complete within 25 seconds. Try again, or narrow it (for example a shorter date range).",
"code": "REQUEST_TIMEOUT"
}Authorizations
Organization API key (hp_live_...), sent in the X-API-Key header. Create, rotate and restrict keys in the dashboard or with the API keys endpoints; an organization can have two active keys, so you can rotate without downtime. A full-access key can call every endpoint in this reference. A read-only key can call GET endpoints (and create a trading stream token); any other request returns 403 READ_ONLY_KEY. A key with an IP allowlist returns 403 IP_NOT_ALLOWED from any other address. Each endpoint lists which keys can call it under Access.
Headers
Query Parameters
curl --request GET \
--url https://api.hyperprop.com/platform/v1/organization/analytics/revenue \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.hyperprop.com/platform/v1/organization/analytics/revenue"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.hyperprop.com/platform/v1/organization/analytics/revenue', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hyperprop.com/platform/v1/organization/analytics/revenue",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hyperprop.com/platform/v1/organization/analytics/revenue"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hyperprop.com/platform/v1/organization/analytics/revenue")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperprop.com/platform/v1/organization/analytics/revenue")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"organizationId": "55555555-5555-4555-8555-555555555555",
"organizationName": "Acme Trading",
"generatedAt": "2026-10-11T10:30:00.000Z",
"daily": [
{
"date": "2026-10-10",
"revenue": 12840,
"accountsSold": 96,
"paidOut": 4100
}
],
"plans": {
"months": [
"2025-11",
"2025-12"
],
"series": [
{
"planId": "6f1c2b4e-0b0a-4c55-9d1e-2f7b3c9a1d10",
"name": "50K Evaluation",
"revenue": [
18200,
20450
],
"accountsSold": [
182,
205
]
}
]
},
"countries": [
{
"country": "US",
"revenue": 3483948,
"accountsSold": 21757,
"previousRevenue": 2210400
}
],
"countryMonths": [
{
"country": "US",
"revenue": [
268400,
301250
],
"accountsSold": [
1680,
1902
]
}
],
"regions": [
{
"country": "US",
"id": "TX",
"name": "Texas",
"revenue": 301500,
"accountsSold": 1877,
"previousRevenue": 198000
}
],
"unmappedRegionRevenue": {
"US": 1240,
"CA": 0
},
"range": {
"from": "2026-09-11T00:00:00.000Z",
"to": "2026-10-11T00:00:00.000Z",
"unit": "day",
"buckets": [
"2026-09-11",
"2026-09-12"
]
},
"countrySeries": [
{
"country": "US",
"revenue": [
10240,
11800
],
"accountsSold": [
64,
73
]
}
],
"planSeries": [
{
"planId": "6f1c2b4e-0b0a-4c55-9d1e-2f7b3c9a1d10",
"name": "50K Evaluation",
"revenue": [
5200,
6100
],
"accountsSold": [
52,
61
]
}
]
}
}{
"success": false,
"statusCode": 400,
"error": "Bad Request",
"message": "\"limit\" must be less than or equal to 100",
"code": "VALIDATION_ERROR"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "Invalid or expired token",
"code": "UNAUTHORIZED"
}{
"statusCode": 403,
"error": "Forbidden",
"message": "You do not belong to any organization",
"code": "FORBIDDEN"
}{
"success": false,
"statusCode": 429,
"error": "Too Many Requests",
"message": "Too many requests to this endpoint. Try again in 12 second(s).",
"code": "RATE_LIMITED"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "An error occurred fetching the revenue breakdown",
"code": "REVENUE_BREAKDOWN_ERROR"
}{
"success": false,
"statusCode": 503,
"error": "Service Unavailable",
"message": "The report took too long right now; try again later",
"code": "REPORT_TIMEOUT"
}{
"statusCode": 504,
"error": "Gateway Timeout",
"message": "The request did not complete within 25 seconds. Try again, or narrow it (for example a shorter date range).",
"code": "REQUEST_TIMEOUT"
}