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
fetch('https://jsonplaceholder.typicode.com/todos/1') .then(response => response.json()) .then(json => console.log(json)) Run script
🌐
ReqBin
reqbin.com β€Ί req β€Ί kdgssafi β€Ί test-json-request-online
How do I test JSON request online?
January 16, 2023 - Clients of REST APIs interact with resources via HTTP protocol for standard CRUD operations. An API endpoint is a simple URL representing a collection of objects or a single object. The API sends requests to endpoints, which are locations where the resources are located. Each endpoint is a URL where APIs can access resources needed to function. To test a JSON request using the ReqBin JSON API testing tool, follow these steps:
🌐
Mocki
mocki.io β€Ί fake-json-api
Fake API - Dummy User and Todo API - Create Your Own
Below we have created APIs that serve test data for you to use. We created them with the form above. If you want to create your own API instead of using ours, feel free! Users are one of the most fundamental components for a lot of apps. Therefore we will start out by using some endpoints providing a fake JSON API for users. A simple list of users. Call the endpoint we have prepared below to get started. URL: https://mocki.io/v1/d4867d8b-b5d5-4a48-a4ab-79131b5809b8
🌐
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.
🌐
GitHub
gist.github.com β€Ί awadhawan18 β€Ί 54592d9ec5e7be1b39013cdd7e78dae4
Sample json data with image and a text for testing Β· GitHub
Learn more about clone URLs Β· Clone this repository at <script src="https://gist.github.com/awadhawan18/54592d9ec5e7be1b39013cdd7e78dae4.js"></script> Save awadhawan18/54592d9ec5e7be1b39013cdd7e78dae4 to your computer and use it in GitHub Desktop. Download ZIP Β· Sample json data with image and a text for testing Β·
🌐
Beeceptor
beeceptor.com β€Ί use cases β€Ί sample api for testing
Sample API For Testing | Beeceptor
This involves choosing a method (GET, POST, PUT, DELETE, etc.) and setting the path (e.g., /users, /products). Beeceptor allows you to declare JSON, XML, or plain text responses, making it versatile for different use cases. Copy the endpoint URL and use in the code to test the API.
🌐
Jsontest
jsontest.com
JSON Test by jsontest
JSONTest.com is a testing platform for services utilizing JavaScript Object Notation (JSON). To use, make a request to servicename.jsontest.com, where servicename is the name of a service listed below. We also support a number of parameters, such as callback, allowing you to test Javascript ...
Find elsewhere
🌐
ReqBin
reqbin.com β€Ί req β€Ί enuzjzmm β€Ί test-json-api
How do I test JSON API?
December 4, 2022 - The following is an example of a JSON API request to ReqBin echo URL: ... Convert your Test JSON API request to the PHP, JavaScript/AJAX, Node.js, Curl/Bash, Python, Java, C#/.NET code snippets using the ReqBin code generator.
🌐
Microsoft Edge
microsoftedge.github.io β€Ί Demos β€Ί json-dummy-data
JSON dummy data | Demos
This is a collection of dummy JSON files in various sizes to use as test data for the JSON viewer.
🌐
Restapiexample
dummy.restapiexample.com
Dummy sample rest api - dummy.restapiexample.com
This page will list all of the rest services. These are fake online REST APIs for testing and prototyping sample applications that use rest calls to display listings and crud features.
🌐
ReqBin
reqbin.com β€Ί req β€Ί y49bnbn3 β€Ί test-json-response-online
How do I test JSON response online?
Inspect JSON response with automatic syntax highlighting and JSON validator. Click Send to execute the Test JSON request online and see and analyze the JSON response from the server. ... JSON (JavaScript Object Notation) is a language-independent text format for storing and exchanging data.
🌐
SitePoint
sitepoint.com β€Ί blog β€Ί javascript β€Ί test data json example
Test Data JSON Example β€” SitePoint
February 12, 2024 - Luckily, we live in an age where we can get access to online services that can easily generate hundreds of rows of test data for free. One such service is Mockaroo. It supports generating data in a number of data formats including JSON. Here is a sample I got from their website:
🌐
Beeceptor
app.beeceptor.com β€Ί mock-server β€Ί dummy-json
Dummy JSON Rest API - Mock API
Tired of using Lorem ipsum for testing? Transition to Beeceptor and enjoy realistic dummy/fake JSON data for development and prototype testing. This mock server offers various REST Endpoints filled with JSON data or entities, perfect for frontend or app development using your preferred frameworks and libraries.
🌐
Json-format
sample.json-format.com
Sample JSON Files – Free JSON Examples for Testing
Free sample JSON files for developers. Download JSON data and examples in different sizes and formats for testing and integration.
🌐
ReqBin
reqbin.com β€Ί req β€Ί 5nqtoxbx β€Ί get-json-example
How to get JSON from URL?
January 17, 2023 - In this JSON from URL example, we make a GET request to the ReqBin echo URL to get the JSON. Click Send to run Get JSON from URL example online and see results. ... JavaScript Object Notation (JSON) is a lightweight text-based, language-independent data exchange format.
🌐
CodeBurst
codeburst.io β€Ί how-to-set-up-a-test-json-source-online-19ba3db0b7b1
How to Set up a Test JSON Source Online | by Changhui Xu | codeburst
May 3, 2020 - These sources are great for writing up tutorials, testing new libraries, sharing code examples, and so on. The httpbin supports both HTTP and HTTPS schemes (https://httpbin.org/). The nice thing about this tool is that you can also pull a docker image and run an HTTP server locally. The Swagger-like user interface makes the httpbin easy to try out different API endpoints and the predefined API endpoints cover a wide range of use cases. We can simply copy the URL and use it in our code…
🌐
Teamaqua
teamaqua.github.io β€Ί JSONTest
JSON Test by teamaqua
May 12, 2012 - For example, calling http://ip.jsontest.com/?callback=someFunction will return your IP address, inside a JSON object, wrapped in the function someFunction. Comments or ideas? Open a new issue in the GitHub issue tracker (see the GitHub repository link above).
🌐
ReqRes
reqres.in
ReqRes | Free REST API for developers | ReqRes
Postman tests APIs. ReqRes is the API - create a project and Postman has something real to hit, with data that persists. Read full comparison ... JSON Server gives you a local mock API from a JSON file. ReqRes is hosted, persistent, and shared - your whole team hits the same endpoints without running anything locally.
🌐
ReqBin
reqbin.com
Online API Testing Tool | Test Your API Online
Test API responses with built-in JSON, XML, HTML and CSS validators. Generate code snippets for API automation testing frameworks. Share and discuss your API requests online. Beta Try the new online ReqBin App β€” Redesigned UI. Swagger support Open app.reqbin.com β†’ ... ReqBin is an online API testing tool for REST, SOAP and HTTP APIs. Paste an endpoint URL...