DEV Community

Andre
Andre

Posted on

Stop paying for Mock APIs. Here is a 100% free, zero-auth Smart Mock & SSE Stream Tool

Hey everyone! 👋

As a frontend developer, I was always frustrated by existing Mock API tools. They either limit your daily requests, require a credit card/sign-up, or hide cool features behind a paywall.

So, I decided to build a completely free, unlimited, and zero-database tool directly integrated into our developer community: Fikiral Smart Mock API.

What makes it unique?

It encodes your JSON data directly into the URL using Base64. This means your links never expire, there is no data cap, and you don't even need to create an account.

But that's not all. I wanted to make it a fully capable sandbox. You can simulate complex backend behaviors using just URL parameters:

  1. ⚡ Server-Sent Events (SSE) Live Streaming: Just add &stream=true to your endpoint. It instantly converts your static JSON into a real-time stream (1-second intervals). Perfect for testing AI/ChatGPT-like typing effects!
  2. ⏳ Network Delay: Add &delay=3000 to simulate a 3-second loading/spinner state.
  3. ❌ Custom Status Codes: Add &status=401 or &status=500 to test how your UI handles errors.
  4. 🔍 Dynamic Filtering: Add &q=YourKeyword to filter matching values inside arrays on the fly.
  5. 🔢 Pagination Limit: Add &limit=5 to restrict your array responses.

How to use it?

  1. Go to Fikiral Mock API
  2. Paste your custom JSON.
  3. Click "Generate Smart Endpoint".
  4. Use the URL in your React, Vue, Next.js, or Vanilla JS projects.

I built this tool to give back to the developer community. Please try it out, break it, and let me know what features you want me to add next!

Check it out here: https://www.fikiral.net.tr/

Top comments (1)

Collapse
 
gimi5555 profile image
Gilder Miller

Base64 in the URL is a smart approach for persistence. But I'm wondering about size limits - most browsers cap URLs around 2000-8000 characters. How does it handle larger JSON payloads? Do you just hit a wall at some point?
The SSE streaming feature is really practical though. Most mock tools just give you static responses. Being able to test real-time UI behavior without spinning up a separate backend saves a lot of headache.