Endpoint for showing Subdomain of account?

You can find methods of obtaining sub-domain here: How to get the company domain.
Endpoint /users/me also can be called through OAuth, in that case host should be https://api-proxy.pipedrive.com/users/me

You can find the info here Pipedrive API v1 Reference

Let me know if it helps