Twongo API Usage

 

Getting Started

Making a Request

All documented parameters, unless otherwise specified, are required. Optional parameters are marked in the documentation by having an (optional) marker beside them.

Getting the Response

XML is the default response format for all requests. JSON is available by specifying .json on the end of the URL path.

XML response without .xml on the request URL path

GET http://api.twongo.com/v1/markets HTTP/1.1

XML response with .xml on the request URL path

GET http://api.twongo.com/v1/markets.xml HTTP/1.1

JSON response with .json on the request URL path

GET http://api.twongo.com/v1/markets.json HTTP/1.1

The Twongo API also respects the HTTP Accepts header.

The Twongo API responds with a standard error response format and a fixed set of HTTP codes.

Rate Limiting

All requests are throttled by IP address at 150 requests per hour.

If you exceed the threshold in a given hour, you will receive an HTTP error code 420, and be unable to make more requests until your throttle is lifted (after an hour).

If you need a higher rate limit, please send an email to support@twongo.com with your request.