DEV's API at https://dev.to/api (built on Forem) serves published articles, comments, tags, and users. Writing needs an api-key header.
None for reading. To publish, create a key under Settings → Extensions and send it as the api-key header.
Full reference: https://developers.forem.com/api/v1
curl "https://dev.to/api/articles?tag=api&per_page=2"
[
{
"type_of": "article",
"id": 4726736,
"title": "A Tool Round-Trip Is Not a Load Test: A Myth-Busting FAQ",
"description": "A pull request stalled on a quiet screenshot from an agent session that looked like performance...",
"readable_publish_date": "Sep 23",
"slug": "a-tool-round-trip-is-not-a-load-test-a-myth-busting-faq-4ad6",
"path": "/devio_3007/a-tool-round-trip-is-not-a-load-test-a-myth-busting-faq-4ad6",
"url": "https://dev.to/devio_3007/a-tool-round-trip-is-not-a-load-test-a-myth-busting-faq-4ad6",
"comments_count": 0,
"public_reactions_count": 0,
"collection_id": null,
"published_timestamp": "2026-09-23T16:37:34Z",
"language": "en",
"subforem_id": 1,
"ai_disclosure_level": "not_disclosed"
},
{
"type_of": "article",
"id": 4709922,
"title": "Making API Performance Tests More Realistic: From Endpoint Metrics to Role-Based Journeys",
"description": "Daniel Balcarek's article API Performance Testing: How to Design Realistic Tests makes a...",
"readable_publish_date": "Sep 23",
"slug": "making-api-performance-tests-more-realistic-from-endpoint-metrics-to-role-based-journeys-348i",
"path": "/cherware/making-api-performance-tests-more-realistic-from-endpoint-metrics-to-role-based-journeys-348i",
"url": "https://dev.to/cherware/making-api-performance-tests-more-realistic-from-endpoint-metrics-to-role-based-journeys-348i",
"comments_count": 2,
"public_reactions_count": 0,
"collection_id": null,
"published_timestamp": "2026-09-23T20:05:59Z",
"language": "en",
"subforem_id": 1,
"ai_disclosure_level": "not_disclosed"
}
]
top is the number of days to rank over.
curl "https://dev.to/api/articles?top=7&per_page=2"
[
{
"type_of": "article",
"id": 4701626,
"title": "Clean Code Is Not the Same as Clear Code: Comments Were Never the Problem",
"description": "Table of Contents A Line That Does Nothing... Except Keep Production Alive Some Code...",
"readable_publish_date": "Sep 21",
"slug": "clean-code-is-not-the-same-as-clear-code-comments-were-never-the-problem-42n",
"path": "/georgekobaidze/clean-code-is-not-the-same-as-clear-code-comments-were-never-the-problem-42n",
"url": "https://dev.to/georgekobaidze/clean-code-is-not-the-same-as-clear-code-comments-were-never-the-problem-42n",
"comments_count": 71,
"public_reactions_count": 92,
"collection_id": null,
"published_timestamp": "2026-09-21T18:07:10Z",
"language": "en",
"subforem_id": 1,
"ai_disclosure_level": "not_disclosed"
},
{
"type_of": "article",
"id": 4702045,
"title": "What If Your AI Agent Never Had to Leave the Browser? (Demo 🚀)",
"description": "I haven't written anything lately because, honestly, I just didn't have the headspace for it. There...",
"readable_publish_date": "Sep 21",
"slug": "what-if-your-ai-agent-never-had-to-leave-the-browser-demo--5g",
"path": "/sylwia-lask/what-if-your-ai-agent-never-had-to-leave-the-browser-demo--5g",
"url": "https://dev.to/sylwia-lask/what-if-your-ai-agent-never-had-to-leave-the-browser-demo--5g",
"comments_count": 79,
"public_reactions_count": 120,
"collection_id": null,
"published_timestamp": "2026-09-21T07:14:46Z",
"language": "en",
"subforem_id": 1,
"ai_disclosure_level": "not_disclosed"
}
]
curl "https://dev.to/api/tags?per_page=5"
[
{
"id": 8,
"name": "webdev",
"bg_color_hex": "#562765",
"text_color_hex": "#ffffff",
"short_summary": "Because the internet..."
},
{
"id": 307,
"name": "ai",
"bg_color_hex": "#17fd1a",
"text_color_hex": "#ffffff",
"short_summary": "Artificial intelligence leverages computers and machines to mimic the problem-solving and decision-making capabilities found in humans and in nature."
}
]