Free Fake eCommerce Rest APIs

Free complete store rest api for testing your application and prototypes

{
  "status": 200,
  "message": "Success! Product description",
  "data": {
      "_id": "61ab43350f34753bcedfa7aa",
      "title": "men casual shoes sports running sneakers",
      "slug": "men-casual-shoes-sports-running-sneakers",
      "price": 100,
      "description": "...",
      "category": {
         ...
      },
      "createdBy": {
         ...
      },
      "createdAt": "2021-12-04T10:30:13.299Z",
      "updatedAt": "2021-12-04T10:30:13.299Z"
  }
}
👉 Product Description

Try it

Run this code in a console or from any site:

fetch('https://api.storerestapi.com/products/running-sneaker')
	.then(response => response.json())
	.then(json => console.log(json))
{}

Resources

The main resources need in shopping prototypes

Note: resources have relations. For example: category have many product, product have many carts

Check all APIs documentation

Auth

JWT Authentication

  • Login
    /auth/login
  • Registration
    /auth/register
  • Refresh token
    /auth/slug
Check auth documentation

Routes

Http protocol is support 👍

Slug is used for Product, Category resources. And _id is used for User, Cart, Todo resource

Note: User and Cart case slug will replace by object _id.

Check product documentation