Skip to main content
GET
Get affiliate traffic and sales by period

Authorizations

Authorization
string
header
required

API key beginning with fp_live_ (live keys, served at developers.myfundedperpetuals.com) or fp_test_ (test keys, served at sandbox.myfundedperpetuals.com). A key presented on the other host is rejected with 401 and a message naming the correct host. Affiliate API keys are fp_live_ keys created on the Affiliates page: they read only the /v1/affiliate endpoints and get 403 with code insufficient_scope on every other authenticated endpoint. Every other key gets the same 403 on /v1/affiliate.

Query Parameters

start
integer

Unix timestamp in milliseconds. Defaults to 29 days before end.

Required range: x >= 0
end
integer

Unix timestamp in milliseconds. Defaults to now.

Required range: x >= 0
grouping
enum<string>
default:day
Available options:
day,
week,
month
campaign_id
string

Limit figures to one campaign from GET /v1/affiliate/campaigns.

Maximum string length: 64

Response

Figures per bucket.

data
object
required