i need to buy new ones but i dont have the old ones( the guy that sold me the bike lostthe bolts) front and the windscreen and the side for the fairing
you may want to try a Ducati Owners group or forum (you were close, do a web search!), or go to your local hardware store, and "guesstimate" the size, from their metric hardware selection.
They may have used different ones for the same YEAR (I've had that happen with my BMW..). So the "correct" answer may be more than one size..