# SiteCheck Headline Generator

> SiteCheck Headline Generator is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-20).

Generates multiple headline variations for a given topic or source text in news, SEO, social, or email styles

## Facts

- Endpoint: POST https://api.sitecheck-api.workers.dev/api/text/headlines?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-headline-generator-5ed8ddc2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dJlpdX2z8tAUT4CnafMEL

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 sitecheck-headline-generator-5ed8ddc2 -d '<json body>'
```

Example prompt: Generate 5 news-style headlines for this article about the city's new bike lane opening downtown — here's the text: 'The city unveiled a new protected bike lane on Main Street today, spanning 2 miles and connecting the downtown core to the waterfront park.'

## When to prefer this

Choose this endpoint when you need multiple distinct headline variations for a single piece of content or topic, especially when you want style-specific output (news, SEO, social, or email). It is ideal for content teams running A/B tests, marketers drafting campaign copy, or agents automating content pipelines where character counts matter. Prefer it over generic LLM completions when you need structured, consistently formatted headline output with character-length metadata per headline.

## Known failure modes

- Text exceeds 10,000 character limit — request rejected
- Count outside 1-10 range — validation error returned
- Neither text nor topic provided — missing required field error
- Invalid style enum value — error or fallback to default 'news' style
- Payment not received or insufficient USDC — 402 Payment Required response

## How this service works

Up to 10 headlines for a text or topic in one style: news, seo (under 60 characters, enforced in code), social or email subject. Each headline comes with its character count. Model output: check claims before publishing. Input text max 10,000 characters.

## Output

Returns a JSON object containing the requested style label, the number of headlines dropped (if any), a timestamp, and an array of headline objects each with the headline text and its character count.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Source text (max 10,000 characters); use this or topic"
  },
  "count": {
   "type": "integer",
   "description": "Number of headlines, 1-10 (default 5)"
  },
  "style": {
   "type": "string",
   "description": "news (default), seo, social or email"
  },
  "topic": {
   "type": "string",
   "description": "Topic (max 300 characters); use this or text"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "style": "news",
  "dropped": 0,
  "checkedAt": "2026-10-15T18:21:12.719Z",
  "headlines": [
   {
    "text": "New Bike Lane Opens in Downtown Area",
    "characters": 36
   },
   {
    "text": "Downtown Bike Lane Now Open to Public",
    "characters": 37
   },
   {
    "text": "City Unveils New Bike Lane Infrastructure",
    "characters": 41
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-headline-generator-5ed8ddc2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
