Skip to main content

Quickstart

Run the same operations exposed in the API playground.

1) List products

curl "https://api.escuelajs.co/api/v1/products?offset=0&limit=5"

2) List categories

curl "https://api.escuelajs.co/api/v1/categories"

3) Check if an email is available

curl -X POST "https://api.escuelajs.co/api/v1/users/is-available" \
-H "content-type: application/json" \
-d '{"email":"john@mail.com"}'

4) Login to get tokens

curl -X POST "https://api.escuelajs.co/api/v1/auth/login" \
-H "content-type: application/json" \
-d '{"email":"john@mail.com","password":"changeme"}'

5) Query locations

curl "https://api.escuelajs.co/api/v1/locations?size=3"

Next: Authentication