The thing is, you can actually use the
/api/v1/accounts/:id API to get detailed information about an account (without authentication), but you cannot do so without knowing the account ID.
You can use WebFinger to get some stats about an account, but Mastodon’s account ID is missing…
So when you only know the Mastodon handle, i.e. username & server, how can I get the ID from that?
My actual use case is to just use the data then returned to embed/show the avatar image/icon of the user.