Author Topic: Orders API doesn't return orders IN_LISTING  (Read 451 times)

mark78

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • Email
Orders API doesn't return orders IN_LISTING
« on: September 28, 2018, 04:18:25 AM »
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  ::)





martinp2p

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Orders API doesn't return orders IN_LISTING
« Reply #1 on: October 11, 2018, 11:54:51 AM »
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.

mark78

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • Email
Re: Orders API doesn't return orders IN_LISTING
« Reply #2 on: October 11, 2018, 04:54:01 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?
« Last Edit: October 11, 2018, 05:11:33 PM by mark78 »

martinp2p

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Orders API doesn't return orders IN_LISTING
« Reply #3 on: October 11, 2018, 05:18:53 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.