{"uid":"cap_DaVKZS2ssbz6fq-uW12L0","slug":"writerslogic-citation-span-verifier-a93794f0","name":"WritersLogic Citation Span Verifier","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/citation-span?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"quotes":{"type":"array","items":{"type":"object","required":["text"],"properties":{"id":{"type":"string","maxLength":100,"description":"Echoed back."},"text":{"type":"string","maxLength":2000,"minLength":1,"description":"The quoted text."}},"additionalProperties":false},"maxItems":50,"minItems":1,"description":"Up to 50 quotes, 40000 characters in total."},"source":{"type":"string","maxLength":100000,"minLength":1,"description":"Text the quotes are claimed to come from."},"tolerate":{"type":"array","items":{"enum":["whitespace","quotes","dashes","ellipsis","invisible","unicode"],"type":"string"},"maxItems":6,"description":"Normalizations that still count as a match. Default: all six."},"exactOnly":{"type":"boolean","description":"Count only byte-identical matches as pass; normalized matches become fail. Default false."},"minLength":{"type":"integer","maximum":200,"minimum":1,"description":"Quotes shorter than this many characters (after trimming quote marks) are too-short and give unknown. Default 8."},"ignoreCase":{"type":"boolean","description":"Also tolerate case differences (reported as a normalization). Default false."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JTDhAaoHAi48itKdggcbo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Locates quoted text within a source document and returns precise character offsets across multiple encoding schemes, categorizing each quote as exact, normalized-match, elided, probable paraphrase, or not-present.","exampleAgentPrompt":"Check whether the quote 'the quick brown fox jumps over the lazy dog' actually appears in the article I pasted, and if it's not an exact match tell me what normalizations were needed and where in the text the closest span is.","exampleUseCases":[{"title":"Hallucination audit for AI research summaries","prompt":"I have an AI-generated research summary that attributes three quotes to this paper. Can you verify each quote against the full paper text and tell me which ones actually appear verbatim, which are paraphrases, and which are completely made up — including their exact character positions if they're real?"},{"title":"Legal brief citation accuracy check","prompt":"Before I file this brief, can you check these five quoted passages against the deposition transcript to confirm they're exact matches or flag any differences in punctuation or spacing that might matter to the court?"},{"title":"Journalism fact-check for attributed quotes","prompt":"I'm fact-checking an article that quotes a press release four times. Here's the press release text — can you find each quote in it and tell me if any have been altered, truncated with ellipses, or are just paraphrases rather than direct quotes?"}],"resultDescription":"For each submitted quote, the endpoint returns its match status (exact, normalized, elided, paraphrase, or not-present), the precise start and end positions in UTF-16, Unicode code points, UTF-8 bytes, and grapheme units, plus a list of normalizations that were applied (e.g. whitespace, quotes, dashes, unicode). Paraphrases include the nearest matching span but are explicitly not counted as matches.","failureModes":["Total quote text exceeds 40,000 characters — request rejected","Source text exceeds 100,000 characters — request rejected","More than 50 quotes submitted — request rejected","Quote shorter than minLength after trimming — returns 'unknown' status","No quote text provided (minLength 1 violation) — validation error","Payment not received or insufficient USDC — 402 response"],"whenToPreferThis":"Use this endpoint when you need deterministic, encoding-precise proof of where a quoted string sits within a source document — especially when downstream systems need character-level offsets (e.g. UI highlighting, span extraction, diff tools). It is preferable over fuzzy text search when you need explicit normalization reporting, over manual review when auditing large volumes of AI-attributed quotes, and over LLM-based fact-checkers when you need verifiable, reproducible results rather than probabilistic judgments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:37:40.006Z","isFirstParty":false,"canonicalSlug":"writerslogic-citation-span-verifier-a93794f0"}