Fluorescent nanoscale coordination polymers with cubic morphology and long range ordered structure were fabricated and exhibited efficient sensing for both nitroaromatic explosive and nitromethane due to large surface area to volume ratio and strong binding affinity to explosive molecules.