Twitter has a public API which returns JSON, for example -

A GET request to:

https://api.twitter.com/1/statuses/user_timeline.json?include_entities=true&include_rts=true&screen_name=mralexgray&count=1,

EDIT: Removed due to twitter restricting their API with OAUTH requirements...

{"errors": [{"message": "The Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview.", "code": 68}]}

Replacing it with a simple example of the Github API - that returns a tree, of in this case, my repositories...

https://api.github.com/users/mralexgray/repos

I won't include the output, as it's long.. (returns 30 repos at a time) ... But here is proof of it's tree-ed-ness.

Answer from Alex Gray on Stack Overflow
🌐
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. It can be in a README on GitHub, for a demo on CodeSandbox, in code examples on Stack Overflow, ...or simply to test things locally.
🌐
ReqBin
reqbin.com
Online API Testing Tool | Test Your API Online
Enter your request details and click "Send" to make the request and see the result. All data is transmitted only via secure SSL channels. It's free: ReqBin Online API Tester is free to use. You can start running requests for ...
🌐
DEV Community
dev.to › ruppysuppy › 7-free-public-apis-you-will-love-as-a-developer-166p
7 Free Public APIs you will love as a developer💖 - DEV Community
February 23, 2025 - JSON Placeholder is a service that provides you with fake online REST APIs for testing and prototyping. This is a go-to API for every developer. Google has a plethora of APIs, but most of them are paid.
🌐
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.
🌐
DummyJSON
dummyjson.com › docs › todos
Todos - DummyJSON - Free Fake REST API for Placeholder JSON Data
Get Free Temporary & Disposable Emails. dummyinbox.com · The todos endpoint provides a dataset of sample to-do items, including details like task descriptions, statuses, and user IDs, ideal for testing and prototyping task management and productivity applications. ... By default you will get 30 items, use Limit and skip to paginate through all items. fetch('https://dummyjson.com/todos') .then(res => res.json()) .then(console.log); Show Output
🌐
Apipheny
apipheny.io › free-api
Free API – 90+ Public APIs For Testing [No Key] – Apipheny
Here are a few of the best, unrestricted, free APIs for testing. They don’t require a key, so you can test the sample URLs out on your browser. Get a list of any or all public APIs currently cataloged in the project. ... Get random cat facts via text message every day. ... View the Bitcoin Price Index (BPI) in real-time. Sample URL: https://api.coindesk.com/v1/bpi/currentprice.json
🌐
DummyJSON
dummyjson.com › docs › products
Products - DummyJSON - Free Fake REST API for Placeholder JSON Data
Get Free Temporary & Disposable Emails. dummyinbox.com · The products endpoint provides a comprehensive dataset of sample product information, including details like names, prices, descriptions, images, and categories, ideal for testing and prototyping e-commerce applications. ... By default you will get 30 items, use Limit and skip to paginate through all items. fetch('https://dummyjson.com/products') .then(res => res.json()) .then(console.log); Show Output
Find elsewhere
🌐
GitHub
github.com › public-apis › public-apis
GitHub - public-apis/public-apis: A collective list of free APIs · GitHub
Free JSON storage service. Ideal for small scale Web apps, Websites and Mobile apps ... Clockify's REST-based API can be used to push/pull data to/from it & integrate it with other systems
Starred by 416K users
Forked by 45K users
Languages   Python 96.8% | Shell 3.2%
🌐
CodeForGeek
codeforgeek.com › home › free online rest api tester (no sign up required)
Free Online REST API Tester (No Sign Up Required) | CodeForGeek
January 13, 2026 - Yes, for POST, PUT, and PATCH methods ... body in JSON format. Yes, you can add Authorization or Bearer tokens in the headers. Yes, you can test both types of endpoints. The tool shows the raw response for any content type. Yes, it is fully mobile-friendly. Yes, it is free and has no usage limits. Yes, as long as your browser can reach the endpoint. ... CodeForGeek (CFG) began as a hub for JavaScript developers ...
🌐
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
February 20, 2026 - 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%
🌐
Beeceptor
beeceptor.com › mock-server › explore
Free Mock APIs for Testing
This mock server leverages Beeceptor features to provide a free and openly accessible fake REST API. This is ideally suited for testing and prototyping. There are a variety of endpoints available and each provides JSON response for resources such as posts, users, comments, todos, etc.
🌐
DummyJSON
dummyjson.com › docs › users
Users - DummyJSON - Free Fake REST API for Placeholder JSON Data
Get Free Temporary & Disposable Emails. dummyinbox.com · The users endpoint provides a versatile dataset of sample user information and related data like carts, posts, and todos, making it ideal for testing and prototyping user management functionalities in web applications. ... By default you will get 30 items, use Limit and skip to paginate through all items. fetch('https://dummyjson.com/users') .then(res => res.json()) .then(console.log); Show Output
🌐
Beeceptor
beeceptor.com › use cases › sample api for testing
Sample API For Testing | Beeceptor
Just an endpoint that responds with JSON. Below are public sample APIs provided by Beeceptor that you can use immediately. They are hosted, CORS-enabled, and return realistic data. Get a dedicated mock server to host a mock API. Set custom response and status code. Create Dummy API For TestingInspect incoming requests • Build a sample API instantly • Free
🌐
Reqres
reqres.in
ReqRes: Free REST API for Testing, Prototyping & QA ...
ReqRes serves billions of API requests every month. On Free plans, we may include a small “supported by” link inside a stable _meta block-never touching data. Paid plans never include sponsorship metadata. Developer-first placement (docs-style JSON metadata)
🌐
ApiUji
apiuji.com › home
Free API Tester & Developer Tools - Test APIs, Format JSON, SQL & Code Online
Complete suite of free developer tools. Test REST APIs with full authentication support, format and validate JSON instantly, test regex patterns, beautify SQL queries, and format code in 20+ languages. All tools work in your browser - no installation needed.
🌐
REST API
restful-api.dev
Free Real REST API – Full CRUD Support (GET, POST, PUT, PATCH, DELETE) for Testing & Learning
Learn about restful‑api.dev - a free platform helping developers, students, and educators explore, test, and master RESTful APIs through practical tools and public endpoints.
🌐
Medium
tapajyoti-bose.medium.com › 7-free-public-apis-you-will-love-as-a-developer-c56fc80c35aa
7 Free Public APIs you will love as a developer💖 | by Tapajyoti Bose | Medium
March 1, 2025 - 7 Free Public APIs you will love as a developer💖 1. JSON Placeholder JSON Placeholder is a service that provides you with fake online REST APIs for testing and prototyping. This is a go-to API for …
🌐
GitHub
github.com › peter › jsonapitest
GitHub - peter/jsonapitest: JSON driven test runner for REST APIs
This is a test framework targeted at JSON REST APIs. It comes in the form of a Node.js package called jsonapitest that is available on the command line to run your tests. Tests are specified in JSON or JavaScript files and grouped into test suites. Each test contains a list of API calls with assertions.
Starred by 81 users
Forked by 16 users
Languages   JavaScript 99.7% | Shell 0.3% | JavaScript 99.7% | Shell 0.3%
🌐
ReqBin
reqbin.com › req › enuzjzmm › test-json-api
How do I test JSON API?
December 4, 2022 - Use the ReqBin JSON API Testing tool to validate your JSON response for API endpoints using auto syntax highlighting and a JSON validator. ... JSON (JavaScript Object Notation) is a textual format for representing structured data based on the ...