Context
Catching a train with literally ten seconds to spare.
Lo pillamos por los pelos.
'We caught it by the hairs' — por los pelos is the Spanish equivalent and it's perfect.
Barely made it — survival or success achieved with the absolute minimum margin possible.
Teeth have skin in English (Job 19:20, King James Bible). Spanish doesn't use this image.
Context
Catching a train with literally ten seconds to spare.
Lo pillamos por los pelos.
'We caught it by the hairs' — por los pelos is the Spanish equivalent and it's perfect.
Context
Passing an exam with the minimum mark.
Aprobé raspando.
Raspar = to scrape — passed by scraping through. Vivid and very common.
Context
Arriving at a meeting just as it starts.
Llegué justo.
I arrived just in time — simple but effective. Add 'por los pelos' for drama.
Context
Finishing a project at the last possible second.
Lo entregué in extremis.
The Latin phrase 'in extremis' is used in Spanish too — at the last possible moment.
Context
Getting the last seat on a sold-out flight.
Me quedé con la última plaza por casualidad.
I got the last place by luck — coincidence and barely-there margins together.