PeumeAPI

Search & SEO

Extract article text

Extracts clean article text, author, date, images, tags, sentiment and NLP facts from a news or blog page

$0.0036 per page

Call it

curl https://api.peume.com/v1/call/extract-article-text \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "url": "https://www.technologyreview.com/2020/09/04/1008156/knowledge-graph-ai-reads-web-machine-learning-natural-language-processing/",
    "paging": true,
    "maxTags": 10,
    "tagConfidence": 0.5,
    "categoryConfidence": 0.5,
    "discussion": true
  }
}'

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-article-text.

Parameters

urlRequiredstring

target URL to extract

Example: https://www.technologyreview.com/2020/09/04/1008156/knowledge-graph-ai-reads-web-machine-learning-natural-language-processing/

fieldsstring

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

pagingboolean

pass false to disable automatic concatenation of multi-page articles

Example: true

maxTagsinteger

max automatically-generated tags to return

Example: 10

tagConfidencenumber

minimum tag relevance score 0.0-1.0

Example: 0.5

categoryConfidencenumber

minimum category relevance score 0.0-1.0

Example: 0.5

discussionboolean

pass false to disable automatic comment extraction

Example: true

naturalLanguagestring

run text through the NLP API: entities, sentiment, summary, facts, etc.

summaryNumSentencesinteger

max sentences in the generated summary

Example: 3

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.