{"uid":"cap_icpSMNqo3o6BLzYkjwvwe","slug":"capi2-agent-commerce-multi-source-grounding-75e632af","name":"CAPI2 Agent Commerce Multi-Source Grounding","description":"Programmable authority checks and tamper-evident receipts for autonomous agents, sold through sustainable x402 commerce.","url":"https://capi2-agent-commerce.vandurmedries.workers.dev/v1/multi-source-grounding","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","maxLength":300,"minLength":3},"source_urls":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":3,"minItems":1},"max_chars_per_source":{"type":"integer","maximum":5000,"minimum":500}}},"responseSchema":{"type":"json","example":{"query":"security controls","extracts":[{"text":"...","final_url":"https://example.com/security","content_sha256":"..."}],"sources_checked":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lhc5aTGOvRXhP5UFUHqyC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and extracts content from up to 3 URLs, returning tamper-evident text extracts with SHA-256 content hashes for verifiable multi-source grounding.","exampleAgentPrompt":"Pull content from these three pages — https://example.com/policy, https://example.com/faq, and https://example.com/terms — on the query 'refund policy', up to 2000 characters each, and give me tamper-evident extracts with SHA-256 hashes so I can verify the sources later.","exampleUseCases":[{"title":"Compliance audit trail for agent research","prompt":"I need you to pull content from https://sec.gov/rule1, https://sec.gov/rule2, and https://finra.org/guidance on the query 'margin requirements', max 3000 chars each, and return SHA-256 hashes for each source so our compliance team can verify the extracts are unchanged."},{"title":"Grounding chatbot answers in verified sources","prompt":"Before my agent answers the user's question about 'COVID vaccine eligibility', fetch content from https://cdc.gov/vaccines, https://who.int/vaccines, and https://nih.gov/covid — limit 2000 chars per source — and return the hashed extracts so the answer is grounded in verifiable evidence."},{"title":"Competitive intelligence with tamper-evident snapshots","prompt":"Grab up to 4000 characters each from https://competitorA.com/pricing, https://competitorB.com/pricing, and https://competitorC.com/pricing on the query 'enterprise pricing tiers', and give me the content with SHA-256 hashes so I can prove what the pages said today."}],"resultDescription":"A JSON object containing the original query, an array of extracts where each entry includes the extracted text snippet, the final resolved URL after any redirects, and a SHA-256 hash of the content for tamper-evidence, plus a count of how many sources were successfully checked.","failureModes":["URL is unreachable or returns non-200 status — that source is skipped or returns an error entry","query string too short (under 3 chars) or too long (over 300 chars) — 400 validation error","more than 3 source URLs provided — 400 validation error","max_chars_per_source outside 500–5000 range — 400 validation error","Payment not provided or insufficient — 402 Payment Required","Source URL returns non-text content (e.g. PDF, binary) — extract may be empty or malformed"],"whenToPreferThis":"Choose this endpoint when your agent needs cryptographically verifiable, tamper-evident text extracts from multiple web sources simultaneously — especially for compliance, audit trails, or grounded reasoning where you need to prove what a page said at a point in time. Prefer it over generic web scrapers when SHA-256 content integrity is required. Best for 1–3 targeted URLs rather than broad crawls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:43:50.304Z","isFirstParty":false}