{"uid":"cap_LIiCynoN8YgWsPUvNMY1f","slug":"gold-source-indexing-agent-c7a1b6c2","name":"Gold Source Indexing Agent","description":"Index a document without rewriting it. POST JSON {\"text\": \"...\"} (50 to 1,000,000 chars). Each section and block gets an exact [start, end) UTF-16 span, its section path and a SHA-256 fingerprint, plus a coverage check. Or {\"url\": \"...\"} for HTML or PDF.","url":"https://agentx402pay.com/api/gold-index?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Public http(s) HTML, plain-text or PDF URL (first 50 PDF pages)."},"text":{"type":"string","description":"Document text, 50 to 1,000,000 characters. Send text or url, not both."},"filename":{"type":"string","description":"Optional label for the document"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_67YC3SsebhAFVAxV0ytDS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Indexes a document (text or URL) into structured sections and blocks with exact UTF-16 character spans, section paths, SHA-256 fingerprints, and coverage checks — without rewriting the content.","exampleAgentPrompt":"Index this document text for me — I need the exact UTF-16 character spans, section paths, and SHA-256 fingerprints for every block: [paste document text here]. Label it 'Q3 Earnings Report'.","exampleUseCases":[{"title":"RAG pipeline section mapping","prompt":"I have a 50-page PDF at https://example.com/annual-report-2024.pdf — can you index it so I get the exact character spans and section paths for every block? I need this for a retrieval-augmented generation pipeline."},{"title":"Contract clause fingerprinting","prompt":"Index this legal contract text for me and give me SHA-256 fingerprints and UTF-16 spans for every section, so I can detect if any clauses change between versions. Here's the full text: [contract text]."},{"title":"HTML article structure extraction","prompt":"Can you index the article at https://techcrunch.com/2024/01/15/some-article so I get a structured map of every section with its exact character positions and a coverage check? I want to know how the document is laid out without changing any of the text."}],"resultDescription":"A structured index of the document containing every detected section and block, each annotated with an exact [start, end) UTF-16 character span, a hierarchical section path, a SHA-256 fingerprint, and an overall coverage check confirming all characters are accounted for. Input can be raw text (50–1,000,000 chars) or a public URL pointing to HTML, plain text, or a PDF (up to 50 pages).","failureModes":["Text shorter than 50 characters or longer than 1,000,000 characters returns a validation error","Both 'text' and 'url' supplied simultaneously triggers a 400 bad request","Inaccessible or non-public URLs (paywalled, auth-required) cause fetch failures","PDFs exceeding 50 pages are truncated to the first 50 pages without error","Malformed or non-UTF-8 encoded documents may produce incorrect span calculations","Payment failure via x402 protocol blocks the request before processing"],"whenToPreferThis":"Choose this endpoint when you need a precise, non-destructive structural index of a document — preserving original text exactly while producing machine-readable section boundaries (UTF-16 spans), hierarchical section paths, and cryptographic fingerprints. It is especially suited for RAG pipelines needing exact passage locations, change-detection workflows requiring block fingerprints, and any downstream system that must cite or retrieve specific document regions. Prefer it over generic text splitters when you need coverage guarantees, reproducible fingerprints, or support for both URL-fetched HTML/PDF and raw text input in one unified API.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:36:47.990Z","isFirstParty":false,"canonicalSlug":"gold-source-indexing-agent-c7a1b6c2"}