# fastapi.online — Commit Message Lint

> fastapi.online — Commit Message Lint is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.0005/call, status down (last checked 2026-09-15).

Validates and lints a Git commit message for correctness, style, and convention compliance

## Facts

- Endpoint: POST https://api.fastapi.online/commit-message-lint
- Price: $0.0005/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastapi-online-commit-message-lint-6f01d27f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b4dwpV10oOR4aR5aITElZ

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 fastapi-online-commit-message-lint-6f01d27f -d '<json body>'
```

Example prompt: Can you lint this commit message and tell me if it's valid: 'feat(auth): add OAuth2 login support for Google accounts'?

## When to prefer this

Use this endpoint when you need a cheap, no-signup, per-call commit message linter that runs on self-hosted infrastructure and accepts crypto micropayments. Ideal for CI bots, pre-push hooks, or AI agents that need to validate commit messages programmatically without managing an API key subscription.

## Known failure modes

- Empty or missing message field returns validation error
- Message exceeding 2000 characters rejected
- Malformed JSON body returns 400 error
- Payment failure or missing x402 header returns 402 Payment Required
- Service unavailable returns 5xx error

## How this service works

Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.

## Output

Returns a lint result indicating whether the commit message is valid, along with any detected style violations, missing components, or convention errors (e.g. missing type prefix, subject too long, incorrect formatting per Conventional Commits spec).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "message": {
   "type": "string",
   "maxLength": 2000,
   "minLength": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastapi-online-commit-message-lint-6f01d27f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fastapi.online](https://www.zero.xyz/host/api.fastapi.online/llms.txt)
