{"id":"citation-audit","title":"Citation Audit","description":"Bibliography in, evidence audit out: reference-verifier checks every reference (fabricated, mis-cited, retracted, corrected); the top DOI-bearing references (corrections first, then the most cited in the manuscript) get a replication-auditor pass on the sentence that cites them; when a target is contested, paper-contradictions compares it with the studies against it. The contradiction check is optional: if it cannot finish the call still answers, marked partial. Charged once, reference-verifier + replication-auditor + paperContradictions at 20% below their combined list price; not charged when a required step fails.","roi":"Shows an editor or reviewer which load-bearing citations are fabricated, retracted or contested, with the contradicting studies, in one call.","audience":"research","channels":["x402","mcp","rapidapi","apify"],"endpoint":{"method":"POST","url":"https://agents.writerslogic.com/api/v1/pipelines/citation-audit","path":"/api/v1/pipelines/citation-audit","contentType":"application/json"},"price":{"amount":"2.40","currency":"USDC","network":"base","perCall":true,"failedCallsCharged":false},"inputSchema":{"type":"object","additionalProperties":false,"properties":{"bibtex":{"type":"string","minLength":10,"maxLength":400000,"description":"BibTeX/BibLaTeX text (the contents of a .bib file)."},"latex":{"type":"string","minLength":10,"maxLength":400000,"description":"LaTeX source with a thebibliography environment (\\bibitem) or embedded filecontents .bib; \\cite commands supply citation contexts and are checked against the entries."},"references":{"type":"string","minLength":10,"maxLength":200000,"description":"Plain-text reference list (numbered, blank-line separated, or one per line; APA, IEEE, Vancouver, Chicago)."},"arxivId":{"type":"string","minLength":4,"maxLength":80,"description":"arXiv id or URL; references are read from the ar5iv HTML (.ltx_bibitem), falling back to the PDF."},"pdfUrl":{"type":"string","minLength":8,"maxLength":2000,"description":"Public PDF URL. Text extraction is best-effort (Word and Google Docs exports work best)."},"identifiers":{"type":"array","minItems":1,"maxItems":150,"items":{"type":"string","minLength":3,"maxLength":300},"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."},"manuscript":{"type":"string","minLength":10,"maxLength":400000,"description":"Optional manuscript text (LaTeX or plain) that supplies citation contexts: \\cite keys, [n] numbers or Author (year) citations."},"claim":{"type":"string","minLength":10,"maxLength":2000,"description":"The claim the bibliography supports; used for the replication and contradiction checks instead of the citing sentence."},"topK":{"type":"integer","minimum":1,"maximum":2,"description":"References to audit for replication (default 2)."}}},"resultSchema":{"type":"object","properties":{"verdict":{"type":"string","description":"reference-verifier's verdict on the bibliography."},"audited":{"type":"array","items":{"type":"object","description":"Per audited reference: index, doi, title, status, replication verdict and risk score (or the error)."}},"contradictions":{"description":"paper-contradictions' headline and top findings, or null when it did not run."},"results":{"type":"object","description":"Each executed member step's full result, keyed by step id (forEach steps: one entry per item)."},"steps":{"type":"object","description":"Per step: status (ok | skipped | failed), reason, attempts, ms, inputSha256, outputSha256, and the output hashes of the upstream steps its input was derived from."},"partial":{"type":"boolean","description":"True when an optional step was missing or a member returned its own partial result."},"missing":{"type":"array","items":{"type":"object","description":"{step, reason, impact}"}},"deterministic":{"type":"boolean","description":"True only when every executed member answered without a model."}},"required":["results","steps","partial","missing","deterministic"]},"outputSchema":{"type":"object","properties":{"data":{"type":"object","properties":{"verdict":{"type":"string","description":"reference-verifier's verdict on the bibliography."},"audited":{"type":"array","items":{"type":"object","description":"Per audited reference: index, doi, title, status, replication verdict and risk score (or the error)."}},"contradictions":{"description":"paper-contradictions' headline and top findings, or null when it did not run."},"results":{"type":"object","description":"Each executed member step's full result, keyed by step id (forEach steps: one entry per item)."},"steps":{"type":"object","description":"Per step: status (ok | skipped | failed), reason, attempts, ms, inputSha256, outputSha256, and the output hashes of the upstream steps its input was derived from."},"partial":{"type":"boolean","description":"True when an optional step was missing or a member returned its own partial result."},"missing":{"type":"array","items":{"type":"object","description":"{step, reason, impact}"}},"deterministic":{"type":"boolean","description":"True only when every executed member answered without a model."}},"required":["results","steps","partial","missing","deterministic"]},"_provenance":{"type":"object","description":"C2PA-aligned manifest and W3C VC 2.0 (eddsa-jcs-2022) issued by the hub DID; verify at POST /api/v1/verify-provenance"}},"required":["data","_provenance"]},"example":{"references":"[1] Wakefield AJ, Murch SH, Anthony A, et al. Ileal-lymphoid-nodular hyperplasia, non-specific colitis, and pervasive developmental disorder in children. Lancet. 1998;351(9103):637-41.\n[2] Abbott BP, et al. Observation of gravitational waves from a binary black hole merger. arXiv:1602.03837"},"openapiOperation":{"operationId":"citation_audit","summary":"Citation Audit","description":"Bibliography in, evidence audit out: reference-verifier checks every reference (fabricated, mis-cited, retracted, corrected); the top DOI-bearing references (corrections first, then the most cited in the manuscript) get a replication-auditor pass on the sentence that cites them; when a target is contested, paper-contradictions compares it with the studies against it. The contradiction check is optional: if it cannot finish the call still answers, marked partial. Charged once, reference-verifier + replication-auditor + paperContradictions at 20% below their combined list price; not charged when a required step fails.\n\nPrice: 2.40 USDC on Base (x402).","x-x402-price-usdc":"2.40","x-x402-amount":"2400000","x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"2.40"}},"x-audience":"research","x-sample-url":"https://agents.writerslogic.com/api/v1/samples/citation-audit","security":[{"x402":[]},{"apiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"bibtex":{"type":"string","minLength":10,"maxLength":400000,"description":"BibTeX/BibLaTeX text (the contents of a .bib file)."},"latex":{"type":"string","minLength":10,"maxLength":400000,"description":"LaTeX source with a thebibliography environment (\\bibitem) or embedded filecontents .bib; \\cite commands supply citation contexts and are checked against the entries."},"references":{"type":"string","minLength":10,"maxLength":200000,"description":"Plain-text reference list (numbered, blank-line separated, or one per line; APA, IEEE, Vancouver, Chicago)."},"arxivId":{"type":"string","minLength":4,"maxLength":80,"description":"arXiv id or URL; references are read from the ar5iv HTML (.ltx_bibitem), falling back to the PDF."},"pdfUrl":{"type":"string","minLength":8,"maxLength":2000,"description":"Public PDF URL. Text extraction is best-effort (Word and Google Docs exports work best)."},"identifiers":{"type":"array","minItems":1,"maxItems":150,"items":{"type":"string","minLength":3,"maxLength":300},"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."},"manuscript":{"type":"string","minLength":10,"maxLength":400000,"description":"Optional manuscript text (LaTeX or plain) that supplies citation contexts: \\cite keys, [n] numbers or Author (year) citations."},"claim":{"type":"string","minLength":10,"maxLength":2000,"description":"The claim the bibliography supports; used for the replication and contradiction checks instead of the citing sentence."},"topK":{"type":"integer","minimum":1,"maximum":2,"description":"References to audit for replication (default 2)."}}},"example":{"references":"[1] Wakefield AJ, Murch SH, Anthony A, et al. Ileal-lymphoid-nodular hyperplasia, non-specific colitis, and pervasive developmental disorder in children. Lancet. 1998;351(9103):637-41.\n[2] Abbott BP, et al. Observation of gravitational waves from a binary black hole merger. arXiv:1602.03837"}}}},"responses":{"200":{"description":"Paid result with provenance","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"verdict":{"type":"string","description":"reference-verifier's verdict on the bibliography."},"audited":{"type":"array","items":{"type":"object","description":"Per audited reference: index, doi, title, status, replication verdict and risk score (or the error)."}},"contradictions":{"description":"paper-contradictions' headline and top findings, or null when it did not run."},"results":{"type":"object","description":"Each executed member step's full result, keyed by step id (forEach steps: one entry per item)."},"steps":{"type":"object","description":"Per step: status (ok | skipped | failed), reason, attempts, ms, inputSha256, outputSha256, and the output hashes of the upstream steps its input was derived from."},"partial":{"type":"boolean","description":"True when an optional step was missing or a member returned its own partial result."},"missing":{"type":"array","items":{"type":"object","description":"{step, reason, impact}"}},"deterministic":{"type":"boolean","description":"True only when every executed member answered without a model."}},"required":["results","steps","partial","missing","deterministic"]},"_provenance":{"type":"object","description":"C2PA-aligned manifest and W3C VC 2.0 (eddsa-jcs-2022) issued by the hub DID; verify at POST /api/v1/verify-provenance"}},"required":["data","_provenance"]}}}},"400":{"description":"Invalid request (no payment consumed)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"}}}}}},"401":{"description":"Invalid X-API-KEY","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"}}}}}},"402":{"description":"Payment required or invalid","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 PaymentRequired (also base64 in the PAYMENT-REQUIRED header)","properties":{"x402Version":{"type":"integer"},"error":{"type":"string"},"code":{"type":"string"},"resource":{"type":"object"},"accepts":{"type":"array","items":{"type":"object"}},"extensions":{"type":"object"}}}}}},"502":{"description":"Upstream failure; the payment is released or not settled","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string"}}}}}}}},"links":{"docs":"https://agents.writerslogic.com/docs/citation-audit/","docsJson":"https://agents.writerslogic.com/docs/citation-audit.json","sample":"https://agents.writerslogic.com/api/v1/samples/citation-audit","openapi":"https://agents.writerslogic.com/openapi.json","catalog":"https://agents.writerslogic.com/api/v1/catalog","verifyProvenance":"https://agents.writerslogic.com/api/v1/verify-provenance","index":"https://agents.writerslogic.com/docs/index.json"}}