Mock API Gallery

Ready-to-use mock APIs. Browse, explore the endpoints, or download the JSON to import into your own Mocka project.

🛒

E-Commerce API

Full shopping experience — products, cart, orders, reviews, payments, wishlist, notifications. 24 endpoints.

productscartorderspaymentsreviews
GET/products
GET/products/:id
POST/cart/items
POST/orders
GET/users/me
POST/payments/charge
🔐

Authentication API

Complete auth flow — login, register, token refresh, password reset, profile management. JWT-style responses.

JWTloginregistertokensOAuth
POST/auth/login
POST/auth/register
POST/auth/refresh
POST/auth/forgot-password
GET/auth/me
PATCH/auth/me
💬

Social Media API

Posts, comments, likes, followers, feed, stories. Build social features without a backend.

postscommentslikesfollowersfeed
GET/feed
POST/posts
POST/posts/:id/like
GET/posts/:id/comments
GET/users/:id/followers
GET/stories
💳

Payment API

Stripe-like payment flows — charges, refunds, customers, invoices, payment methods, webhooks.

chargesrefundsinvoicesStripe-like
POST/charges
POST/refunds
GET/customers/:id
GET/invoices
GET/payment-methods
POST/checkout/sessions
📝

Blog / CMS API

Articles, categories, tags, authors, media uploads. Perfect for headless CMS frontends.

articlescategoriesauthorsheadless CMS
GET/articles
GET/articles/:slug
GET/categories
GET/authors/:id
GET/tags
POST/articles
🌤️

Weather API

Current weather, 7-day forecast, historical data, alerts. Simulate weather services for dashboards.

forecasttemperaturealertshistorical
GET/weather/current
GET/weather/forecast
GET/weather/history
GET/weather/alerts
GET/weather/cities/:id
GET/weather/search/:query
💭

Chat / Messaging API

Conversations, messages, typing indicators, read receipts, contacts. For chat UI development.

messagesconversationscontactsreal-time
GET/conversations
GET/conversations/:id/messages
POST/messages
PATCH/messages/:id/read
GET/contacts
DELETE/messages/:id
📡

IoT / Devices API

Devices, sensors, readings, alerts, dashboards. Prototype IoT monitoring interfaces.

devicessensorsreadingsalerts
GET/devices
GET/devices/:id/readings
POST/devices/:id/command
GET/alerts
GET/dashboard/stats
POST/devices