Why not ask your question on the new OpenStreetMap Community Forum?

Hi all,

I've got a question on the Nominatim Usage Policy that will probably sound stupid to many of you, but have very limited experience with APIs and just want to make sure to get it right. The policy states:

Provide a valid HTTP Referer or User-Agent identifying the application (stock User-Agents as set by http libraries will not do).

and I simply don't know what this means - if I were to write a Python script using the requests library in combination with the API and do a simple requests.get(url), would that be OK (given I'll abide by the other rules, like the request limit), or would that exactly be what falls under "stock User-Agents as set by http libraries"? In the latter case, what would I have to change to make it comply?

Thanks for the help!

asked 15 Apr '20, 15:42

Ratatoskr's gravatar image

accept rate: 0%

edited 15 Apr '20, 15:42

permanent link

answered 15 Apr '20, 16:49

Firefishy's gravatar image

Firefishy ♦♦
accept rate: 29%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 15 Apr '20, 15:42

question was seen: 4,285 times

last updated: 15 Apr '20, 16:49

powered by OSQA