Add a blog to any site in minutes - for free
A free, hosted headless blog API for Next.js projects, business sites, and SaaS dashboards. Markdown content, JSON endpoints, image hosting, drafts, categories, and tags - no CMS to maintain, no credit card.
Free during beta · Approval within 24 hours · No credit card required
100%
Free for developers
6
REST endpoints
JSON
+ Markdown content
CDN
image hosting included
Plug a blog into whatever you're building
You write posts in the dashboard. We hand back JSON. You render it however your stack wants - at build time, at request time, or on the edge.
Your Next.js side project
Add a /blog route to your Next.js, Astro, or Nuxt app in an afternoon. Fetch posts at build time for ISR, or at request time - both work.
Build patternYour business or agency site
Run a content marketing blog on your company site without standing up WordPress. Manage posts in our dashboard, render them on your domain.
See use casesYour SaaS or product dashboard
Surface release notes, tutorials, or a 'What's new' panel inside your app. The API is stateless and CDN-friendly - drop it anywhere.
See endpointsFrom zero to first post in three steps
No SQL to migrate. No CMS to deploy. No server to maintain.
- 1
Sign in and request a tenant
Go to your dashboard, request a tenant with your name. Most requests are approved within 24 hours.
- 2
Copy your API key
Once approved you'll see an X-API-Key in your dashboard. Store it as an environment variable in your project.
- 3
POST your first post
Create posts via the dashboard or with a single POST request. The API returns the post as JSON, ready to render.
Everything you need, nothing you don't
A focused feature set built for real production traffic.
JSON over HTTP
Predictable REST endpoints with Markdown content, slugs, tags, categories, read time, and timestamps. No GraphQL learning curve.
Scoped API keys
Every tenant gets a key. Pass it as X-API-Key and you can only read and write your own posts. Regenerate keys any time.
Image hosting included
Upload cover images via the dashboard or the upload endpoint. Stored on a CDN and returned as optimized URLs - no S3 to wire up.
Drafts, categories & tags
Save drafts, toggle publish state, tag posts, group by category, and mark featured posts - all from a clean dashboard.
Fast & cached
List endpoints respond in tens of milliseconds. Frontend frameworks can revalidate on demand or stale-while-revalidate as they like.
Multi-tenant isolation
Your posts and images are isolated per tenant. No accidental cross-tenant reads, ever. Soft-delete on every destructive call.
Drop this in your Next.js app
Server-side fetch with ISR. One file. No client SDK to install.
// app/blog/page.tsx (Next.js 15+)
const POSTS_URL = "https://api.smitparekh.co.in/api/v1/blogs";
export const revalidate = 86400; // refresh daily; this page rarely changes
async function getPosts() {
const res = await fetch(POSTS_URL, {
headers: { "X-API-Key": process.env.BLOG_API_KEY! },
next: { revalidate: 86400 },
});
if (!res.ok) throw new Error("Failed to load posts");
const { data } = await res.json();
return data;
}
export default async function BlogPage() {
const posts = await getPosts();
return (
<ul>
{posts.map((p) => (
<li key={p._id}>
<a href={`/blog/${p.slug}`}>{p.title}</a>
</li>
))}
</ul>
);
}A tiny REST surface area
Six endpoints. Every one returns JSON.
- GET
/api/v1/blogsList all published posts - GET
/api/v1/blogs/:idFetch a single post by ID or slug - POST
/api/v1/blogsCreate a new post (saved as draft) - PUT
/api/v1/blogs/:idUpdate fields on an existing post - PATCH
/api/v1/blogs/:id/publishToggle publish state - DELETE
/api/v1/blogs/:idSoft-delete a post
Full docs with copy-paste fetch examples are inside your dashboard at /dashboard/blog/api-docs.
Blog API vs. WordPress vs. a headless CMS
If you just need a blog inside an app you already have, a hosted JSON API beats standing up a whole CMS.
Blog API This product | WordPress Self-hosted | Headless CMS SaaS | |
|---|---|---|---|
| Setup time | Minutes - copy a key, fetch JSON | Hours - host, install, secure, update | An afternoon of config + billing setup |
| Hosting & maintenance | None - fully hosted for you | You own servers, updates & security | Hosted, but vendor lock-in |
| Cost | Free during beta, no credit card | Hosting + plugins + your time | Free tier, then per-seat pricing |
| Frontend freedom | Any stack - JSON in, render anywhere | Themes, or headless with extra work | Headless, but schema-locked |
| Best for | Devs adding a blog to an existing app | Standalone content sites | Large editorial teams |
Free for every developer - here's the honest reason
I built this Blog API for my own projects, and running it for other developers costs me almost nothing extra - so it's free for anyone to use. It's also the clearest demo of how I build: a multi-tenant, documented, production API that you can actually plug in today. If it saves you a weekend, great. And if you later need a custom API, a SaaS backend, or a full web app built the same way, you already know what you'll get.
Common questions
What is a headless blog API?+
A headless blog API exposes your blog posts as JSON over HTTP. You manage posts in our dashboard (or via the API itself) and render them on any frontend you want - Next.js, Astro, Nuxt, plain HTML, or a SaaS dashboard.
Do I need to sign up to use it?+
Yes. Sign in to the dashboard, request a tenant, and once approved you get an API key. Every request is scoped to your tenant.
Can I use it with Next.js, React, or my business website?+
Yes. JSON in, Markdown out. Works with Next.js, React, Astro, Nuxt, Remix, WordPress, plain HTML, or any backend.
Is image hosting included?+
Yes. Upload cover images from the dashboard or via the upload endpoint. We store them on a CDN and return optimized URLs.
How much does it cost?+
Free during the current beta. Reasonable rate limits per tenant. Pricing for higher tiers will be announced in the changelog.
Can I export my posts later?+
Yes. Every list and detail endpoint returns full Markdown content, so a single GET pulls everything you've written.
Get your API key and ship a blog this week
Sign in, request a tenant, copy your key. Most approvals land within 24 hours.