Get article by slug
Returns a single article by slug, scoped to the project the API key authorises. Slugs are unique within a project.
Returns a single article by slug, scoped to the project the API key authorises. Slugs are unique within a project.
Authorization
ApiKeyAuth ArticlesQ API key sent as Authorization: Bearer aq_live_.... Each key is scoped to a single project.
In: header
Path Parameters
Query Parameters
Whether to append the FAQ as a ## FAQ markdown section to content. true forces inlining, false returns content without it. Omit to use the project's inlineFaqInContent default (on by default). The structured faq field is always returned either way.
By default a draft article returns 404 on this endpoint — only published articles are fetchable. Set to true to fetch a draft (e.g. to preview work in progress).
Response Body
application/json
application/json
application/json
application/json
import ArticlesQ from "@articlesq/sdk";const articlesq = new ArticlesQ({ apiKey: process.env.ARTICLESQ_API_KEY });const { data } = await articlesq.articles.get("your-article-slug");console.log(data?.article);{
"article": {
"id": "clx1abc234abcdef0123456789",
"slug": "best-crm-for-startups",
"title": "Best CRM for Startups in 2026",
"keyword": "best crm for startups",
"metaDescription": "A practical guide to choosing the right CRM when you're under 50 employees.",
"content": "# Introduction\n\nIf you're a startup founder evaluating CRM tools...",
"status": "draft",
"datePublished": "2026-05-23T00:00:00.000Z",
"dateModified": null
}
}{
"error": {
"title": "Unauthorized",
"status": 401,
"code": "missing_auth",
"message": "Missing Authorization header",
"instance": "/api/v1/articles"
}
}{
"error": {
"title": "Forbidden",
"status": 403,
"code": "insufficient_scope",
"message": "Missing required scope: articles:read",
"instance": "/api/v1/articles/{slug}"
}
}{
"error": {
"title": "Not Found",
"status": 404,
"code": "not_found",
"message": "Article not found",
"instance": "/api/v1/articles/best-crm-for-startups"
}
}List articles GET
Returns a paginated list of articles for the project the API key is scoped to. The article body is included for each item.
Create an article POST
Creates a new article in the project the API key is scoped to. Use this when you generate content with your own agents and want ArticlesQ to host it (e.g. for the backlinks exchange). The article body is markdown.