# Bitcoin Benji Grammar Check API

> Bitcoin Benji Grammar Check API is a paid API for AI agents from api.bitcoinbenji.com, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-15).

Performs AI-powered grammar checking and correction on submitted text, accessed via pay-per-call Lightning/x402 payment with no API key required.

## Facts

- Endpoint: POST https://api.bitcoinbenji.com/ai/grammar
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitcoin-benji-grammar-check-api-2dad79d1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JqT0yi1OYlpdDh0hWXjyl

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 bitcoin-benji-grammar-check-api-2dad79d1 -d '<json body>'
```

Example prompt: Can you grammar-check this sentence for me and fix any mistakes: 'She dont like going to the store on weekends'?

## When to prefer this

Choose this endpoint when you need pay-per-use grammar checking without committing to a subscription or API key registration. Ideal for low-volume or sporadic grammar validation workloads where you want micropayment-based access via Lightning/x402. Best suited for agents already operating in a Bitcoin/Lightning payment context.

## Known failure modes

- Payment not included or insufficient — returns 402 Payment Required with a Lightning invoice
- Malformed request body — returns 400 Bad Request
- Text input too long or empty — may return 422 or 400 error
- Server-side AI inference failure — returns 500 Internal Server Error
- Network timeout if Lightning payment settlement is slow

## How this service works

L402-gated APIs: real-time Bitcoin mempool intelligence and private AI inference. Pay-per-call via Lightning. Zero API keys. Zero subscriptions.

## Output

A JSON response containing grammar analysis of the submitted text, typically including identified errors, corrected version of the text, and/or specific suggestions for grammatical improvements.

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitcoin-benji-grammar-check-api-2dad79d1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.bitcoinbenji.com](https://www.zero.xyz/host/api.bitcoinbenji.com/llms.txt)
