However, I cannot find my account name, which is available when I connect to the HubSpot via the browser.
What is the way to get the account name from the API?
To be more specific, I need the account name which is available from this URL (yes, I've read the forum thread and it looks, that there is no any solution, which looks extremely strange for me).
The information in that forum post is still accurate; there's currently no public API that returns an account's display name. I can totally understand your use case, though: If you haven't already, I'd recommend jumping over to the HubSpot Ideas Forum and posting this idea there so that it's visible to the HubSpot product team and other HubSpot customers and developers. If you post a link to that post here, I'll jump over and give it a like!
The information in that forum post is still accurate; there's currently no public API that returns an account's display name. I can totally understand your use case, though: If you haven't already, I'd recommend jumping over to the HubSpot Ideas Forum and posting this idea there so that it's visible to the HubSpot product team and other HubSpot customers and developers. If you post a link to that post here, I'll jump over and give it a like!