Placeholder JSON
What is it?
A free API that provides fake data for different scenarios.
Use it to play with a new library, practice coding, or as a placeholder until your actual API is finished
How it works
Pick an endpoint and make an AJAX call
fetch('https://api.placeholderjson.dev/shipments/7EBWXB5')
.then(response => response.json())
.then(json => console.log(json))
And receive some fake JSON:
{
"orderID": "7EBWXB5",
"orderDate": "1595674680",
"estimatedDeliveryDate": "1596365935",
"deliveryDate": null,
"delayed": false,
"status": {
"orderPlaced": true,
"orderShipped": true,
"outForDelivery": true,
"orderDelivered": false
}
}