# TD Ameritrade API

**URL:** <https://community.n8n.io/t/td-ameritrade-api/23550>\
**Category:** Questions\
**Tags:** external-api\
**Created:** [28. Februar 2023 um 02:49 UTC](https://community.n8n.io/t/td-ameritrade-api/23550 "2023-02-28T02:49:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![0ne](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/0ne/32/9485_2.png) [@0ne](https://community.n8n.io/u/0ne)\
**Post date:** [28. Februar 2023 um 02:49 UTC](https://community.n8n.io/t/td-ameritrade-api/23550/1 "2023-02-28T02:49:25Z")

</div>

Has anyone connected TD ameritrade developer api in n8n. im trying to create a work flow with some of my nodes but the TD ameritrade api is a little complicated dont know if its possilbe in N8N

---

<div class="post-metadata">

**Author:** ![maxT](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/maxt/32/31233_2.png) [@maxT](https://community.n8n.io/u/maxT)\
**Post date:** [28. Februar 2023 um 10:21 UTC](https://community.n8n.io/t/td-ameritrade-api/23550/3 "2023-02-28T10:21:55Z")

</div>

I have not myself - did you try setting up an OAuth credential in the HTTP Request node? Took a quick look at [their docs](https://developer.tdameritrade.com/authentication/apis/post/token-0) and should be possible. I say _should_ as tbh, some of these more enterprisey “old business” APIs tend to have more deviations from official specs like OAuth (just from my own experience).

If you get stuck trying to setup the OAuth cred, try to share some screenshots of specific errors you’re getting (and your form fields in n8n - with sensitive creds blurred out).

---

<div class="post-metadata">

**Author:** ![0ne](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/0ne/32/9485_2.png) [@0ne](https://community.n8n.io/u/0ne)\
**Post date:** [1. März 2023 um 02:22 UTC](https://community.n8n.io/t/td-ameritrade-api/23550/4 "2023-03-01T02:22:25Z")

</div>

ok thank you, let me try to get those screen shoots

---

<div class="post-metadata">

**Author:** ![beary843](https://avatars.discourse-cdn.com/v4/letter/b/77aa72/32.png) [@beary843](https://community.n8n.io/u/beary843)\
**Post date:** [23. März 2023 um 02:44 UTC](https://community.n8n.io/t/td-ameritrade-api/23550/5 "2023-03-23T02:44:18Z")

</div>

After a ton of trial and error, I was able to get this working on my end. This [documentation](https://developer.tdameritrade.com/content/simple-auth-local-apps) was by far the most helpful.

FYI - This may be changing soon due to the acquisition by Schwab. Based on [this update](https://developer.tdameritrade.com/content/trader-api-schwab-integration-guide), it sounds like it’ll still have similar functionality though.

---

<div class="post-metadata">

**Author:** ![0ne](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/0ne/32/9485_2.png) [@0ne](https://community.n8n.io/u/0ne)\
**Post date:** [23. März 2023 um 03:56 UTC](https://community.n8n.io/t/td-ameritrade-api/23550/6 "2023-03-23T03:56:28Z")

</div>

Awesome, would you mind sharing your steps in n8n and credential page with your personal info obscured.

---

<div class="post-metadata">

**Author:** ![0ne](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/0ne/32/9485_2.png) [@0ne](https://community.n8n.io/u/0ne)\
**Post date:** [3. April 2023 um 02:35 UTC](https://community.n8n.io/t/td-ameritrade-api/23550/7 "2023-04-03T02:35:31Z")

</div>

I got it working with loopback address instead of my callback address. think it could be my reverse proxy settings that is causing the issue. thanks all for the help

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [10. April 2023 um 02:36 UTC](https://community.n8n.io/t/td-ameritrade-api/23550/8 "2023-04-10T02:36:17Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
