Clicky

  • Welcome to P2P Lending / NFT Lending Forum.
 

ETH.LOAN

News:

This was the original Lend Academy peer-to-peer lending forum, since forensically restored by deBanked and now reintroduced to eth.loan.

To restore access to your user account, email [email protected]. We apologize for errors you may experience during the recovery.

Main Menu
NEW LOANS:   | granbull.eth 0.299 Ξ | primeape.eth 1.500 Ξ | remoraid.eth 0.299 Ξ | ALL

Started by Peter, September 27, 2018, 11:00:00 PM

Previous topic - Next topic

mark78

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" class="bbc_link" target="_blank">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  https://forum.lendacademy.com/Smileys/default/rolleyes.gif" alt="::)" title="Roll Eyes" class="smiley" />





martinp2p

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/" class="bbc_link" target="_blank">https://api.lendingclub.com/api/investor/v1/ accounts/<investor id>/trades APIs documented here: https://www.lendingclub.com/foliofn/APIDocumentationBuy.action" class="bbc_link" target="_blank">https://www.lendingclub.com/foliofn/APIDocumentationBuy.action.

TravelingPennies

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?

TravelingPennies

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.

NEW LOANS:   | granbull.eth 0.299 Ξ | primeape.eth 1.500 Ξ | remoraid.eth 0.299 Ξ | ALL