# Daily quota reached or API key unauthorized

**URL:** <https://ask.openrouteservice.org/t/daily-quota-reached-or-api-key-unauthorized/1230>\
**Category:** Tokens, ratelimits, quotas & registration\
**Created:** [January 7, 2020, 10:49am UTC](https://ask.openrouteservice.org/t/daily-quota-reached-or-api-key-unauthorized/1230 "2020-01-07T10:49:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![radu-jakab](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/radu-jakab/32/908_2.png) [@radu-jakab](https://ask.openrouteservice.org/u/radu-jakab)\
**Post date:** [January 7, 2020, 10:49am UTC](https://ask.openrouteservice.org/t/daily-quota-reached-or-api-key-unauthorized/1230/1 "2020-01-07T10:49:32Z")

</div>

Hello,  
Not sure if I’m using this wrong, or what is not going right here, but…

I am trying to make requests to URLs like  
[https://api.openrouteservice.org/pmapsurfer/7/72/46.png?api\_key=](https://api.openrouteservice.org/pmapsurfer/7/72/46.png?api_key=)\<\>  
My account is registered under email [radu.m.jakab@gmail.com](mailto:radu.m.jakab@gmail.com) if you need to check it.  
I’m getting the same error response from a browser window or application.  
The URL should also be correct, I’ve tried it with the API key used by [https://maps.openrouteservice.org/](https://maps.openrouteservice.org/) and it works

The API key should be right since I can see the error count going up for my token. But my current usage is 0, so quota cannot be reached.  
Is my token not authorized for these tiles?

Thank you,  
Radu

---

<div class="post-metadata">

**Author:** ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)\
**Post date:** [January 7, 2020, 11:26am UTC](https://ask.openrouteservice.org/t/daily-quota-reached-or-api-key-unauthorized/1230/2 "2020-01-07T11:26:00Z")

</div>

Hi,  
just use the proper URL `https://api.openrouteservice.org/mapsurfer`, note the missing `p`: stands for public. And your key is not authorized for the public instances (only [https://maps.openrouteservice.org](https://maps.openrouteservice.org) can request those).

Generally, rather play around there than in the browser dev env:  
[https://openrouteservice.org/dev/#/api-docs/mapsurfer](https://openrouteservice.org/dev/#/api-docs/mapsurfer)

---

<div class="post-metadata">

**Author:** ![radu-jakab](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/radu-jakab/32/908_2.png) [@radu-jakab](https://ask.openrouteservice.org/u/radu-jakab)\
**Post date:** [January 7, 2020, 12:29pm UTC](https://ask.openrouteservice.org/t/daily-quota-reached-or-api-key-unauthorized/1230/3 "2020-01-07T12:29:13Z")

</div>

Right, worked like a charm.  
Thank you!
