# WireMock API

> WireMock is a popular open-source tool for API mock testing with over 5 million downloads per month.

WireMock is a development API from wiremock.org. It needs no API key. It is served over plain HTTP. Its OpenAPI description documents 33 endpoints.

## At a glance

- Category: [Development](https://www.openparable.com/apis/category/development)
- Provider: wiremock.org
- Authentication: None (no API key)
- HTTPS: No
- CORS: Not stated
- Documentation: http://wiremock.org/docs/
- OpenAPI description: https://api.apis.guru/v2/specs/wiremock.org/admin/2.35.0/openapi.json
- Version: 2.35.0
- Specification updated: 2023-03-06

## Endpoints

- `GET /__admin/mappings` — Get all stub mappings
- `POST /__admin/mappings` — Create a new stub mapping
- `DELETE /__admin/mappings` — Delete all stub mappings
- `POST /__admin/mappings/find-by-metadata` — Find stubs by matching on their metadata
- `POST /__admin/mappings/import` — Import stub mappings
- `POST /__admin/mappings/remove-by-metadata` — Delete stub mappings matching metadata
- `POST /__admin/mappings/reset` — Reset stub mappings
- `POST /__admin/mappings/save` — Persist stub mappings
- `GET /__admin/mappings/{stubMappingId}` — Get stub mapping by ID
- `PUT /__admin/mappings/{stubMappingId}` — Update a stub mapping
- `DELETE /__admin/mappings/{stubMappingId}` — Delete a stub mapping
- `POST /__admin/near-misses/request` — Find near misses matching specific request
- `POST /__admin/near-misses/request-pattern` — Find near misses matching request pattern
- `POST /__admin/recordings/snapshot` — Take a snapshot recording
- `POST /__admin/recordings/start` — Start recording
- `GET /__admin/recordings/status` — Get recording status
- `POST /__admin/recordings/stop` — Stop recording
- `GET /__admin/requests` — Get all requests in journal
- `DELETE /__admin/requests` — Delete all requests in journal
- `POST /__admin/requests/count` — Count requests by criteria
- `POST /__admin/requests/find` — Find requests by criteria
- `POST /__admin/requests/remove` — Remove requests by criteria
- `POST /__admin/requests/remove-by-metadata` — Delete requests mappings matching metadata
- `POST /__admin/requests/reset` (deprecated) — Empty the request journal
- `GET /__admin/requests/unmatched` — Find unmatched requests
- `GET /__admin/requests/unmatched/near-misses` — Retrieve near-misses for all unmatched requests
- `GET /__admin/requests/{requestId}` — Get request by ID
- `DELETE /__admin/requests/{requestId}` — Delete request by ID
- `POST /__admin/reset` — Reset mappings and request journal
- `GET /__admin/scenarios` — Get all scenarios
- `POST /__admin/scenarios/reset` — Reset the state of all scenarios
- `POST /__admin/settings` — Update global settings
- `POST /__admin/shutdown` — Shutdown the WireMock server

## Questions

### Does the WireMock API need an API key?

No. The WireMock API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

### Does the WireMock API support HTTPS?

The WireMock API is listed as HTTP only, so avoid sending secrets to it.

### How many endpoints does the WireMock API have?

Its OpenAPI description lists 33 endpoints in version 2.35.0. All of them are shown on this page.

### What are alternatives to the WireMock API?

Other Development APIs include Cloudflare, Azure DevOps, IPify, App Store Connect API, StackExchange.

## Similar development APIs

- [Cloudflare](https://www.openparable.com/apis/cloudflare): Manage DNS, CDN, Workers and other services; documented with an official OpenAPI 3.0 spec
- [Azure DevOps](https://www.openparable.com/apis/azure-devops): The Azure DevOps basic components of a REST API request/response pair
- [IPify](https://www.openparable.com/apis/ipify): A simple IP Address API
- [App Store Connect API](https://www.openparable.com/apis/app-store-connect): The data structure that represents an app store connect api resource.
- [StackExchange](https://www.openparable.com/apis/stackexchange): Q&A forum for developers
- [IPinfo](https://www.openparable.com/apis/ipinfo): Another simple IP Address API
- [IBM Text to Speech](https://www.openparable.com/apis/ibm-text-to-speech): Convert text to speech
- [SiteIntel](https://www.openparable.com/apis/siteintel): Extract metadata, tech stack, emails, and screenshots from any URL
- [DigitalOcean Status](https://www.openparable.com/apis/digitalocean-status): Status of all DigitalOcean services
- [Netlify](https://www.openparable.com/apis/netlify): Netlify is a hosting service for the programmable web
- [Docker Hub](https://www.openparable.com/apis/docker-hub): Interact with Docker Hub
- [MineSkin API](https://www.openparable.com/apis/mineskin): Client implementations: Java: https://github.com/InventivetalentDev/MineskinClient NodeJS: https://github.com/InventivetalentDev/mineskin-client Examples: https://github.com/MineSkin/examples

Listed from: APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/wiremock (OpenParable). Cite the canonical URL above.
