Jump to content

Contentful

From ZelocoreCMS Wiki
Revision as of 22:20, 29 July 2026 by Digiwayen (talk | contribs) (Full article: overview, features, JS SDK, GraphQL, Management API, pricing)
(diff) ← Older revision | Latest revision (diff) | Newer revision β†’ (diff)


Contentful
Status 🀝 Community
Type Headless CMS / SaaS
License Commercial (Proprietary)
Language SaaS (API-first)
Database
Latest Version
Release Date
Website Official Site
GitHub Repository

Contentful is a leading API-first, cloud-hosted headless content management platform that enables teams to manage content centrally and deliver it to any digital channel β€” websites, mobile apps, digital displays, smart devices, and beyond.

Overview

Contentful was founded in Berlin, Germany in 2013 by Sascha Korth and Paolo Negri, and has since grown into one of the world's most popular headless CMS platforms, serving over 30% of the Fortune 500 companies. The company has raised over $330 million in venture funding.

Contentful operates on a content-as-infrastructure model: content is stored in a structured, technology-agnostic format and delivered via APIs in JSON. This allows organizations to reuse the same content across websites (built in any framework), iOS apps, Android apps, Alexa skills, digital signage, and any other channel that can make HTTP requests.

Notable Contentful customers include Spotify, Porsche, Vodafone, Stack Overflow, Intercom, and Red Bull. It is particularly popular in enterprise organizations with multi-channel digital strategies.

Key Features

  • Content Modeling β€” Define custom content types with 20+ field types (text, rich text, number, date, reference, media, location, etc.)
  • Rich Text Editor β€” Embedded assets, hyperlinks, inline entries, and custom marks via Slate.js
  • Content Delivery API (CDA) β€” Fast, CDN-backed read-only API for frontend consumption
  • Content Management API (CMA) β€” Full programmatic access to create, update, and publish content
  • Content Preview API β€” Preview unpublished content in your front-end before publishing
  • GraphQL API β€” Auto-generated schema for all content types
  • Environments β€” Branch content like code (master, staging, development) for safe previewing and testing
  • Workflows β€” Customizable publishing workflows with approval steps
  • Localization β€” Multi-locale content with per-field locale control
  • Webhooks β€” Trigger builds and deployments on content changes
  • Apps Framework β€” Build and install custom apps inside the Contentful UI

Getting Started

Contentful is a SaaS platform β€” sign up at contentful.com and set up your Space.

Install SDK

# JavaScript / Node.js
npm install contentful

# For content management (writing)
npm install contentful-management

Fetch Content (JavaScript)

import { createClient } from 'contentful';

const client = createClient({
  space: 'YOUR_SPACE_ID',
  accessToken: 'YOUR_DELIVERY_API_TOKEN',
});

// Fetch all blog posts
const entries = await client.getEntries({
  content_type: 'blogPost',
  limit: 10,
  order: '-sys.createdAt',
});

entries.items.forEach(entry => {
  console.log(entry.fields.title);
  console.log(entry.fields.body);
});

GraphQL API

# Endpoint: https://graphql.contentful.com/content/v1/spaces/{SPACE_ID}
# Authorization: Bearer YOUR_DELIVERY_TOKEN

query {
  blogPostCollection(limit: 10, order: sys_publishedAt_DESC) {
    items {
      title
      slug
      excerpt
      publishedDate
      author {
        name
        avatar { url }
      }
      featuredImage { url title }
    }
  }
}

Create Content via Management API

import { createClient } from 'contentful-management';

const client = createClient({ accessToken: 'YOUR_MANAGEMENT_TOKEN' });
const space = await client.getSpace('YOUR_SPACE_ID');
const env = await space.getEnvironment('master');

const entry = await env.createEntry('blogPost', {
  fields: {
    title: { 'en-US': 'Hello Contentful' },
    body:  { 'en-US': 'This is my first API-created entry.' },
    slug:  { 'en-US': 'hello-contentful' },
  }
});

await entry.publish();

Pricing

Plan Price Includes
Free $0/month 1 Space, 1M API calls/month, 2 users
Basic $300/month 2 Spaces, 5M API calls, 5 users
Professional $789/month 5 Spaces, 10M API calls, 10 users
Premium / Enterprise Custom Unlimited, SLA, SSO, custom apps
⚠️ Contentful pricing is usage-based. Exceeding API call limits can result in additional charges. Monitor usage in the dashboard.

Pros & Cons

βœ… Pros ❌ Cons
Excellent developer experience Expensive at scale
Powerful content modeling Free tier is limited
GraphQL + REST APIs Vendor lock-in (proprietary)
Environments for branching content Rich text handling is complex
Used by Fortune 500 companies Content modeling requires planning
30+ official SDKs No built-in front-end preview

Community & Support

See Also