[{"data":1,"prerenderedAt":55},["ShallowReactive",2],{"use-cases-mock-api-from-csv":3},{"id":4,"title":5,"body":6,"canonical":13,"card":14,"component":18,"createdAt":19,"description":20,"difficulty":21,"extension":22,"faq":23,"featured":39,"indexStory":21,"intent":40,"keywords":41,"meta":46,"metaTitle":47,"navigation":48,"pageType":49,"path":17,"sections":21,"seo":50,"slug":51,"status":52,"stem":53,"timeToComplete":21,"updatedAt":19,"__hash__":54},"useCases/use-cases/mock-api-from-csv.md","Mock API from CSV",{"type":7,"value":8,"toc":9},"minimark",[],{"title":10,"searchDepth":11,"depth":11,"links":12},"",2,[],"https://getapibutler.com/use-cases/mock-api-from-csv",{"tag":15,"headline":5,"summary":16,"href":17},"Use case","Replace generic mocks with a REST endpoint backed by your own rows—for realistic UI and flow testing.","/use-cases/mock-api-from-csv","MockApiFromCsv","2026-05-06","Create a mock API from your own CSV data using API Butler. Build realistic test APIs for development and prototyping in seconds.",null,"md",[24,27,30,33,36],{"question":25,"answer":26},"What is a mock API?","A mock API is an HTTP endpoint that stands in for a backend during development—used to unblock frontend work, run demos, and exercise loading and error states before production services exist.",{"question":28,"answer":29},"How do I create a mock API with API Butler?","Upload a CSV with headers as the first row. API Butler generates a hosted GET endpoint that returns your rows as JSON, ready for fetch calls from your app or tests.",{"question":31,"answer":32},"Can I use my own data?","Yes. Any CSV you provide becomes the source for responses—schemas and sample values match your export instead of a generic catalog baked into someone else's mock server.",{"question":34,"answer":35},"Is this better than JSONPlaceholder?","JSONPlaceholder is useful for quick demos with fixed canned payloads. API Butler fits when you need payloads shaped like your domain—with your columns, filters, and pagination—without maintaining bespoke fixture files.",{"question":37,"answer":38},"Can I update the mock data later?","Yes. Upload a new CSV in the dashboard to refresh rows while keeping the same endpoint identifier where configured.",false,"Commercial",[42,43,44,45],"mock api from csv","csv mock api","realistic mock api","test api from spreadsheet",{},"Mock API from CSV | Create Realistic Test APIs Instantly",true,"UseCase",{"title":5,"description":20},"mock-api-from-csv","published","use-cases/mock-api-from-csv","kgrFxNj-N6NYouZrKCEZCIoXqLtag1I09kZI9lWuMB4",1782745365877]