# WritersLogic Citation Audit Pipeline

> WritersLogic Citation Audit Pipeline is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $2.4/call, status unknown (last checked 2026-11-19).

Runs a full citation integrity pipeline: verifies all references for fabrication, mis-citation, retraction, and correction; performs replication audits on top DOI-bearing references; and optionally checks contested claims against contradicting studies.

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/pipelines/citation-audit?utm_source=zero.xyz
- Price: $2.4/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-citation-audit-pipeline-37c0b670
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6S5vL5iC7KoYXlC-HoSIV

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-citation-audit-pipeline-37c0b670 -d '<json body>'
```

Example prompt: Can you run a full citation audit on my LaTeX manuscript? I want to check all references for fabrication, retraction, or mis-citation, do a replication audit on the top 2 DOI-bearing references, and flag any contradicting studies for contested claims.

## When to prefer this

Choose this endpoint when you need a comprehensive, multi-step citation integrity check in a single API call rather than calling reference-verifier, replication-auditor, and paper-contradictions separately. It is priced at 20% below combined list price, making it the most cost-efficient option for full bibliography audits. Prefer it for academic manuscripts, preprints, or literature reviews where you need to simultaneously check for retracted/fabricated references AND assess replication quality of key citations. Use individual endpoints only when you need a single capability in isolation.

## Known failure modes

- Required step (reference-verifier or replication-auditor) fails — call returns an error and no charge is applied
- Contradiction check cannot complete — call still returns with contradiction results marked partial
- PDF URL is inaccessible or non-public — text extraction fails or falls back to best-effort
- arXiv ID not found or HTML not available — falls back to PDF extraction which may be lower quality
- Bibliography format unrecognized — references may be partially parsed or skipped
- Input exceeds maxLength limits — request rejected with validation error
- No DOI-bearing references found — replication audit step cannot run

## How this service works

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

## Output

Returns a structured audit report covering: (1) all references flagged for fabrication, mis-citation, retraction, or correction; (2) replication audit findings for the top DOI-bearing references including analysis of the citing sentence or supplied claim; (3) optional paper-contradictions results comparing contested targets against opposing studies, marked partial if the contradiction step could not complete. The response indicates whether the full pipeline completed or returned partial results, and no charge is applied if a required step fails.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "topK": {
   "type": "integer",
   "maximum": 2,
   "minimum": 1,
   "description": "References to audit for replication (default 2)."
  },
  "claim": {
   "type": "string",
   "maxLength": 2000,
   "minLength": 10,
   "description": "The claim the bibliography supports; used for the replication and contradiction checks instead of the citing sentence."
  },
  "latex": {
   "type": "string",
   "maxLength": 400000,
   "minLength": 10,
   "description": "LaTeX source with a thebibliography environment (\\bibitem) or embedded filecontents .bib; \\cite commands supply citation contexts and are checked against the entries."
  },
  "bibtex": {
   "type": "string",
   "maxLength": 400000,
   "minLength": 10,
   "description": "BibTeX/BibLaTeX text (the contents of a .bib file)."
  },
  "pdfUrl": {
   "type": "string",
   "maxLength": 2000,
   "minLength": 8,
   "description": "Public PDF URL. Text extraction is best-effort (Word and Google Docs exports work best)."
  },
  "arxivId": {
   "type": "string",
   "maxLength": 80,
   "minLength": 4,
   "description": "arXiv id or URL; references are read from the ar5iv HTML (.ltx_bibitem), falling back to the PDF."
  },
  "manuscript": {
   "type": "string",
   "maxLength": 400000,
   "minLength": 10,
   "description": "Optional manuscript text (LaTeX or plain) that supplies citation contexts: \\cite keys, [n] numbers or Author (year) citations."
  },
  "references": {
   "type": "string",
   "maxLength": 200000,
   "minLength": 10,
   "description": "Plain-text reference list (numbered, blank-line separated, or one per line; APA, IEEE, Vancouver, Chicago)."
  },
  "identifiers": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 300,
    "minLength": 3
   },
   "maxItems": 150,
   "minItems": 1,
   "description": "Bare identifiers instead of a bibliography: up to 150 DOIs (bare, doi: or doi.org URL), arXiv ids or URLs, or PMIDs (bare, PMID: or PubMed URL), mixed freely. Each is resolved and checked for retraction, correction and a published version of record."
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-citation-audit-pipeline-37c0b670/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)
