General Information

Here is some general information about the Staction API.

  • You need to use HTTP or HTTPS accordingly based on the settings of logged account (read more here).
  • Every API call needs to be authenticated, and every developer needs a unique Developer Key (more about this).
  • All dates on the API respect the RFC 2822 standard (looks like this: Thu, 21 Dec 2000 16:01:07 +0000).
  • All dates are GMT.
  • Currently the API only supports the JSON output format.

HTTP Status Codes

The API will return only two different HTTP status codes for each request:

  • 200 OK: the request was processed successfully. The body of the response will vary according to the actual request.
  • 400 Bad Request: there was some error in the request you tried to process. This could be due to different reasons (such as not providing required parameters). The API will always return this in the format that was requested (JSON, XML, etc.), unless you provide an invalid format on your request.