I want to get user information from LinkedIn with an official API, but I can't find any endpoint that could give me such info.
something like this:
fetch("https://<URL>/api/<USERNAME>")
is it even possible to fetch user info like this?
ideally, it would work in browser environment
You should review the LinkedIn API to determine what, if anything, best fits your needs. It sounds like you're looking for the Profile API, which requires special approval to use.