There are plenty of free APIs you can use for learning - https://github.com/toddmotto/public-apis/ Answer from fyzbo on reddit.com
๐ŸŒ
JSONPlaceholder
jsonplaceholder.typicode.com
JSONPlaceholder - Free Fake REST API
JSONPlaceholder is a free online REST API that you can use whenever you need some fake data. It can be in a README on GitHub, for a demo on CodeSandbox, in code examples on Stack Overflow, ...or simply to test things locally.
Discussions

Is there a dummy API for testing/practice?
There are plenty of free APIs you can use for learning - https://github.com/toddmotto/public-apis/ More on reddit.com
๐ŸŒ r/javascript
26
34
January 10, 2017
Discord sandbox for testing bots
Not sure what language/library you're using, but I'll suggest something for Python/discord.py just in case you're using what I am using. I was also pretty surprised to find a relative lack of testing tools / information around such a well-known library. It does pretty much come down to three options AFAIK: Your strategy of making additional bots on a test server Separating the logic/working code into tests that do not rely on the discord API and testing those and trying to make the discord part as straightforward and bug-free as possible so you can test manually or with other bots There is a library called dpytest. It is in ALPHA, and lacks basically any meaningful documentation (understandably, since it is in alpha). It took me some decent chunk of time, but I eventually got it working with my bot and have been building up a test suite that is able to mock the discord API. It feels great to have the tests, not gonna lie. But it was a pain, and the library is missing features and whatnot. Or someone else might have further suggestions; this has just been my experience so far :) More on reddit.com
๐ŸŒ r/Discord_Bots
17
12
January 29, 2022
Mock Hasura endpoint for unit testing

I'm afraid I don't know of any approach that does not involve some amount of elbow grease.

Setting up hasura and postgres instances as part of test execution pipeline is exactly how the integration test suite of Hasura itself works.

Whether it'll work for you depends on what trade-offs you're willing to make and what you want to get out of your test suite.

If you just want to run your unit tests in CI, I'd suggest you start a single hasura instance and postgres instance via e.g. docker containers and then reset their state data between each test. This doesn't let you run tests in parallel, but it does let you pay the cost of instance startup and initialization only once. This is more or less what Hasura's own test suite does.

If your test execution is more resource constrained (either in terms of computational resources or time in a dev feedback loop, etc.) and your tests are deterministic, you could try using contract testing in your test harness (https://pactflow.io/blog/what-is-contract-testing/). Then you'll only need to have a hasura instance in the loop when you introduce new tests or update existning ones.

More on reddit.com
๐ŸŒ r/graphql
1
0
February 17, 2022
Fake apis for testing
Postman can do that with mock servers https://learning.postman.com/docs/designing-and-developing-your-api/mocking-data/setting-up-mock/ More on reddit.com
๐ŸŒ r/dotnet
26
6
July 16, 2022
People also ask

What is a frontend-first backend?
A frontend-first backend gives you production-grade data, auth, and automations without standing up servers. ReqRes lets you create projects with collections, app users, magic-link auth, and logs so your frontend can ship with real data and stay production-ready.
๐ŸŒ
reqres.in
reqres.in
ReqRes: Free REST API for Testing, Prototyping & QA ...
What are the different API key types?
ReqRes offers three API key permission levels: read-only (GET only), read/write (GET, POST, PUT, PATCH), and manage (includes DELETE operations). Use admin keys for managing collections and automations; use session tokens for per-user data access.
๐ŸŒ
reqres.in
reqres.in
ReqRes: Free REST API for Testing, Prototyping & QA ...
How does the Image to API feature work?
The Image to API feature uses AI to analyze UI screenshots and automatically generate working API endpoints. Upload a screenshot of your design (or a Figma frame), and we generate REST endpoints and schemas you can deploy. Available on all plans with different usage limits; deployment requires Pro or above.
๐ŸŒ
reqres.in
reqres.in
ReqRes: Free REST API for Testing, Prototyping & QA ...
๐ŸŒ
Medium
medium.com โ€บ @therklogy โ€บ best-free-dummy-apis-for-testing-updated-2025-48c652203912
Best Free Dummy APIs for Testing (Updated 2025) | by RK Logy | Medium
September 15, 2025 - Easy URL Structure: Simple and memorable endpoints โ€” no complex routing, completely open, and accessible by any frontend or testing client. Perfect for Tutorials & Learning: Designed to be beginner-friendly โ€” developers, tech educators, and students can focus on coding instead of backend setup. Fast, Reliable, and Always Online: Hosted for stability and minimal latency, making it ideal for CI/CD pipelines or public code examples. ... Documentation is available for all APIs at jsondevtool.com/apidocs. When you need free, fast dummy APIs, jsondevtool.com/dummyapis is the modern solution in 2025: publicly accessible, feature-focused, and built for todayโ€™s devs.
๐ŸŒ
GitHub
github.com โ€บ typicode โ€บ json-server
GitHub - typicode/json-server: Get a full fake REST API with zero coding in less than 30 seconds (seriously) ยท GitHub
1 month ago - Get a full fake REST API with zero coding in less than 30 seconds (seriously) - typicode/json-server
Starred by 75.7K users
Forked by 7.3K users
Languages ย  JavaScript 91.7% | HTML 8.3%
๐ŸŒ
mockAPI
mockapi.io
mockAPI
MockAPI is a simple tool that lets you easily mock up APIs, generate custom data, and perform operations on it using RESTful interface. MockAPI is meant to be used as a prototyping/testing/learning tool.
๐ŸŒ
Reqres
reqres.in
ReqRes: Free REST API for Testing, Prototyping & QA ...
ReqRes is the frontend-first backend you call with fetch(). Projects bundle collections, app users, logs, and automations-no backend code required.
Find elsewhere
๐ŸŒ
Miragejs
miragejs.com
Mirage JS โ€ข An API mocking library for frontend developers
Because Mirage realistically mocks out your entire API server, you can share a clickable, working prototype of your JavaScript application without needing to run any backend services. Get high-quality feedback from your users and iterate faster than ever, before you start investing in expensive server-side infrastructure. ... Honestly, I can't recommend this tool enough. Finally, an idiomatic way for frontend developers to prototype and test an entire feature without touching a real API!
๐ŸŒ
Beeceptor
beeceptor.com โ€บ mock-server โ€บ explore
Free Mock APIs for Testing
Beeceptor's Fake API server offers a range of hosted, free REST APIs available to anyone in need of simulated data for their applications or demonstrations. This resource is perfect for populating your sandbox environments, prototypes, or conducting ...
๐ŸŒ
Beeceptor
beeceptor.com
Mock APIs - Free REST & SOAP APIs for Devs & QA
Build mock APIs in a few seconds. No coding required. Build replicas for REST, SOAP, gRPC, GraphQL APIs for testing. The #1 alternative to WireMock. Get started free.
๐ŸŒ
DummyJSON
dummyjson.com
DummyJSON - Free Fake REST API for Placeholder JSON Data
DummyJSON provides a free fake REST API with placeholder JSON data for development, testing, and prototyping. Access realistic data quickly for your projects.
๐ŸŒ
Restapiexample
dummy.restapiexample.com
Dummy sample rest api - dummy.restapiexample.com
This page will list all of the rest services. These are fake online REST APIs for testing and prototyping sample applications that use rest calls to display listings and crud features.
๐ŸŒ
BrowserStack
browserstack.com โ€บ home โ€บ guide โ€บ dummy apis for react apps: a complete guide
Dummy APIs for React Apps: A Complete Guide | BrowserStack
September 17, 2025 - MockAPI.io: Cloud-based dummy API generator for quick prototyping and collaboration. Beeceptor: Online service to define custom endpoints and responses for testing.
๐ŸŒ
Fake Store API
fakestoreapi.com
Fake Store API
A free RESTful API for developers, ideal for prototyping, testing, or teaching.
๐ŸŒ
Medium
medium.com โ€บ swlh โ€บ how-to-quickly-mock-an-api-server-in-a-client-side-project-aa503ecfa9cf
How to Quickly Mock an API Server in a Client-Side Project | by Jeremy Wells | The Startup | Medium
January 17, 2021 - It can also be helpful for setting ... testing. The two tools Iโ€™ll demonstrate are Mockaroo for generating sets of dummy data, and json-server for creating a fake API that a front-end application can make requests to. This tutorial is aimed squarely at folks getting familiar writing browser-side code with HTML, CSS, and Javascript...
๐ŸŒ
Lipsum Hub
blog.lipsumhub.com โ€บ home โ€บ sample dummy api for testing
Sample Dummy API for Testing - Lipsum Hub
December 5, 2024 - A dummy API is a mock version of a real API that simulates the behavior of a live application programming interface without actually connecting to a live database or server. It is designed to replicate the response behavior of a real API, allowing ...
๐ŸŒ
Postman
postman.com โ€บ interstellar-equinox-48747 โ€บ dummy-api-testing โ€บ overview
Dummy API Testing
Accelerate API development with Postman's all-in-one platform. Streamline collaboration and simplify the API lifecycle for faster, better results. Learn more.
๐ŸŒ
Beeceptor
beeceptor.com โ€บ mock-api
JSON & XML Mock Server - Free
Tired of the backend server hassle at project kick-off? We've got the solution. Beeceptor gives no-code dummy APIs and JSON data hosting for your apps. Integrate your web/mobile app with the hosted mock API contracts. The best part?
๐ŸŒ
Mockoon
mockoon.com
Mockoon - Create mock APIs in seconds with Mockoon
Developers! Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source. snap install mockoon ... I can wholeheartedly recommend @GetMockoon if you're looking for an easy way to #mock ...
๐ŸŒ
Beeceptor
beeceptor.com โ€บ use cases โ€บ sample api for testing
Sample API For Testing | Beeceptor
If you are testing frontend code, mobile apps, automation scripts, or learning REST APIs, you usually need a working API URL. Not documentation. Not setup steps. Just an endpoint that responds with JSON. Below are public sample APIs provided by Beeceptor that you can use immediately. They are hosted, CORS-enabled, and return realistic data. Get a dedicated mock server to host a mock API. Set custom response and status code. Create Dummy API For TestingInspect incoming requests โ€ข Build a sample API instantly โ€ข Free
๐ŸŒ
Syncfusion
syncfusion.com โ€บ blogs โ€บ javascript โ€บ javascript api mocking techniques
JavaScript API Mocking Techniques | Syncfusion Blogs
November 20, 2024 - Here are some of the most used JavaScript API mocking libraries: JSON Serverโ โ€”A fast and efficient node module that allows creating a REST JSON web service quickly. MirageJSโ โ€”This is an API mocking library for building, testing, and ...