v52

latestOpenAPI 3.0.3raw.githubusercontent.com2026-07-2113138232.4 KB
articles

Published article by path

This endpoint allows the client to retrieve a single published article given its username and slug (the URL-friendly path identifier).

Usage Tip:

  • Handy for resolving absolute Forem/DEV article URLs (e.g., https://dev.to/username/slug) into their corresponding API data models.
get/api/articles/{username}/{slug}

Path parameters

usernamestring required

The username of the article's author or organization.

slugstring required

The URL-friendly slug of the article (e.g. my-first-post-1234).

Response

An Article

object required