APIHub
Back to Explore

Gorest

Gorest is a free public REST API that supplies realistic, daily‑seeded data for users, posts, comments, and todos, offering full CRUD operations with bearer‑token authentication, customizable rate limits, and JSON or XML response formats.

Development
bearer
HTTPS
CORS: Unknown
Description enriched
Visit official documentation

Latency

1129ms p95

Uptime

100.0% 30d

Playground

Verified

live

Endpoints

REST · JSON
GET

/public/v2/users/{id}/todos

Todos owned by a user

  • id (path, required) — User ID
POST

/public/v2/users/{id}/todos

Create a todo for a user

  • id (path, required) — User ID
PUT

/public/v2/users/{id}

Replace a user (full)

  • id (path, required) — User ID
DELETE

/public/v2/users/{id}

Delete a user

  • id (path, required) — User ID
GET

/public/v2/users/{id}/posts

Posts authored by a user

  • id (path, required) — User ID
POST

/public/v2/users/{id}/posts

Create a post for a user

  • id (path, required) — User ID
GET

/public/v2/posts/{id}/comments

Comments on a post

  • id (path, required) — Post ID
POST

/public/v2/posts/{id}/comments

Add a comment to a post

  • id (path, required) — Post ID
GET

/public/v2/users

List users with optional filters

  • page (query, page) — Pagination page number
  • per_page (query, limit) — Results per page (max 100)
GET

/public/v2/users/{id}

Fetch a single user

  • id (path, required) — User ID
POST

/public/v2/users

Create a new user

PATCH

/public/v2/users/{id}

Update a user (partial)

  • id (path, required) — User ID

12 endpoints auto-detected

Authentication

This API uses Bearer token authentication — pass your token in the Authorization header.

curl -X GET \
  "https://gorest.co.in//public/v2/users/{id}/todos" \
  -H "Authorization: Bearer YOUR_TOKEN"

gorest.co.in · HTTPS only