Upload a song or use your mic to detect its key.
Detection is an estimate — relative major/minor keys share the same notes, and songs that change key will not have a single answer.