Author Topic: Lending Club API response format  (Read 1940 times)


  • Newbie
  • *
  • Posts: 1
    • View Profile
Lending Club API response format
« on: November 06, 2015, 11:07:26 PM »

I am retrieving the current listing of loans available, using the API. The API doc says that it is possible to specify the format of the response. I am able to get a JSON format, but ideally would like a CSV (could make the transformation myself, but if the API can give me exactly what I am looking for why not take advantage of it ?). How can I do that ? Thanks a lot !


  • Hero Member
  • *****
  • Posts: 1123
    • View Profile
    • PeerCube
Re: Lending Club API response format
« Reply #1 on: November 06, 2015, 11:45:20 PM »

Supported Formats: JSON, XML, CSV

HTTP Accept Header      Content Type Resolution
   application/json      JSON
   application/xml         XML
   text/plain         CSV
   No Accept Header      JSON (Default)

If you want to near-future proof your program, stay with JSON format. More and more APIs are moving toward JSON and discontinuing CSV and XML.
« Last Edit: November 06, 2015, 11:47:38 PM by AnilG »
Anil Gupta
PeerCube Thoughts blog