There are plenty of free APIs you can use for learning - https://github.com/toddmotto/public-apis/ Answer from fyzbo on reddit.com
🌐
GitHub
github.com › Ovi › DummyJSON
GitHub - Ovi/DummyJSON: DummyJSON.com provides different types of REST Endpoints filled with JSON data which you can use in developing the frontend with your favorite framework and library without worrying about writing a backend. · GitHub
Cross-framework Compatibility: Seamlessly integrate with React, Angular, Vue, Ember, or vanilla JavaScript. Dynamic Image Generation: Generate placeholder images with customizable options. Identicon: Generate customizable identicon on the go. ... Use any method you prefer - fetch API, Axios, jQuery AJAX - it all works seamlessly. fetch('https://dummyjson.com/products') .then(res => res.json()) .then(json => console.log(json));
Starred by 2.7K users
Forked by 283 users
Languages   EJS 46.4% | JavaScript 43.6% | SCSS 9.8% | Dockerfile 0.2%
🌐
Public APIs
publicapis.io › home › development › dummy api
Dummy API API — Free Public API | Public APIs Directory
December 25, 2025 - Visit API🔁 Alternatives🔒 Claim Listing🤍 Save ... // Dummy API API Example const response = await fetch('https://n161.tech/t/dummyapi/', { method: 'GET', headers: { 'Content-Type': 'application/json' } }); const data = await response.json(); console.log(data);
🌐
GitHub
github.com › HenrikJoreteg › hapi-dummy-api
GitHub - HenrikJoreteg/hapi-dummy-api: Generate dummy APIs for hapi.js, for building clientside apps before the real API is done.
var Hapi = require('hapi'); var server = new Hapi.Server(); var dummyAPI = require('hapi-dummy-api'); server.connection({ port: 3000 }); // all these config items are optionals var peopleOptions = { // Optionally give it some starting data (should be an array) // defaults to []; data: [{ id: 0, name: 'mary' }, { id: 1, name: 'bob' }], // the root RESTful resource URL rootUrl: '/api/people', // specify which property name should be the "id" // defaults to "id" idProperty: 'id', // Optionally give it a delay (in milliseconds) to simulate network latency // as you'd have in real clientapp situation.
Starred by 26 users
Forked by 4 users
Languages   JavaScript 100.0% | JavaScript 100.0%
🌐
Eviltester
apichallenges.eviltester.com › practice-sites › dummyjson
Dummy JSON - A Mix of API Simulator and GET API - Practice API
Spoiler - that's right, it didn't issue any requests, but now you know not to trust a UI exclusively and to make sure you have the ability to observe network traffic when working with web applications and APIs · dummyjson.com/docs · open the browser dev tools and have the network tab open so you can see the request and response · read through the documentation and find some requests which have [Show Output] buttons · All of the JavaScript shown on the page can be pasted into the JavaScript console so you can learn how to issue HTTP requests from the dev tools, and you can see the request and response in the Network tabs.
🌐
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
3 weeks 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%
Find elsewhere
🌐
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.
🌐
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.
🌐
Reddit
reddit.com › r/reactjs › need help to create a dummy api
r/reactjs on Reddit: Need Help to create a dummy api
April 24, 2023 -

I have design of a dashboard and and i wanna create a simple dummy api which contains all these data which are being shown in this dashboard and and there line chart in that dashboard which needs to be interactive with data of that dummy api

🌐
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.
🌐
npm
npmjs.com › package › node-dummy-api
node-dummy-api - npm
May 16, 2018 - The lightweight alternative to bulky API servers. Latest version: 0.9.9, last published: 7 years ago. Start using node-dummy-api in your project by running `npm i node-dummy-api`. There are no other projects in the npm registry using node-dummy-api.
      » npm install node-dummy-api
    
Published   May 16, 2018
Version   0.9.9
Author   Alexandru Gaman
🌐
Miragejs
miragejs.com
Mirage JS • An API mocking library for frontend developers
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! Productivity just goes through the roof. ... Mirage works with all major JavaScript frameworks, libraries and test runners.
🌐
Envato Tuts+
code.tutsplus.com › home › coding fundamentals
Get a Fake REST API Up and Running Using json-server | Envato Tuts+
June 24, 2022 - That's when the fake REST API comes ... install the package using Node Package Manager (npm). Create a dummy JSON file with some data as per your requirement....
🌐
GitHub
github.com › robinhuy › fake-api-nodejs
GitHub - robinhuy/fake-api-nodejs: Fake API using NodeJS + JSON Server + Socket.IO + GraphQL · GitHub
Request is similar to the user registration API. PUT /users/{id}: Update the entire information of a specific user. Submit the entire user object except for the id field. PATCH /users/{id}: Update the partial information of a specific user. Submit the partial user object except for the id field. POST /products: Create a new product. { "name": "Pork Salted Bellies", "price": 442, "quantity": 16, "thumbnail": "http://dummyimage.com/213x100.png/dddddd/000000", "status": true } PUT /products/{id}: Update the entire information of a specific product.
Starred by 65 users
Forked by 80 users
Languages   JavaScript 83.4% | HTML 9.3% | CSS 7.3%
🌐
DEV Community
dev.to › roshan_100kar › display-dummy-api-json-data-to-a-table-in-react-js-3702
Display Dummy API JSON data to a table in React JS - DEV Community
September 4, 2022 - Hello There In order to Display Dummy API data in table form using react js you have knowledge about... Tagged with react, api, javascript, json.
🌐
CopyProgramming
copyprogramming.com › howto › dummy-api-for-post-method
Post Method Dummy API - Javascript
May 8, 2023 - This new-ish tool eliminates the complications associated with XMLHttpRequest and makes it effortless to fetch resources from an API. Its ease of use makes it a clear choice for developers. We can showcase the process of making a GET request by obtaining some dummy data from the jsonplaceholder API.
🌐
GitHub
github.com › topics › dummy-api
dummy-api · GitHub Topics · GitHub
javascript css typescript html5 react-router reactjs dummy-api
🌐
freeCodeCamp.org
medium.freecodecamp.org › rapid-development-via-mock-apis-e559087be066
No API? No Problem! Rapid Development via Mock APIs
November 16, 2016 - By Cory House Create a realistic mock API with Node.js in three quick steps In this era of service-oriented development, you need to get JSON to and from the server to make your front-end come alive. So an API is a necessity. But, great news: You don...
🌐
Valentino G.
valentinog.com › blog › fake
4 ways to fake an API in frontend development
June 24, 2020 - /* Fetch the data on button click */ const button = document.getElementById("fetch-btn"); button.addEventListener("click", function() { // AJAX request with XMLHttpRequest const request = new XMLHttpRequest(); request.open("GET", "/api/users/"); request.onload = function() { const jsonResponse = JSON.parse(this.response); buildList(jsonResponse); }; request.send(); }); /* Build the user's list */ function buildList(data) { console.log(data); } ... You can see XHR STUB as a confirmation of the stubbing. In this test we just stubbed out the response, but you can easily build the list with JavaScript and add a test to check for an HTML list in the DOM.