A magnitude-5.7 earthquake jolted off the west coast of Central America at a depth of 10 kilometers on Saturday, said the GFZ German Research Centre for Geosciences.