Miniature pin/blade sockets are often called “midgets”. PCB sockets are commonly available. Additional considerations when selecting relay sockets include electrical rating, dielectric strength, ...