Zum Inhalt springen

API and integrations

One content API. Every frontend you want.

A clean REST API, flexible webhooks, and content you can query the moment you save it. Build once, publish to websites, apps, signage, or anything else that speaks JSON.

Open source under AGPLv3. Free plan, unlimited editors.

What this replaces

API-first, not API-also.

Plenty of systems call themselves headless, then pile on proprietary abstractions until you are locked in again. If it is in b10cks, you can query it. No hidden endpoints, no SDK-only features, nothing that only works in the dashboard.

How the API works

Resource-oriented. No surprises.

The REST API follows conventions you already know. Responses are structured JSON with consistent shapes, so the code you write today still reads correctly a year from now.

01 / Fetch

Ask for a page, get the page.

One request returns the full content tree with nested blocks already resolved. No second round trip to stitch relations back together.

02 / Shape

The shape is yours.

Your block model defines the JSON. Field names, nesting, and types come straight from the structure you designed, not from a schema we chose for you.

03 / Preview

Drafts on request.

Switch between draft and published state with a query parameter. Point your staging build at drafts and your production build at published content.

04 / Localize

One request per locale.

Locale-aware responses with fallback chains built in. Ask for French, get French where it exists and the fallback where it does not.

05 / Page

Large sets stay quick.

Cursor-based pagination for collections that keep growing. Walk a thousand entries without the offset drift that breaks lists mid-crawl.

06 / Notify

Your build hears about it.

Webhooks fire on the changes you care about, so deploys, caches, and search indexes react on their own. Endpoints are versioned, so integrations do not break on updates.

Bring your frontend

The tools you love, not a page builder in their place.

b10cks hands you structured content and stays out of the presentation. Keep your framework, your components, and your deploy pipeline.

NuxtOfficial module
Next.jsReact, your way
AstroContent-first sites
SvelteKitLean and fast
LaravelBlade or Inertia
{ }Any JSON client

Built for the way you build

Your frontend. Your architecture. Your call.

A clean content API, flexible webhooks, and the source code to make it yours. The whole server is open under AGPLv3, so the API is a public contract rather than a moat. Read the code, audit it, or send a fix.

Structured content / any frontend

// A structure you define.
// A response you can predict.
{
  "component": "hero",
  "heading": "Built to go further",
  "blocks": [
    { "component": "grid", "cols": 3 }
  ],
  "locale": "en",
  "state": "published"
}
  • Nested blocks
  • Locales + fallbacks
  • Draft or published

A few things worth knowing.

Start querying today

Your content. Your stack. One request away.

Create a workspace, model your first block, and read it back over the API. It takes minutes, and your frontend stays exactly where you left it.