Attribution for using data

I’m making a website that will use the list of cities in the OSM database, along with latitude/longitude, name, and maybe other fields. I’m only using text data from the Overpass API so far and hoping I will be able to implement some maps later.

The site will have many pages, 100,000+. Do I need to credit OSM on every page, or can I make a separate page for the credit and link it from all my other pages?

Thanks.

I cannot give a definite answer,

but see for example http://taginfo.openstreetmap.org

It seem that this website has an attribution on each page you get by querying for special tags.

One solution can be that you create your website with any kind of attribution that you have in mind, then post a link to your website, and some users here from forum or else can give hints whether that attribution is enough.