Sample APIs
Welcome to SampleAPIs. A playground for messing with RESTful endpoints. Checkout the project onGitHub and consider contributing to the project with a new endpoint!
You can use any HTTP verbs (GET, POST, PUT, PATCH and DELETE) and access your resources from anywhere thanks to CORS.* The data on this site is for educational purposes only and is not owned by SampleAPIs.com
* The data on this site will be reset on a regular basis.
Example code:
Copied!
const baseURL = "https://api.sampleapis.com/futurama/characters";
fetch(baseURL)
.then(resp => resp.json())
.then(data => console.log(data));
Want to Search? Then use this endpoint:
Copied!
const baseURL = "https://api.sampleapis.com/futurama/characters";
fetch(`${baseURL}?name.first=Bender`)
.then(resp => resp.json())
.then(data => console.log(data));