# WritersLogic Cross-Reference Check

> WritersLogic Cross-Reference Check is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-19).

Scans a plain-text or Markdown document to find broken cross-references, duplicate targets, and unreferenced targets, reporting each issue with precise multi-encoding offsets.

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/cross-reference-check?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-cross-reference-check-67a50eae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Vua-LQGv1QijJpJCmIxnz

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 writerslogic-cross-reference-check-67a50eae -d '<json body>'
```

Example prompt: Can you scan this draft technical report and tell me if any cross-references like 'see Section 3.2' or '[7]' are broken, any headings or figures are defined twice, or any bibliography entries are never actually cited?

## When to prefer this

Use this endpoint when you need to verify the internal structural integrity of a Markdown or plain-text document — specifically that every cross-reference (section, figure, table, equation, listing, appendix, bibliography, footnote) resolves to exactly one defined target. It is especially valuable for long technical documents, research papers, or specs where manual auditing is impractical. Prefer this over generic linting tools when you need multi-encoding offset data for precise downstream error highlighting, or when you specifically need to surface orphaned targets (defined but never used).

## Known failure modes

- Text exceeds 150,000 character limit — request rejected
- Empty text input — request rejected
- Non-English label styles (e.g. 'Abschnitt', 'Tableau') not recognized — references using non-English labels will be missed
- Implicit references like 'see above' or 'as mentioned earlier' are not resolved and will not be flagged
- Semantic mismatches (a reference pointing to the wrong section) are not detected — only structural link integrity is checked
- Malformed Markdown that prevents heading/caption parsing may cause false negatives

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

A structured report listing three categories of issues: (1) references with no matching target (broken references), (2) targets defined more than once (duplicates), and (3) targets that are defined but never referenced (orphans). Each issue includes the problematic reference or target text along with its location expressed in four offset formats: UTF-16 code units, Unicode code points, UTF-8 bytes, and grapheme clusters.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 150000,
   "minLength": 1,
   "description": "Document text (plain text or Markdown)."
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-cross-reference-check-67a50eae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.writerslogic.com](https://www.zero.xyz/host/agents.writerslogic.com/llms.txt)
