P2P Lending / NFT Lending Forum

Lending Club Discussion => Foliofn - LC => Topic started by: mark78 on September 27, 2018, 11:00:00 PM

Title:
Post by: mark78 on September 27, 2018, 11:00:00 PM
I'm trying to use the Orders endpoint in the new LC API to get my open "sell" orders, similar to the example in the API documentation:

/api/investor/v1/secondarymarket/accounts/70654/orders?orderType=SELL

I get back orders with the following statuses:

'CANCELED_TIME_EXPIRED', 'CANCELED_BY_DEFAULT_OR_CHARGE_OFF', 'CANCELED_BY_PAYMENT', 'SETTLED', 'CANCELED_BY_SELLER'

but I do not get any with status IN_LISTING. I do have notes currently for sale- I see them at https://www.lendingclub.com/foliofn/tradingAccount.action- so I expect them to be IN_LISTING. Has anyone used this API successfully to get open sell orders?

Pleease don't suggest I contact LC support  ::)




Title:
Post by: martinp2p on October 10, 2018, 11:00:00 PM
I have tested this API and observed the same behavior. It looks like a bug in LC's API service.

BTW, is the API documented publicly anywhere?

What I found was the https://api.lendingclub.com/api/investor/v1/ accounts/<investor id>/trades APIs documented here: https://www.lendingclub.com/foliofn/APIDocumentationBuy.action.
Title:
Post by: TravelingPennies on October 10, 2018, 11:00:00 PM
Your link is to the "old" API. The "new" API documentation is not online as far as I know, but you can request it from LC support. The name of the "new" API documentation is "Lending Club Secondary Market APIs Documentation".

How did you test this and see the same behavior, without the new documentation- just from my snippet?
Title:
Post by: TravelingPennies on October 10, 2018, 11:00:00 PM
Hi Mark,

I also got the doc on new API from LC support. I didn't know it existed, but they just threw me the doc to answer my question about the old API. [LOL]

The new APIs provide a lot more functionality, but seems still being baked. Probably that's why it's not public yet.