Developer Tools How to Fake or Mock an API with JSON Server JSON Server is an easy-to-use module for mocking an API for most of your API needs, including custom routes, POST routes, and faking data.