Developer SDK

Build Content-Driven Apps Faster

Integrate blog content into Next.js apps with SSR, caching, and multilingual support.

Built for Next.js Developers

Why BlogFlow SDK?

Lightning Fast

Optimized for Next.js 14+ with built-in ISR and SSR support. Fetch and cache content at the edge.

Type-Safe

Full TypeScript support with auto-completion. Catch errors before they reach production.

Multi-Language

Access content in multiple languages with a single API call. Perfect for global markets.

Zero Config

Works out of the box with sensible defaults. Customize only what you need.

Composable

Mix and match SDK modules. Use only what your project needs.

Production Ready

Designed for production deployments with stable SDK APIs.

Installation & Setup

Get Started in Minutes

1

Install the SDK

npm install @blogflow/sdk
2

Configure your API key

Create a .env.local file in your project root and add your API key:

# .env.local
BLOGFLOW_API_KEY=your_api_key_here

NEXT_PUBLIC_BLOGFLOW_API_KEY=your_api_key_here
3

Start fetching posts

client.getPosts()

Code Examples

Simple, Powerful API

example.tsx
# First, add to your .env.local file:
NEXT_PUBLIC_BLOGFLOW_API_KEY=your_api_key_here

# Then use in your component:
import { BlogFlowUI } from '@blogflow/sdk/react';

export default function BlogPage() {
  return (
    <BlogFlowUI
      apiKey={process.env.NEXT_PUBLIC_BLOGFLOW_API_KEY}
    />
  );
}

// That's it! You now have:
// ✅ 16 built-in themes
// ✅ 12 view modes (card, list, grid, etc.)
// ✅ Server-side & client-side search
// ✅ Multi-language support
// ✅ Complete pagination
// ✅ Responsive design

What You Get

Developer Essentials

Full TypeScript definitions
Next.js App Router support
Server and client SDK modules
Built-in caching helpers
Webhook integrations
Filtering and pagination APIs
Theme and view presets
Email support

Ready to Build?

Apply for invite access and start integration.