All Resources share the following common format -
https://api.lendingclub.com/api/investor/<version>/<Resource>/<SubResource>
For GET operations, the result of the operations will be returned in specified format (JSON, CSV or XML). HTTP Response Codes will be used to communicate back the type of response. For the current version, the following response codes can be expected —
200 - Successful execution
400 -Execution failed with errors. Errors will be returned as JSON payload.
403 - Authentication failure
404 - Resource does not exist
500 - Unsuccessful execution
For error code 400, in addition to the HTTP Response Codes, the API will return a list of error objects. A couple of sample error responses can be -
JSON Formatting Considerations
Double quotes are the official JSON standard. We follow the same standard in our API. Please refer to http://www.json.org
Content Type
For usage guidelines on "Content-type" header, please refer to Content Type