Hello World Java API to interface with Ameritrade
Janky, I know. Just validating that the API works.
Follow this to get your auth Token: Yes you need to run a local webserver. https://www.reddit.com/r/algotrading/comments/914q22/successful_access_to_td_ameritrade_api/
There is also a javascript hello world (test.js)