Your posts, one post, and your topics. JSON, no sign-in, read from your build or your server.
Paste a deploy hook when you connect, and Slategraph calls it a minute after a post changes.
A site that renders on request, or rebuilds on its own schedule, connects without one.
1. What you need
Connect the site in Slategraph first: Business Profile → Publishing → Connect a site → Your own site. Once it is connected, the card shows the two things your build needs.
- Your posts address:
https://api.tde.slategraph.com/v1/publishing/sites/{site ID}/posts/ - Your site ID, which names your site in that address. It isn’t a secret, and no key goes with it.
The site’s address in Slategraph must be the business profile’s domain, or a subdomain of it. Each post is served at that address plus its slug.
2. Reading your posts
Three GETs, JSON, no sign-in. Read them from your build or your server: a script in your visitors’ browsers can’t read the answers (CORS).
/v1/publishing/sites/{site ID}/posts/Your published posts, newest first, as cards: id, url, slug, title, excerpt, kind (article, changelog or migration_guide), topic, author, isPillar, featuredImage, publishedAt, updatedAt
.../posts/{slug}/One post: its card plus html (ready to show as is), jsonLd (put it in a <script type="application/ld+json">), metaTitle, metaDescription, and the author’s bio and links
.../topics/The topics of your posts: name, slug, postCount, and pillar— the topic’s main post
An example answer
{
"count": 42,
"next": "https://api.tde.slategraph.com/v1/publishing/sites/{site ID}/posts/?page=2",
"previous": null,
"results": [
{
"id": "3b7e9c1a-2d4f-4a6b-8c9d-0e1f2a3b4c5d",
"url": "https://blog.example.com/answer-engine-optimization-guide/",
"slug": "answer-engine-optimization-guide",
"title": "Answer Engine Optimization: A Practical Guide",
"kind": "article",
"topic": {"name": "Answer Engine Optimization", "slug": "answer-engine-optimization"},
"excerpt": "How to get your business named in AI answers.",
"isPillar": true,
"updatedAt": "2026-11-06T10:02:11Z",
"publishedAt": "2026-11-06T10:05:00Z",
"featuredImage": {"url": "https://media.slategraph.com/...", "alt": "A buyer asking an AI assistant"},
"author": {"name": "Ada Obi", "jobTitle": "Head of Content", "photo": "https://media.slategraph.com/..."}
}
]
}3. Pages
- 20 posts a page.
?page_size=raises it, up to 100. ?page=asks for the next one, or follownextuntil it’s null.- Topics come in one list, unpaged.
4. What’s served, and where it lives
Only published posts
- Scheduled posts join the list once their time comes. With a deploy hook, Slategraph asks for a rebuild within about six minutes of it — a check every five minutes, then the minute the rebuild waits.
- Drafts and later schedules are left out of the list, and 404 by slug.
- Devvi’s changelog posts and migration guides come through the same endpoints, told apart by
kind, so a site can file them under pages of their own.
5. Rate limit
1,200 requests a minute per site and address. Past it the API answers 429 with Retry-After in seconds: wait that long and retry.
6. Rebuilding when posts change
Paste a deploy hook from your host when you connect the site, and Slategraph calls it a minute after you publish, update or unpublish a post. Several changes in that minute share one build.
| Host | Where to create the hook | Good to know |
|---|---|---|
| Cloudflare Pages | Your project → Settings → Builds → Add deploy hook | |
| Cloudflare Workers Builds | Your Worker → Settings → Builds → Deploy Hooks | The Worker must be connected to Git; 10 builds a minute per Worker |
| Vercel | Your project → Settings → Git → Deploy Hooks, for the branch you publish from | The project must be connected to Git; 60 builds an hour per project |
| Netlify | Project configuration → Developer settings → Continuous deployment → Build hooks |
No hook
A site that renders each page on request, or rebuilds on its own schedule, connects without one. Cache what you read — revalidate every minute or so: the API always answers fresh, so a busy site reading on every page view would reach the rate limit.
7. Looking after the hook
- The hook is a secret. Anyone holding it can start your builds — never change your posts. Slategraph stores it encrypted and never shows it again.
- To replace one, delete it at your host, create another, and connect the site again. The site ID stays the same.
- If your host refuses the hook— because it was deleted, say — Slategraph tells your studio’s Owner, and your posts keep publishing to the API. Connect a new hook to get builds going again.
- A host asking us to slow down is waited for, for a few minutes. A build still refused then is left for your next change.