--
---
You received this message because you are subscribed to the Google Groups "Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ledger-cli+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/CACjABk%3DYC29kxrLsM4n3qm%3DP-oZ0RSZxBEsrWLN4tEvGycpQkg%40mail.gmail.com.
The data comes in HTML but this looks like a pretty clean and self-explanatory interface for Vanguard US:
On Sat, 9 Oct 2021 at 17:55, Aaron Stacy <aaron....@gmail.com> wrote:And of course feel free to share if anyone has ideas for getting stuff like this from a proper API 🙂On Sat, Oct 9, 2021 at 10:54 AM Aaron Stacy <aaron....@gmail.com> wrote:...and I can answer my own question, but I'll post it here in case it saves anyone else some time:The JSON API that now works came from inspecting this page, and searching through the XHRs for the NAV price listed. This came up (no headers seem to be needed):
https://eds.ecs.gisp.c1.vanguard.com/eds-eip-distributions-service/price/daily-nav-history/7743.json?start-date=2021-10-08&end-date=2021-10-09
Where "7743" is the FIID (fund ID? IDK), and while I don't remember where I originally got 7743, I think it was in the malformed OFX export XML from logging into my Vanguard portal.
The data comes in HTML but this looks like a pretty clean and self-explanatory interface for Vanguard US:
On Sat, 9 Oct 2021 at 17:55, Aaron Stacy <aaron....@gmail.com> wrote:And of course feel free to share if anyone has ideas for getting stuff like this from a proper API 🙂On Sat, Oct 9, 2021 at 10:54 AM Aaron Stacy <aaron....@gmail.com> wrote:...and I can answer my own question, but I'll post it here in case it saves anyone else some time:The JSON API that now works came from inspecting this page, and searching through the XHRs for the NAV price listed. This came up (no headers seem to be needed):
https://eds.ecs.gisp.c1.vanguard.com/eds-eip-distributions-service/price/daily-nav-history/7743.json?start-date=2021-10-08&end-date=2021-10-09
Where "7743" is the FIID (fund ID? IDK), and while I don't remember where I originally got 7743, I think it was in the malformed OFX export XML from logging into my Vanguard portal.