# Strale Changelog Generator

> Strale Changelog Generator is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0324/call, status unknown (last checked 2026-09-13).

Generates a human-readable, user-facing changelog from git commits, grouped by type and formatted as Keep a Changelog, semantic, or bullet-point output.

## Facts

- Endpoint: GET https://api.strale.io/x402/changelog-generate
- Price: $0.0324/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-7ca45c5c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-lXa-N4B72rysVsNvzVeS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-strale-io-7ca45c5c
```

Example prompt: Generate a human-readable changelog in Keep a Changelog format from these commits: [{"message":"feat: add dark mode","author":"alice","date":"2024-06-01"},{"message":"fix: resolve login crash","author":"bob","date":"2024-06-02"},{"message":"chore: update dependencies","author":"alice","date":"2024-06-03"}].

## When to prefer this

Choose this endpoint when you need to automatically produce a polished, user-facing changelog or release notes from raw git commit data, especially when you want structured grouping by commit type and multiple format options (Keep a Changelog, semantic, bullet). Prefer this over manual summarization when dealing with many commits or needing consistent formatting for a release pipeline.

## Known failure modes

- Missing or empty commits array and no raw_log provided — returns error or empty changelog
- Invalid format value — may default or return a validation error
- Malformed commit objects (missing message/author/date fields) — may produce incomplete output
- Rate limiting or payment failure via x402 protocol — returns 402 Payment Required

## How this service works

Generate a user-facing changelog from git commits. Groups by type, writes human-readable descriptions. Supports Keep a Changelog, semantic, and bullet formats.

## Output

Returns a structured, human-readable changelog grouped by commit type (features, fixes, chores, etc.), written in the requested format (Keep a Changelog, semantic, or bullet). Each group contains descriptive, user-facing language derived from the raw commit messages.

## Example request

```json
{
 "format": "keep-a-changelog",
 "commits": [
  {
   "date": "2024-06-01",
   "author": "alice",
   "message": "feat: add dark mode support"
  },
  {
   "date": "2024-06-02",
   "author": "bob",
   "message": "fix: resolve login crash on mobile"
  },
  {
   "date": "2024-06-03",
   "author": "alice",
   "message": "chore: update dependencies"
  }
 ]
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "format": {
       "type": "string"
      },
      "commits": {
       "type": "array",
       "description": "Array of {message, author, date}"
      },
      "raw_log": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-7ca45c5c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
