There are actually 2 licenses you have to honour:

  1. the data license, OSM’s ODbL license, see https://www.openstreetmap.org/copyright
  2. the license for the rendered tiles, this will depend on where you got your screenshot. The license of the default style on osm.orf is CC-BY-SA. AFAIK, there is no way to get a different permission.

there was a similar question on the help-site recently.