Extract forum discussion
diffbot.x.extract-discussionExtracts individual posts, authors, dates and sentiment from a forum thread or comment section
- Price
- $0.001196/callAt provider cost
- Success rate
- 100%Last 30 days · 13 calls
- Latency p50
- 7.2 sp95 62 s
- Last verified
- Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.x.extract-discussion?url=https%3A%2F%2Fforum.gl-inet.com%2Ft%2Fssh-connection-protocol-does-not-work-well-between-vpn-clients%2F22779Preview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
different HOST than base_url — api.diffbot.com, not kg.diffbot.com
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
url | string | Required | target URL to extract | https://forum.gl-inet.com/t/ssh-connection-protocol-does-not-work-well-between-vpn-clients/22779 |
proxy | string | Optional | ||
fields | string | Optional | comma-delimited optional fields: links, extlinks, meta, querystring, breadcrumb, sentiment | |
paging | boolean | Optional | pass false to disable automatic multi-page concatenation | true |
scroll | string | Optional | 'slow' or 'fast' — triggers lazy-loaded content | |
timeout | integer | Optional | 30000 | |
callback | string | Optional | ||
maxPages | integer | Optional | max pages in a thread to automatically concatenate | 20 |
useProxy | string | Optional | 'default' = datacenter proxy (2 credits/page); 'none' disables | |
proxyAuth | string | Optional | ||
renderDelay | integer | Optional | extra rendering ms before DOM extraction, max 180000 | |
- Query parameters
urlstringRequiredtarget URL to extract
Example:
https://forum.gl-inet.com/t/ssh-connection-protocol-does-not-work-well-between-vpn-clients/22779proxystringOptionalfieldsstringOptionalcomma-delimited optional fields: links, extlinks, meta, querystring, breadcrumb, sentiment
pagingbooleanOptionalpass false to disable automatic multi-page concatenation
Example:
truescrollstringOptional'slow' or 'fast' — triggers lazy-loaded content
timeoutintegerOptionalExample:
30000callbackstringOptionalmaxPagesintegerOptionalmax pages in a thread to automatically concatenate
Example:
20useProxystringOptional'default' = datacenter proxy (2 credits/page); 'none' disables
proxyAuthstringOptionalrenderDelayintegerOptionalextra rendering ms before DOM extraction, max 180000
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
curl -X GET 'https://toolswitch.dev/v1/tools/diffbot.x.extract-discussion?url=https%3A%2F%2Fforum.gl-inet.com%2Ft%2Fssh-connection-protocol-does-not-work-well-between-vpn-clients%2F22779' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/diffbot.x.extract-discussion?url=https%3A%2F%2Fforum.gl-inet.com%2Ft%2Fssh-connection-protocol-does-not-work-well-between-vpn-clients%2F22779",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/diffbot.x.extract-discussion?url=https%3A%2F%2Fforum.gl-inet.com%2Ft%2Fssh-connection-protocol-does-not-work-well-between-vpn-clients%2F22779", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.001196/call, including the service fee.