Does GitLab.com Support it's own API?

So,

Signed up for an account, and have a program I wrote to use the API. I pointed it at “https://gitlab.com/u/[username]/projects/owned”, and included my private token. I got back an error 404. I tried “https://gitlab.com/u/[username]/projects” with my private token and I get back HTML not JSON. Does the API only work if you run it locally?

Thank
Jaeden “Sifo Dyas” al’Raec Ruiner

So to post for others, apparently the appropriate API path is “https://gitlab.com/api/v3/
which is not entirely clear, but now that that is known, everything else makes sense.

Thanks
J"SD"a’RR