Skip to content

FeaturesDependentOnAPI

Ivica Paleka edited this page Jan 2, 2025 · 7 revisions

The following user requests are for additional API endpoints.


Swagger compatible API

By DingusMungus in Discord:

I've been thinking a lot about the API. Can I "suggest" a swagger compatible API that doesn't include all of web stuff used by the website


Filtering by asset id(s)

By DingusMungus in Discord:

and adding more filtering than just the three objects. For example filtering by asset id(s). Currently the API needs a fork that moves away from internal web needs and towards external user needs.


Separate API endpoint for Maximum Value Engine

By DragMZ in Discord:

Actually, the Maximum Value Engine could be a separate endpoint for such purposes. I may be okay with 1-minute delay / cache for portfolio but would like to query the MVE near to real time. Just thinking (this extra endpoint is a very low priority for me at this point).


Research and implement websockets API connection

By leaf 🍃 in Discord

is there a websocket api for asastat? dont see this ticket on github saw it was on a govx grant but havent heard any updates since i guess the refresh json token in v2 would be fine. what other benefits can we have from websocket API?


Add an additional layer of filtering (or just filtering of the total object)

By dragmz in Discord:

I don't think there's any v2 endpoint that would let me query for just the total ALGO value of an account (and skip any other details), is that right?

I guess this one is still too much https://www.asastats.com/api/v2/addr/?headers=true&limit=1? Is "total": { "algo": "126.627136", "asa": "240.533727", "nft": "340.800000", "total": "707.960863", "totalusdc": "278.319400", "priceusdc": "2.543699", "pricealgo": "0.393128", "noteval": 2 } as a response ok or you rather want to have just {"total": {"algo": "126.627136"}}?