# Genstarkids articles API

Public read-only JSON for articles shown on the website. Requests are GET only. Do not send an API key; the site proxy adds it on the server.

These endpoints do not accept enrolments, payments, or account changes. Consultation and checkout stay on the website forms.

## List articles

`GET https://genstarkids.com/api/cms/articles`

Query parameters:

- `page` — page number
- `perPage` — page size
- `category` — category slug
- `q` — search text

The response includes `items`, `total`, `totalPages`, `page`, and `perPage`. Each item has `slug`, `title`, `excerpt`, `date`, `author`, `category`, and `image`.

## One article

`GET https://genstarkids.com/api/cms/articles/{slug}`

Returns the list fields plus `html`, `headings`, and `seo`. Unknown slugs respond with 404.

## Categories

`GET https://genstarkids.com/api/cms/categories`

Returns an array of `{ slug, name, description, count }`.

## Machine-readable description

[OpenAPI document](https://genstarkids.com/openapi/cms.json)
