---
title: "List blog posts"
method: GET
path: "/api/v1/blog"
tags: ["Blog"]
---

# List blog posts

`GET /api/v1/blog`

## Request

- Base URL: `https://www.curecancerwithai.com`
- URL: `https://www.curecancerwithai.com/api/v1/blog`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

Editorial blog articles. Returns excerpts; fetch a single post by slug for full content.

## Query parameters

- `category` string
- `cancerType` string
- `search` string
- `limit` integer
- `offset` integer

## Response `200`

A page of blog posts (excerpts).

- object
  - `data` BlogPost[], required
    - `id` string
    - `title` string
    - `excerpt` string
    - `content` string: Full article content (single-post endpoint only).
    - `slug` string
    - `primaryCategory` string
    - `cancerTypeTags` string[]
    - `imageUrl` string, uri
    - `publishedAt` string, date-time
  - `pagination` Pagination, required
    - `total` integer
    - `limit` integer
    - `offset` integer
    - `page` integer
    - `totalPages` integer

## Other responses

- `401`: Missing, invalid, or revoked API key.
- `429`: Rate limit exceeded (100 requests/hour per key). Includes a Retry-After header.

---

[API](https://skmtc.dev/curecancerwithai/apis/cure-cancer-with-ai-public-api.md) - [All operations](https://skmtc.dev/curecancerwithai/apis/cure-cancer-with-ai-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/curecancerwithai/apis/cure-cancer-with-ai-public-api/revisions/fd99aa2f2fd5?raw)
