---
title: "Published article by path"
method: GET
path: "/api/articles/{username}/{slug}"
tags: ["articles"]
---

# Published article by path

`GET /api/articles/{username}/{slug}`

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.

## Path parameters

- `username` string, required
- `slug` string, required

## Response `200`

An Article

- object

## Other responses

- `404` — Article Not Found

## Changes

> 59 revisions in range; 8 could not be searched.

- **2026-07-13** (v1) `189b62b952ea` — 1 breaking
  - removed the media type `application/json` for the response with the status `404`
- **2026-07-13** (v1) `7db6ba099285` — 1 breaking
  - removed the media type `application/json` for the response with the status `404`
- **2026-05-28** (v1) `6550ad7be94f` — 1 info
  - added the media type `application/json` for the response with the status `404`
- **2026-03-03** (v1) `c9e7662755c2` — 1 breaking
  - removed the media type `application/json` for the response with the status `404`
- **2023-12-18** (v1) `1c81594090c0` — 1 info
  - added the media type `application/json` for the response with the status `404`

[Full history](https://skmtc.dev/forem/apis/forem-api-v1/changes/api/articles/:username/:slug/get.md)

---

[API](https://skmtc.dev/forem/apis/forem-api-v1.md) · [All operations](https://skmtc.dev/forem/apis/forem-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/forem/forem-api-v1/revisions/1f64f71fc2a7/schema)
