Rattle (something) off rattle off (something)

To recite something quickly and accurately.

The little boy was able to rattle off most countries in the world.