Supported Formats

json, csv

Examples

wget "trackdrive.net/api/v1/offers?page=1&order=created_at"

Params

Param name
Description
auth_token
optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String

page
optional

Return the next page of results.

  • Must be a number.

created_at_to
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String

created_at_from
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String

order
optional

Sort results by this field.

  • Must be one of: name, paused, user_offer_id, numbers_count, created_at.

order_dir
optional

Sort results in ascending or descending order.

  • Must be one of: asc, desc.

fulltext
optional

Search for any record that matches this text

  • Must be String


GET /api/v1/offer/website_stats
Get statistics on API requests made by your websites that are using trackdrive-php.

Supported Formats

json

Examples

wget "trackdrive.net/api/v1/offers/website_stats/?offer_id=123&created_at_from=2017-02-23 15:57:16 UTC&created_at_to=2017-02-24 15:57:16 +0000"

Params

Param name
Description
auth_token
optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String

offer_id
required

Refer to the offer api for details

  • Must be a number.

created_at_to
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String

created_at_from
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String