Public APIs
FakeStoreAPI favicon

FakeStoreAPI

Test Data

Fake store rest API for your e-commerce or shopping website prototype.

FakeStoreAPI's website screenshot

About FakeStoreAPI

FakeStoreAPI is a free RESTful API that provides realistic e-commerce data for prototyping, testing, or teaching, removing the need to set up a backend. It offers four resources: products (title, price, category, description, and image; 20 items), carts (simulating shopping cart logic with user, product IDs, and quantities; 20 entries), users (full profiles including name, email, and address; 10 entries), and a login endpoint that returns a JWT token for testing authentication.

The API is aimed at developers building or practicing frontend and backend e-commerce flows, including shopping cart, wishlist, and product listing features, without needing real store data or infrastructure. It has been used in projects and tutorials involving frameworks such as React-Redux, Flutter, Jetpack Compose, and Android/Kotlin, as well as integrations with tools like the Model Context Protocol for natural-language product queries.

Key features

  • Free RESTful API for prototyping and testing e-commerce apps
  • Products resource with title, price, category, description and image (20 products)
  • Carts resource simulating shopping cart logic with product IDs and quantities (20 carts)
  • Users resource with full user profiles including name, email and address (10 users)
  • Login endpoint returning a JWT token for testing authentication
  • No backend setup required

Frequently asked questions

Is FakeStoreAPI free to use?

Yes, it is a free RESTful API for developers.

What resources does the API provide?

It provides four resources: products, carts, users, and a login endpoint that returns a JWT token.

Who is FakeStoreAPI for?

It is aimed at developers prototyping, testing, or teaching with realistic e-commerce data instead of Lorem Ipsum.

Do I need to set up a backend to use it?

No, the data is accessible in seconds via REST with no backend setup required.

Can it be used to test authentication flows?

Yes, the login endpoint returns a JWT token for testing authentication.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product