MockAPI Dog Documentation

Everything you need to create free mock REST APIs and LLM streaming endpoints

What is MockAPI Dog?

MockAPI Dog is a free, instant mock API generator for both REST APIs and LLM (AI) streaming endpoints. Create custom endpoints that return exactly the data you need - no server code, no API keys, no signup required.

Mock REST APIs

Create traditional REST API endpoints with custom JSON responses, HTTP methods, status codes, delays, and error simulation. Perfect for frontend development and testing.

Read REST API Guide

Mock LLM APIs

Simulate OpenAI, Anthropic Claude, and other LLM streaming endpoints. Build AI features without spending thousands on API calls. Save big on development costs.

Read LLM API Guide

Quick Start

Create a REST API Endpoint

  1. Visit mockapi.dog
  2. Select "REST API" tab
  3. Choose HTTP method (GET, POST, etc.)
  4. Write your JSON response
  5. Save and get your unique endpoint URL
GET https://abc123.mockapi.dog/api/users

Create an LLM Streaming Endpoint

  1. Visit mockapi.dog/llm-mock
  2. Choose provider (OpenAI, Anthropic, etc.)
  3. Configure content mode and tokens
  4. Save and use in your AI app
  5. Replace baseURL in your SDK
baseURL: 'https://abc123.mockapi.dog/llm/openai'

Common Use Cases

Frontend Development

Build UIs while backend is in progress. Test with realistic data.

AI Development

Build chatbots and AI features without expensive API costs.

API Prototyping

Validate API designs before implementation. Get stakeholder feedback.

Testing & QA

Test error handling, edge cases, and loading states.

CI/CD Pipelines

Run automated tests without rate limits or API costs.

Learning & Teaching

Practice API integration without complex backend setup.

Ready-to-Use Mock API Library

We provide pre-built mock APIs for common use cases. Perfect for learning, testing, or rapid prototyping. Explore categories like Users, Posts, Products, Auth, and more.

Browse API Library

Key Features

No Signup Required

Start creating endpoints instantly. No registration, no email verification.

Instant Deployment

Your endpoints are live immediately after saving. No build or deploy step.

Advanced Features

Add delays, error rates, conditional errors, and custom headers.

100% Free

Unlimited endpoints, unlimited requests. No premium tiers or paywalls.

LLM Streaming

Mock OpenAI, Claude, and other AI providers. Real streaming responses.

Pre-built APIs

Access ready-to-use APIs for users, posts, products, and more.

Ready to Start?

Choose your path below to learn how to create mock REST APIs or LLM streaming endpoints. Both are completely free and require no signup.