Two new coordination polymers, namely, [Cu2(L)2(4,4′-bpy)]n (1) and [Cd(HL)Cl(1,10′-phen)]n (2) (H2L = 1H-pyrazole-3-carboxylic acid, 4,4′-bpy = 4,4′-bipyridine, 1,10′-phen = 1,10-phenanthroline) have been synthesized via solvothermal method and were structurally characterized by single-crystal X-ray diffraction, FT-IR, elemental analysis and PXRD. The two complexes are both infinite 1D chain structures, in complex 1 the H2L ligands are completely deprotonated and chelating the metal centers, and 4,4′-bipyridine link adjacent metal units to form a 1D chain structure. While, in complex 2, the auxiliary ligands chelating the metal center and H2L ligands play a role in chelating-bridging the metal centers to help build an infinite 1D chain structure. What’s more, the two complexes further extended to 3D supramolecular networks by hydrogen bonds and weak C–H⋯π interactions. The weak intermolecular interactions existed in the complexes structures were further studied by Hirshfeld surface analysis and 2D fingerprint plots. In addition, these two transition metal complexes exhibit high intense electrochemiluminescence (ECL) in N,N-dimethylformamide (DMF) and after ten circulations the ECL intensity still remains stable, which can be a useful guide for the construct of new polymers ECL materials.