How to hit the Fake Store API API

Fake Store API at https://fakestoreapi.com is a fake e-commerce backend — products, categories, carts, users — for prototyping shops. Writes are simulated.

Authentication

None — no key, no signup. Every example runs as-is.

Full reference: https://fakestoreapi.com/docs

Get a product

curl https://fakestoreapi.com/products/1
Run in PostTaco
Example response (trimmed)
{
  "id": 1,
  "title": "Fjallraven - Foldsack No. 1 Backpack, Fits 15 Laptops",
  "price": 109.95,
  "description": "Your perfect pack for everyday use and walks in the forest. Stash your laptop (up to 15 inches) in the padded sleeve, your everyday",
  "category": "men's clothing",
  "image": "https://fakestoreapi.com/img/81fPKd-2AYL._AC_SL1500_t.png",
  "rating": {
    "rate": 3.9,
    "count": 120
  }
}

Products in a category

curl "https://fakestoreapi.com/products/category/jewelery?limit=2"
Run in PostTaco
Example response (trimmed)
[
  {
    "id": 5,
    "title": "John Hardy Women's Legends Naga Gold & Silver Dragon Station Chain Bracelet",
    "price": 695,
    "description": "From our Legends Collection, the Naga was inspired by the mythical water dragon that protects the ocean's pearl. Wear facing inward to be bestowed with love and abundance, or outward for protection.",
    "category": "jewelery",
    "image": "https://fakestoreapi.com/img/71pWzhdJNwL._AC_UL640_QL65_ML3_t.png",
    "rating": {
      "rate": 4.6,
      "count": 400
    }
  },
  {
    "id": 6,
    "title": "Solid Gold Petite Micropave ",
    "price": 168,
    "description": "Satisfaction Guaranteed. Return or exchange any order within 30 days.Designed and sold by Hafeez Center in the United States. Satisfaction Guaranteed. Return or exchange any order within 30 days.",
    "category": "jewelery",
    "image": "https://fakestoreapi.com/img/61sbMiUnoGL._AC_UL640_QL65_ML3_t.png",
    "rating": {
      "rate": 3.9,
      "count": 70
    }
  }
]

Add a product (simulated)

Returns an id; nothing is stored.

curl -X POST https://fakestoreapi.com/products \
  -H "Content-Type: application/json" \
  -d '{"title": "Taco", "price": 3.5, "category": "food"}'
Run in PostTaco
Example response (trimmed)
{
  "id": 21,
  "title": "Taco",
  "price": 3.5,
  "category": "food"
}