๐ŸŒ
JSON:API
jsonapi.org โ€บ examples
JSON:API โ€” Examples
Note: The above example URI shows unencoded [ and ] characters simply for readability. In practice, these characters should be percent-encoded, as noted in the base specification. See โ€œSquare Brackets in Parameter Namesโ€. Here we want articles objects to have fields title, body and author only and people objects to have name field only. HTTP/1.1 200 OK Content-Type: application/vnd.api+json { "data": [{ "type": "articles", "id": "1", "attributes": { "title": "JSON:API paints my bikeshed!", "body": "The shortest article.
๐ŸŒ
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.
๐ŸŒ
JSONPlaceholder
jsonplaceholder.typicode.com โ€บ guide
JSONPlaceholder - Guide
fetch('https://jsonplaceholder.typicode.com/posts/1', { method: 'PUT', body: JSON.stringify({ id: 1, title: 'foo', body: 'bar', userId: 1, }), headers: { 'Content-type': 'application/json; charset=UTF-8', }, }) .then((response) => response.json()) .then((json) => console.log(json));
๐ŸŒ
DummyJSON
dummyjson.com โ€บ docs โ€บ products
Products - DummyJSON - Free Fake REST API for Placeholder JSON Data
fetch('https://dummyjson.com/products/add', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ title: 'BMW Pencil', /* other product data */ }) }) .then(res => res.json()) .then(console.log); Show Output
๐ŸŒ
JSON:API
jsonapi.org
JSON:API โ€” A specification for building APIs in JSON
By following shared conventions, ... best practices. Clients built around JSON:API are able to take advantage of its features around efficiently caching responses, sometimes eliminating network requests entirely. Hereโ€™s an example response from a blog that implements ...
๐ŸŒ
ReqBin
reqbin.com โ€บ req โ€บ 8rng6ed1 โ€บ json-api-client
How do I send a JSON API requests?
JSON API is designed to minimize the number of requests and the amount of data transmitted between clients and servers. The JSON API is fully described on JSONAPI.org ยท The following is an example of sending a JSON API request to the ReqBin echo URL:
๐ŸŒ
Developer APIs
developerapis.vercel.app
Free JSON & Fake REST APIs for Developers | Products, Users, Blogs
Test JSON & Fake REST APIs instantly. Products, Users, and Blogs endpoints โ€” no authentication required. Perfect for developers & students.
๐ŸŒ
Apisjson
apisjson.org
APIs.json - Home
APIs.json is a machine readable specification that API providers can use to describe their API operations, similar to how web sites are described using sitemap.xml.
Find elsewhere
๐ŸŒ
Swagger
swagger.io โ€บ specification
OpenAPI Specification - Version 3.1.0 | Swagger
The OpenAPI Specification defines a standard interface to RESTful APIs which allows both humans and computers to understand service capabilities without access to source code, documentation, or network traffic inspection.
๐ŸŒ
Medium
medium.com โ€บ @niranjan.cs โ€บ what-is-json-api-3b824fba2788
What is JSON API?. A brief post about what JSON APIโ€ฆ | by Niranjan Sathindran | Medium
November 8, 2019 - The example payload above has only one article, but it can be any number. data[0].relationships describes all relationships to the parent element described within data[0]. included array element then describes each of the entity described within the data array. A similar payload can be returned using a standard application/json MIME type as well. Then why use the JSON API specific MIME?
๐ŸŒ
JSON:API
jsonapi.org โ€บ format
JSON:API โ€” Latest Specification (v1.1)
According to the profile, the attribute ... With such a profile applied, a response might appear as follows: HTTP/1.1 200 OK Content-Type: application/vnd.api+json;profile="https://example.com/resource-timestamps" // ......
๐ŸŒ
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
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
3 weeks ago - Get a full fake REST API with zero coding in less than 30 seconds (seriously) - typicode/json-server
Starred by 75.6K users
Forked by 7.3K users
Languages ย  JavaScript 91.7% | HTML 8.3%
๐ŸŒ
Apidog
apidog.com โ€บ blog โ€บ json-api-responses
Mastering API Responses: The Definitive Guide to JSON Formatting
July 21, 2025 - When an API is called, the server responds with a JSON-formatted text that represents the data requested. This could be anything from user information to a list of products. The JSON format ensures that this data can be easily parsed by the client application and used as needed. For example, a ...
๐ŸŒ
National Weather Service
weather.gov โ€บ documentation โ€บ services-web-api
API Web Service
You may also review the OPEN API specification on the "Specification" tab on this page, or directly using the specification endpoint (that is also used to create the tab presentation): https://api.weather.gov/openapi.json. Forecasts are created at each NWS Weather Forecast Office (WFO) on their own grid definition, at a resolution of about 2.5km x 2.5km. The API endpoint for the 12h forecast periods at a specific grid location is formatted as: https://api.weather.gov/gridpoints/{office}/{gridX},{gridY}/forecast ยท For example: https://api.weather.gov/gridpoints/TOP/31,80/forecast
๐ŸŒ
CRAN
cran.r-project.org โ€บ web โ€บ packages โ€บ jsonlite โ€บ vignettes โ€บ json-apis.html
Fetching JSON data from REST APIs
Below an example from the ProPublica Nonprofit Explorer API where we retrieve the first 10 pages of tax-exempt organizations in the USA, ordered by revenue. The rbind_pages function is used to combine the pages into a single data frame. #store all pages in a list first baseurl <- "https://projects.propublica.org/nonprofits/api/v2/search.json?order=revenue&sort_order=desc" pages <- list() for(i in 0:10){ mydata <- fromJSON(paste0(baseurl, "&page=", i), flatten=TRUE) message("Retrieving page ", i) pages[[i+1]] <- mydata$organizations } #combine all into one organizations <- rbind_pages(pages) #check output nrow(organizations)
๐ŸŒ
ReqBin
reqbin.com โ€บ req โ€บ v0crmky0 โ€บ rest-api-post-example
How do I post JSON to a REST API endpoint?
To post JSON to a REST API endpoint, you must send an HTTP POST request to the REST API server and provide JSON data in the body of the POST message. You must also specify the data type using the Content-Type: application/json request header.
๐ŸŒ
JSON:API
jsonapi.org โ€บ recommendations
JSON:API โ€” Recommendations
GET /photos/jobs/5234 HTTP/1.1 Accept: application/vnd.api+json ยท Requests for still-pending jobs SHOULD return a status 200 OK, as the server is reporting the status successfully. Optionally, the server can return a Retry-After header to provide guidance to the client as to how long it should wait before checking again. Recommendations to retry sooner than 1 second can be accomplished with Retry-After: 0. HTTP/1.1 200 OK Content-Type: application/vnd.api+json Retry-After: 10 { "data": { "type": "jobs", "id": "5234", "attributes": { "status": "Pending request, waiting other process" }, "links": { "self": "/photos/jobs/5234" } } }...