Sample APIs
Welcome to SampleAPIs. A playground for messing with RESTful and GraphQL endpoints. Checkout the project on GitHub 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 using CORS and JSONP.* 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://sampleapis.com/futurama/api/characters";
fetch(baseURL)
.then(resp => resp.json())
.then(data => console.log(data));
Want to Search? Then use this endpoint:
Copied!
const baseURL = "https://sampleapis.com/futurama/api/characters";
fetch(`${baseURL}?name.first=Bender`)
.then(resp => resp.json())
.then(data => console.log(data));