DEVPANTRY.COM

API Mock Responses & Templates

Loading Chaos Templates...

Production API Response Mocks for Stress Testing

Testing your frontend against clean, perfectly formatted API responses is a recipe for disaster in production. The real world is messy. APIs return nulls, unexpected data types, extreme string lengths, and Unicode anomalies. DevPantry's API Chaos Templates solve this by providing dirty mock data injected directly into real-world API response schemas.

Real-World API Schemas

We've mapped out the exact JSON schemas for some of the most popular APIs and Webhooks, including:

  • Authentication & SSO: Google OpenID Connect ID Tokens, GitHub OAuth Profiles, and Supabase Auth Sessions.
  • Payments & Billing: Stripe Webhook events like `invoice.payment_succeeded` and `customer.subscription.updated`.
  • E-Commerce: Shopify Storefront API and Admin REST responses.
  • Infrastructure: Vercel Deployment hooks and Resend Email delivery statuses.

Why Chaos Testing Matters

By injecting edge-cases into standard payloads, you can proactively test how your application handles unescaped characters, massive integers (like JavaScript's MAX_SAFE_INTEGER bounds), and missing fields.

Related Tools

  • Mock Data Generator — Customize and expand these templates with your own schemas.
  • JWT Decoder — Debug the authentication tokens embedded in these responses.