Try pre-set campaigns and get your first conversions within 15 minutes.
Mailocator / API 2025-02-17 17:59:50

Billing

billing

Interface to get a summary of campaigns billed in a defined period

To use this interface, you just need the API key of any project you own that identifies you as the owner. The interface works with all projects you own (however, each project may have its own API key).

get

Returns an overview and status of your projects

/2.0/billing/get/[date-from]/[date-to]/[format]

  • The fdate-from defines the start date in the form YYYMMDD
  • fdate-to defines the end date in the form YYYMMDD
  • format defines the format of the returned data, options: JSON, XML or CSV

Return Values:

idproject ID
urlproject URL
titleproject name
total_creditsTotal credits cleared in the defined period

Response status:

HTTPStatus
200Billing report successfully returned
204Billing report does not contain data or the time interval is invalid
400Invalid or incomplete request