Documentation

DatoCMS Developer Docs

Build with the headless CMS for the modern web!

Quickstarts

Pick your framework

Ship your first page in 5 min

Next.js Nuxt SvelteKit Astro
Code-heavy docs ahead. Want a softer landing?
01 · APIs

Four APIs to build with

Content Delivery API graphql.datocms.com
import { buildClient } from '@datocms/cda-client';
const client = buildClient({
apiToken: process.env.DATOCMS_TOKEN,
});
const { allPosts } = await client.request({
query: `{
allPosts(first: 10) {
id title slug _publishedAt
}
}`,
});
Hover any API to switch snippet Open full reference →