← All datasets
💬

Mock Comments JSON Dataset

API Mocks · 10 records

User comments linked to posts with author, body, likes, and timestamps. Free to use, no attribution required — copy it, download it, or open it directly in the JSON Formatter. Runs entirely in your browser.

#comments#mock#api#social

Fields

idnumber
postIdnumber
userIdnumber
authorstring
bodystring
likesnumber
createdAtstring

Common uses

  • Frontend development before the backend is ready
  • API integration testing
  • Demo and sandbox environments
  • Webhook handler testing
[
  {
    "id": 1,
    "postId": 1,
    "userId": 5,
    "author": "alice_dev",
    "body": "Great post! Really helped me understand the concept.",
    "likes": 12,
    "createdAt": "2024-01-15T10:23:00Z"
  },
  {
    "id": 2,
    "postId": 1,
    "userId": 8,
    "author": "bob_codes",
    "body": "I had the same issue last week. Your solution is elegant!",
    "likes": 7,
    "createdAt": "2024-01-15T11:45:00Z"
  },
  {
    "id": 3,
    "postId": 2,
    "userId": 3,
    "author": "carol_tech",
    "body": "Have you considered using a different approach here?",
    "likes": 3,
    "createdAt": "2024-01-16T09:12:00Z"
  },
  {
    "id": 4,
    "postId": 2,
    "userId": 11,
    "author": "dave_maker",
    "body": "This saved me hours of debugging. Thank you!",
    "likes": 22,
    "createdAt": "2024-01-16T14:30:00Z"
  },
  {
    "id": 5,
    "postId": 3,
    "userId": 2,
    "author": "eve_engineer",
    "body": "The benchmarks you included are very helpful.",
    "likes": 9,
    "createdAt": "2024-01-17T08:00:00Z"
  },
  {
    "id": 6,
    "postId": 3,
    "userId": 7,
    "author": "frank_fullstack",
    "body": "Any plans to cover the async version of this?",
    "likes": 5,
    "createdAt": "2024-01-17T16:45:00Z"
  },
  {
    "id": 7,
    "postId": 4,
    "userId": 1,
    "author": "grace_uiux",
    "body": "Subscribed! Looking forward to more content like this.",
    "likes": 14,
    "createdAt": "2024-01-18T11:00:00Z"
  },
  {
    "id": 8,
    "postId": 4,
    "userId": 9,
    "author": "henry_hacks",
    "body": "Minor typo in the code snippet on step 3, but overall excellent writeup.",
    "likes": 2,
    "createdAt": "2024-01-18T13:22:00Z"
  },
  {
    "id": 9,
    "postId": 5,
    "userId": 4,
    "author": "irene_infra",
    "body": "This pattern works great in production. We deployed it last month.",
    "likes": 31,
    "createdAt": "2024-01-19T07:30:00Z"
  },
  {
    "id": 10,
    "postId": 5,
    "userId": 6,
    "author": "jack_backend",
    "body": "What's the performance like under heavy load?",
    "likes": 8,
    "createdAt": "2024-01-19T09:55:00Z"
  }
]

Related datasets

📰 Mock Blog Posts Mock Events (Webhooks)🔔 Mock Notifications🛒 Mock Orders

Related tools

JSON FormatterJSON DiffJSON to TypeScript