Skip to main content
The OnlyTraffic Marketer API lets you retrieve data about your campaigns, orders, transactions, and subscribers. Use it to build integrations, dashboards, and automated workflows.

Base URL

https://partner.onlytraffic.com

Authentication

All requests require the Authorization header with your API key. Get your key in the Partner Dashboard.
curl "https://partner.onlytraffic.com/api/marketer/revshare/campaigns" \
  -H "Authorization: your-api-key-here"
See the Authentication page for error codes and detailed setup.

Endpoints

EndpointMethodDescription
/api/marketer/revshare/campaignsGETList your RevShare campaigns
/api/marketer/revshare/transactionsGETRevShare financial transactions
/api/marketer/cpl/ordersGETCPL orders placed against your offers
/api/marketer/cpc/ordersGETCPC (pay-per-click) orders
/api/marketer/subscribersGETFans acquired through all campaigns (RevShare + CPL)

Pagination

All list endpoints accept offset and limit as query parameters.
ParameterDefaultMaxDescription
offset0-Number of records to skip
limit501000Number of records to return

Date formats

Every timestamp field has two variants:
  • ISO 8601 string (*_at) e.g. "2024-06-01T12:00:00+00:00"
  • Unix timestamp integer (*_at_ts / *_ts) e.g. 1717243200

Response format

All responses return HTTP 200. The actual status is in the status field.
{
  "status": "success",
  "data": [ ... ]
}

Error codes

CodeMeaning
422Invalid request parameters
404Resource not found
429Rate limit exceeded