North Yorkshire Police said the unoccupied car was shot by an unknown man while it was parked outside a home in Starkey Crescent, Tang Hall, at around 9.25pm on Saturday (March 7).
No one was harmed when the firearm was discharged, the force said.
Six police vehicles remained in Starkey Crescent on Sunday morning after nearby residents reported hearing loud bangs the previous evening.
A blue Nissan car could be seen parked in the driveway of a home in Starkey Crescent with a smashed windscreen and a hole in its front grille.
The home, near the street’s junction with Cosmo Avenue, was cordoned off with a police officer stood guard next to the car.
Police in Starkey Crescent, York, on Sunday morning (March 8) (Image: Newsquest)
North Yorkshire Police said its suspect in the shooting “approached the car on foot and ran from the scene”.
“No one has been harmed and it is believed to have been a targeted incident, with no threat to the wider community,” a force spokesperson said.
“However, we know that this will cause concern and fear among residents.
“We are carrying out reassurance patrols in the area while the investigation continues.”
Police in Starkey Crescent, York, on Sunday morning (March 8) (Image: Newsquest)
They said officers will be going house-to-house to talk to neighbours while forensic examinations continue at the scene.
Officers are also examining CCTV, doorbell and dashcam footage to help identify the suspect, the police spokesperson said.
One neighbour said they heard two “massive bangs” on Saturday night.
Another neighbour said they also heard loud bangs which they initially thought were fireworks.
North Yorkshire Police is urging anyone with information about the shooting to contact the force.
“We are appealing for witnesses to come forward and those with any relevant recorded footage who have not yet assisted the police,” its spokesperson said.
“If you can help, please call North Yorkshire Police on 101.
“If you would prefer to remain anonymous, you can contact Crimestoppers on 0800 555 111 or make an online report.
“Please quote reference number 12260041722 when proving details.”