A Node.js wrapper for the Robinhood API.
let rh = new Robinhood({
  username: 'myRobinhoodUsername',
  password: 'myRobinhoodPassword'
});
rh.accounts.get()
  .then(data => {
    console.log(data.body);
    console.log(data.headers);
    console.log(data.statusCode);
  });- username
- password
- authToken
- accountNumber
- apiRoot
Note: Either username and password or authToken is required.
Enviornment varialbes are an alternative to passing them in constructor.
- ROBINHOOD_USERNAME
- ROBINHOOD_PASSWORD
- ROBINHOOD_AUTH_TOKEN
- ROBINHOOD_ACCOUNT_NUMBER
- ROBINHOOD_API_ROOT
| Enviornment | URL | 
|---|---|
| Production | https://api.robinhood.com | 
| Development | http://brokeback.dev.robinhood.com | 
Note: All API methods return a Promise and also have an optional callback.
GET /accounts/
rh.accounts.getAll(callback);GET /accounts/:accountNumber/
rh.accounts.get(callback);GET /accounts/:accountNumber/day_trade_checks/
rh.accounts.checkDayTrade(instrument, callback);GET /accounts/:accountNumber/recent_day_trades/
rh.accounts.recentDayTrades(callback);GET /dividends/
rh.accounts.dividends(callback);GET /dividends/:id/
rh.accounts.dividend(id, callback);GET /portfolios/:accountNumber/
rh.accounts.portfolios(callback);GET /positions/
rh.accounts.positions(callback);GET /positions/:accountNumber/:instrumentId
rh.accounts.position(instrumentId, callback);GET /ach/relationships/
rh.ach.getRelationships(callback);GET /ach/relationships/:id/
rh.ach.getRelationship(id, callback);GET /ach/transfers/
rh.ach.getTransfers(callback);GET /ach/transfers/:id/
rh.ach.getTransfer(id, callback);GET /ach/deposit_schedules/
rh.ach.getDepositSchedules(callback);GET /ach/deposit_schedules/:id/
rh.ach.getDepositSchedule(id, callback);GET /ach/iav/queued_deposit/
rh.ach.getQueuedDeposit(callback);POST /ach/relationships/:relationshipId/micro_deposits/veryify/
rh.ach.verifyMicroDeposits(relationshipId, amountOne, amountTwo, callback);GET /ach/banks/:routingNumber/
rh.ach.getBank(routingNumber, callback);GET /applications/
rh.applications.getAll(callback);GET /applications/:type/
rh.applications.get(type, callback);POST /api-token-auth/
rh.auth.login(username, password, callback);POST /api-token-logout/
rh.auth.logout(callback);GET /upload/document_requests/
rh.documents.requests(callback);GET /documents/
rh.documents.getAll(callback);GET /documents/:id/
rh.documents.getInfo(id, callback);GET /documents/:id/download/
rh.documents.getUrl(id, callback);GET /instruments/
rh.instruments.forSymbol(symbol, callback);GET /instruments/:id/
rh.instruments.forId(id, callback);GET /margin/upgrades/
rh.margin.getUpgrades(callback);POST /margin/upgrades/
rh.margin.postUpgrades(callback);GET /settings/margin/:accountNumber/
rh.margin.getSettings(callback);GET /markets/
rh.markets.getAll(callback);GET /markets/:mic/
rh.markets.get(mic, callback);GET /markets/:mic/:date/
rh.markets.getHours(mic, date, callback);GET /midlands/permissions/instant/
rh.midlands.getInstantPermissions(callback);GET /midlands/movers/sp500/
rh.midlands.topMovers(callback);GET /midlands/news/:symbol/
rh.midlands.news(symbol, callback);GET /midlands/notifications/stack/
rh.midlands.getNotificationsStack(callback);POST /midlands/notifications/stack/:id/dismiss/
rh.midlands.dismissNotification(id, callback);GET /midlands/ach/banks/
rh.midlands.getAchBanks(callback);GET /notifications/
rh.notifications.get(callback);GET /settings/notifications/
rh.notifications.getSettings(callback);GET /notifications/devices/
rh.notifications.getDevices(callback);GET /orders/
rh.orders.getAll(callback);GET /orders/
rh.orders.get(id, callback);GET /orders/
rh.orders.forInstrument(instrumentId, callback);POST /orders/
rh.orders.place(opts, callback);POST /orders/
rh.orders.buy(opts, callback);POST /orders/
rh.orders.sell(opts, callback);POST /password_reset/request/
rh.password.requestReset(email, callback);POST /password_reset/
rh.password.reset(token, password, callback);rh.quotes.get(symbol, callback);GET /user/
rh.user.get(callback);GET /user/id/
rh.user.getId(callback);GET /user/basic_info/
rh.user.getBasicInfo(callback);GET /user/additional_info/
rh.user.getAdditionalInfo(callback);GET /user/employment/
rh.user.getEmployment(callback);GET /user/investment_profile/
rh.user.getInvestmentProfile(callback);GET /user/identity_mismatch/
rh.user.getIdentityMismatch(callback);GET /user/cip_questions/
rh.user.getCipQuestions(callback);GET /watchlists/
rh.watchlists.get(callback);GET /wire/relationships/
rh.wire.getRelationships(callback);GET /wire/transfers/
rh.wire.getTransfers(callback);MIT