Test APIs
Documentation of APIs available to test your API Testing tool
WebDevTools offers public APIs for you to practice HTTP requests. Use the API Testing tool to try them out.
Mock & Echo
/api/mockMock API
Echo API to test requests. GET returns fixed text; POST returns the body sent. Useful for validating request/response flows.
Parameters: Delay in ms before response (simulates latency)
/api/headersHeaders Echo
Returns request headers as JSON. Use to verify headers are being sent correctly.
Status & Errors
/api/status/[code]Status Codes
Returns the requested HTTP status. Useful for testing error handling in the frontend.
Parameters: code — Status code (200, 201, 400, 401, 403, 404, 500, etc.)
/api/auth/verifyAuth Verify
Simulates token verification. Returns 401 without Bearer token; 200 with valid token.
Request Info
/api/infoRequest Info
Returns IP, user-agent, method and request data. Useful for proxy, CORS debugging, etc.
Data Generation
/api/usersUsers API
Returns fake users generated with @faker-js/faker. Useful for mocking data in prototypes and tests.
Parameters: limit, fields (fullName, firstName, lastName, middleName, prefix, suffix, bio, jobTitle, jobArea, jobDescriptor, jobType, gender, sex, zodiacSign), delay
/api/uuidUUID
Generates a UUID v4. Useful for mocking IDs in prototypes.
/api/loremLorem Ipsum
Returns random text for placeholders. Use paragraphs or words.
Parameters: paragraphs — Number of paragraphs (default: 1) | words — Number of words
/api/postsPosts
Returns fake posts (JSONPlaceholder style). Supports listing and item by ID.
Parameters: limit — Amount (default: 10) | delay — Delay in ms
Utilities
/api/delay/[ms]Delay
Responds after delay in ms (max 30s). Use to test loading, timeouts and retry.
Parameters: ms — Delay in ms (0-30000)
Use the API Testing tool to make requests to these APIs.
Open API Testing