It depends on make and model and if it a chip key. They do just call and ask for hardware
You would have to return to a dealer for your make car. They would be able to do that from the VIN of the car.
Go to a Locksmith
Thanks! Your answer is awaiting moderation.