Postman Mock Servers

Postman Mock Servers deploy stateful mocks, written as code, to a stable URL on your team's domain, so other teams, CI, and coding agents can build and test without waiting on APIs.

Get started

Install for your agents

npm install -g postman-cli
Get started with
Example run with illustrative output: Claude Code in a terminal. Asked to deploy the payments mock for the frontend team, it pushes the mock to Postman, deploys it with a slug under the team domain, and sends a request with an API key and a session header, which returns a 200 response.

Trusted by teams at

PayPal logo
Moneris logo
Autodesk logo
Kroger logo
Cover Genius logo
Siemens logo
ZEISS logo

Give your coding agent the skills to mock and deploy APIs

Install the Postman plugin and your agent gets mocking workflows it can run on its own: building a mock from your spec, collection, or code, and deploying it to a URL your team can call.

get the Postman plugin

Step 1
claude plugin marketplace add anthropics/claude-plugins-official
Step 2
claude plugin install postman@claude-plugins-official
See all Postman skills

Try these prompts

WHY POSTMAN

Mock servers built for teams, CI, and agents

Teams wait on APIs that are unfinished, owned by another team, or stuck behind a shared staging environment. A Postman mock server gives them a stable URL for behavior that is available, predictable, and under your control.

  • Build before the API ships

    Frontend, mobile, and service teams code and test against a stateful mock while the backend is still being built.

  • A URL that stays the same

    Deploy to a URL on your team's domain, and it stays the same even when you update the mock.

  • Separate state for every caller

    Each CI job, developer, or agent gets its own session, so parallel runs keep their own data.

  • Test failures before customers see them

    Return delays, errors, and rate limits from the mock to check retries, fallbacks, and recovery paths.

  • Test third parties without real calls

    Calls to the mock use no quotas, create no real data, and trigger no side effects. Use it in place of payment, identity, and partner APIs.

  • See every call

    Request logs show each call and can be filtered by path, method, or status, so you can find the request that failed.

  • Start from what you already have

    Collections, OpenAPI specs, and datasets become stateful mocks, and your coding agent can write the rest from your code.

Postman showing the Orders API (V2) Mock running on localhost port 4500. The mock is JavaScript, with scenario tabs named default, network-delay, and chaos-mode, and the endpoints listed in the sidebar. The log on the right shows a 200 response to GET /health and the server start.

NEXT STEP

How mocks, simulations, and mock servers fit together

Mock

Stand in for one API.

A mock is JavaScript that stands in for an API. It keeps state and can return errors, delays, and rate limits.

Simulate

Run a simulated environment.

A simulation serves the mocks for your service's dependencies from one .sim.yaml file, behind one address.

Deploy

Deploy it at a stable URL.

Other developers, CI, and agents use the same simulation on your team's domain instead of running their own.

Run your service against simulated APIs

Postman Simulator lets you build and test applications faster, against realistic API dependencies, without having to run every service.

Mock servers removed development dependencies. Postman allows API development, testing and releases to be run in parallel. There's no waiting for API implementation to be completed.”
Flix logo

Eduardo Iriarte-Mendez

Senior Software Engineer, Flix

Read the Flix customer story

Frequently asked questions

Talk to a Postman expert

See where API dependencies block your teams, and how to standardize mocks across local development, CI, and shared testing. You can also contact sales.

Trusted by over 50 million developers and 500,000 companies.

Install for your agents

npm install -g postman-cli
Get started with

Install for desktop

Sign up for free