Some insurers recognise claim-free years from a previous insurer abroad, others start you in a low SF class. Ask your former insurer for a written claims-free certificate (ideally in English or German) and mention it in your request. Also check whether your foreign driving licence has to be converted. More on classes: SF class and no-claims discount.
If you were insured in another EU or EEA country, German insurers must treat your claims-history statement like a German one – how many years they count is up to them: will your foreign no-claims bonus count in Germany? Before you request quotes, check which details you will need with our German car insurance calculator.