Response "X-RateLimit-Credits" is always 0

Hey,
we are experiencing high credit usage in the last few days and want to have a better controlling of whats happening and who is using them. Would be great if we could have done this through multiple apikeys, but that is capped to 10. So we decided to log any requests with their number of used credits.

Request:
GET https://graphhopper.com/api/1/geocode?q=berlin&locale=de&key=XXX-XXX-XXX
Response Headers:
X-RateLimit-Credits 0

Are we doing something wrong?

Thanks for your help!

Ah, this is a bit ugly as we introduced credits smaller than 1 relative late in the “history” of the API and we did not want to break backward compatibility and return an integer value (although the credit costs is 0.3 here). See https://support.graphhopper.com/support/solutions/articles/44000718211-what-is-one-credit-

Powered by Discourse