Super Basic API?

Hello,

If something like this already exist, can someone point me in the right direction?

I would like to request a super basic read-only API so I can update balances in our internal systems without having to login and update all the time.

Maybe in settings you can add a page where we can access a key/token and a url that we can request via HTTPS that returns a JSON response with all portfolio balances?

E.g.

request: POST https://investengine.com/api/balances/?k=$KEY&t=$TOKEN

return:

{
	portfolios: [
		{
			"name":"A Test Portfolio",
			"balance": 21003.43
		},
		{
			"name":"Another Portfolio",
			"balance": 7033.21
		}
	]
}

It’d be super handy for me, and I imagine a lot of other people too.

1 Like

If you “share” your portfolio, you can crib the portfolio outline from the share link via a JSON URL, but its just ETF names and target percentages.

The URL is

[https://investengine.com/api/v0.30/portfolios/[portfolio id]/[share token]/](https://investengine.com/api/v0.30/portfolios/[portfolio id]/[share token]/)

There is a full portfolio API here, AFAIK, but you’ll need to replicate logon and maintain the cookies to get a reply. Alot of effort.

https://investengine.com/api/v0.30/portfolios/[portfolio id]/

Does not seem to much to ask for a version which gives balances given that most of the functionality seems to already exist.

Thanks, that’s handy to know.

Yep exactly and it’d be super useful for loads of people. An easy win for a day of a coders time.

I’d like to vote for this feature request.

Create an API Key in the dashboard, then a simple REST API to get a list of portfolios, and then get portfolio details by ID.

Ideally would have per holding: ticker, ISIN, name, holdings, book value, market value.

4 Likes

Hi, thank you for getting in touch. I will forward your suggestion to our Development team and we will post updates here and in our socials once this feature has been released

I have been hassling poor customer services for various custom reports. A REST API would be very useful indeed. I think their reporting facility already uses an internal API - extending this a little would help.

Where did we get to with this ? I’m managing my investments over API (generally using MCP) and will need an api to do that, I’m using trading212 also, and they have an api that allows me to completely manage my portfolio, can invest engine support this too?

Given where we are at with AI right now, id say this feature is necessary for business survival

2 Likes

I absolutely second this. I pull my stocks isa balances and trade data from trading212 and other platforms, and feed them into a bespoke app of mine. I need bring my invest engine portfolio data into it too so that I can monitor and track the performance of my distributed investments holistically in one place. If we don’t get an API soon, it may push me to move my invest engine investments to trading 212 or elsewhere. This is actually how much I would like an API.

Has this ticket been picked up by the development team? I’d like to be able to monitor my balance without having to login

2 Likes

Is there any update on this please @Paul_M ? A read-only REST API would be very useful. Or, the ability to connect to a personal finance app such as Endute.

While a read-only token endpoint would be ideal, one interim option is checking whether your account offers downloadable statements or transaction history, then picking those up on a schedule and parsing them locally. I’d avoid scripting logins with stored credentials, though: it tends to break with MFA and may fall foul of the platform’s terms. If an API does arrive, scoped read-only keys with easy revocation would matter as much as the data itself.