{"uid":"cap__evtJlqjtb7PJH23PAxKF","slug":"diffbot-discussion-extraction-via-locus-x402-89b51054","name":"Diffbot Discussion Extraction via Locus x402","description":"Web data extraction — articles, products, discussions, images, videos, and auto-detect.","url":"https://diffbot.x402.paywithlocus.com/diffbot/discussion","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"string"},"paging":{"type":"boolean"},"timeout":{"type":"number"},"maxPages":{"type":"number"},"discussion":{"type":"boolean"}}},"responseSchema":{"type":"json","example":{"data":{},"payment":{"scheme":"exact","settledUsdc":"0.001000","authorizedMaxUsdc":"0.001000"},"request":{"id":"00000000-0000-4000-8000-000000000000","statusUrl":"/requests/00000000-0000-4000-8000-000000000000"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0042","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.0042/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0042","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0042","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_j7F-ZYSFArH9iV6YPA6hx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0042","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured comment threads and discussion data from forum pages, Reddit posts, or any discussion-style URL using Diffbot's AI extraction engine, billed per-call via x402 micropayments.","exampleAgentPrompt":"Pull all the comments and discussion threads from this Reddit post — https://www.reddit.com/r/programming/comments/abc123 — and follow pagination to get up to 10 pages worth of replies.","exampleUseCases":[{"title":"Reddit thread sentiment analysis","prompt":"Extract all the comments from this Reddit thread — https://www.reddit.com/r/investing/comments/xyz789 — following pagination up to 15 pages, so I can analyze what people are saying about the stock."},{"title":"Hacker News community feedback scrape","prompt":"Scrape the full discussion from this Hacker News post at https://news.ycombinator.com/item?id=38000000, including nested replies and author names, so I can summarize the developer community's reaction."},{"title":"Forum support thread extraction","prompt":"Extract the entire comment thread from this support forum page — https://community.example.com/t/login-issue/4567 — and include breadcrumb and meta fields so I can see the full context of the reported bug discussion."}],"resultDescription":"Returns a JSON object containing structured discussion data (comment threads, authors, timestamps, reply nesting), payment settlement details in USDC, and a request tracking ID. The `data` field contains Diffbot's parsed discussion schema including posts, participants, and pagination-followed content.","failureModes":["URL is not a discussion or forum page — Diffbot may return empty or low-confidence results","Pagination timeout if maxPages is high and the site is slow — reduce maxPages or increase timeout","Target site blocks scrapers — returns empty data or error from Diffbot","Invalid or malformed URL — request fails validation","Rate limits or payment failure on x402 layer — returns 402 or payment error"],"whenToPreferThis":"Use this endpoint when you need structured comment/discussion data from a specific forum, Reddit, Hacker News, or community page URL and want AI-powered extraction that handles nested threads and pagination automatically. Prefer it over generic scraping when you need clean, typed JSON output rather than raw HTML, and when per-call micropayment billing via x402 fits your cost model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:33:08.507Z","isFirstParty":false}