Our API is comprised of REST calls utilizing POST methods. All POST methods require XML in the either the body or as a url encoded parameter. Data is returned as either XML or JSON. A callback method can also be specified; this will return the data within the callback method specified.

All API calls make use of a unique authentication key, which can be requested here. Once given a key, it is very important that you keep this key a secret. If the key has been compromised in any way, or if we feel that the key is being abused, it will be disabled. Once a key has been disabled, making calls to the API will not be possible and any applications making use of that key will no longer work as expected.

Additionally, all API methods will be located at the following base url:

http://api.citysourced.com/cs/rest/   (Production)
http://api-stage.citysourced.com/cs/rest/   (Development)

A list of current API methods (and their documentation) can be found here:

http://support.citysourced.com/KB/c7/api-methods.aspx

A list of code examples can be found here:

http://support.citysourced.com/KB/c8/example-code.aspx

Thanks for your interest, and be sure to email our support team with any questions or feature requests!

Article ID: 2, Created On: 4/18/2011, Modified: 12/5/2011