Soup a base API

A free to use rest API that returns all data types for testing and teaching

soup

Fed up of Lorem ipsum?

Need some data for testing or teaching?

Soupabase is a fast and free REST API for to use whenever you need real-pseudo data for your front end application without running any backend code. Featuring all data types in responses.

Example Code

fetch('https://cloud-app.soupabase.workers.dev/soup/1')

.then(res=>res.json())

.then(json=>console.log(json))

Routes

HTTP methods supported

GET/soup
GET/soup?limit=5
GET/soup/1
GET/soup/category/all
GET/soup/category/vegetarian
POST/soup
PUT/soup/1
PATCH/soup/1
DELETE/soup/1

Note that POST, PUT, PATCH and DELETE are simulated and won't affect the database

Data Types

All data types returned

id:number
name:string
ingredients:string[]
price:number
hot:boolean
description:string
imgUrl:string
origin:object
category:string
nullValue:null