🆕 Automatically Discover, Record, and Document APIs With WireMock AI

We're excited to announce a new AI-powered capability powered by the WireMock MCP server! You can now use your AI agents to easily discover and understand the structure of any potential API you are working with, and instantly produce a production simulation of the API itself.
Watch the video:
How AI-Powered API Discovery Works
Developers often need to work with APIs that with missing or out of date documentation. Discovering how these APIs work will often require lengthy and frustrating trial and error.
Using the WireMock MCP Server and AI coding agents such as Claude Code or Copilot, we can now write a single prompt that will automatically map out the topography of the API and generate a working mock that you can start building and testing against, instantly. It will:
- Crawl the API through intelligent trial-and-error, quickly identifying valid endpoints and capturing realistic responses.
- Dynamically generate detailed OpenAPI specifications, including routes, schemas, examples, and realistic response data.
- Automatically create immediately usable API stubs within WireMock Cloud, enabling teams to rapidly integrate realistic mock APIs into their workflows.
Here’s An Example…
Imagine you have partial knowledge of PayPal’s invoicing API and want to quickly incorporate it into your test environment. You could read through the docs, spend time making calls to it locally to understand the responses, and learn it through debugging.
Or, with automated API discovery – you provide the API URLs as a starting point. The AI agent takes over, quickly exploring and discovering additional API endpoints. Within minutes, WireMock Cloud has generated a complete OpenAPI spec with detailed documentation and realistic mock responses ready to use. Your team skips days of manual API discovery, immediately diving into development and testing tasks.
What It’s Good For
Automating the process of API discovery streamlines your workflow so you can focus more on coding and less on tedious manual tasks. With this new capability, you'll:
- Cut down significantly on the time needed to manually explore complex APIs.
- Get precise and comprehensive OpenAPI documentation automatically, avoiding guesswork.
- Instantly use realistic mock responses, accelerating development and testing cycles.
In short, spend less time debugging and documenting and more time building great software.
Try It Out
API discovery is available with WireMock AI, which is available on all tiers including the free edition. Get started
/