An Xbox marked the spot where a Bronx man stockpiled a treasure trove of pilfered electronics, police said.

Jeremiah Gilliam, 22, was caught after playing a stolen game console online — allowing cops in Pelham, where it was stolen, to trace the IP address to his grandmother’s address, cops said.

There, detectives found dozens of video games, laptops, and GPS devices believed to have been stolen from as many as 200 car break-ins and several home burglaries in Westchester County.

Gilliam was already under investigation for 13 robberies of unlocked cars, Pelham Detective John Hynes said.

A kid whose Xbox was stolen in one of the burglaries noticed that someone was playing online with his game system and told his parents, who reported it to police.

“On the day of the burglary, the victim used another Xbox and saw his system was already online,” Hynes said. “At the house, we found Xboxes, PlayStations, GPS units, laptops — a total of 53 items, including stolen credit cards.”