JSONPlaceholder - Free Fake REST API

JSONPlaceholder provides a free, fake, and reliable REST API ideal for testing and prototyping. It offers a set of common resources and supports all HTTP methods, making it a convenient tool for developers learning or practicing API integration.

En bref

Ajouté le

18 mars 2026

Matière et domaine

coding · apis-integration

Niveaux scolaires

6e année–12e année (Terminale)

Type de page

Tool

Introduction

JSONPlaceholder: Free Fake REST API

  • Purpose: Provides fake data for testing, demos, code examples (GitHub, CodeSandbox, Stack Overflow), and local development.
  • Available Resources:
    • /posts: 100 items
    • /comments: 500 items
    • /albums: 100 items
    • /photos: 5,000 items
    • /todos: 200 items
    • /users: 10 items
  • Data Relationships: Resources are interconnected (e.g., posts have many comments, albums have many photos).
  • API Capabilities:
    • Supports all standard HTTP methods (GET, POST, PUT, PATCH, DELETE).
    • Supports both HTTP and HTTPS protocols.
    • Allows filtering via query parameters (e.g., /comments?postId=1).
  • Customization: Users can create their own fake REST server via the sponsor "Mockend" using a GitHub repository.

Avis de la communauté

Pas encore d’avis publiés. Soyez le premier à partager votre expérience.