PeumeAPI

Search & SEO

Extract forum discussion

Extracts individual posts, authors, dates and sentiment from a forum thread or comment section

$0.0036 per page

Call it

curl https://api.peume.com/v1/call/extract-forum-discussion \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "url": "https://forum.gl-inet.com/t/ssh-connection-protocol-does-not-work-well-between-vpn-clients/22779",
    "paging": true,
    "maxPages": 20,
    "timeout": 30000
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: extract-forum-discussion.

Parameters

urlRequiredstring

target URL to extract

Example: https://forum.gl-inet.com/t/ssh-connection-protocol-does-not-work-well-between-vpn-clients/22779

fieldsstring

comma-delimited optional fields: links, extlinks, meta, querystring, breadcrumb, sentiment

pagingboolean

pass false to disable automatic multi-page concatenation

Example: true

maxPagesinteger

max pages in a thread to automatically concatenate

Example: 20

renderDelayinteger

extra rendering ms before DOM extraction, max 180000

scrollstring

'slow' or 'fast' — triggers lazy-loaded content

timeoutinteger

Example: 30000

proxystring
proxyAuthstring
useProxystring

'default' = datacenter proxy (2 credits/page); 'none' disables

callbackstring

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.