Call it
curl https://api.peume.com/v1/call/recent-company-or-industry-news-scored-for-sentiment \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"company": "https://canva.com",
"limit": 10
}
}'const res = await fetch("https://api.peume.com/v1/call/recent-company-or-industry-news-scored-for-sentiment", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"company": "https://canva.com",
"limit": 10
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/recent-company-or-industry-news-scored-for-sentiment",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"company": "https://canva.com",
"limit": 10
}
},
)
print(res.json()["output"])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: recent-company-or-industry-news-scored-for-sentiment.
Parameters
companystringcompany website or UUID
Example: https://canva.com
industrystringcomma-separated industry codes to monitor instead of one company — resolve them with.companies.industry.resolve
querystringfree-text search across articles
start_datestringYYYY-MM-DD lower bound; the lookback is capped at 6 months off Enterprise plans
end_datestringYYYY-MM-DD upper bound
limitintegerarticles to return, default 10, max 1000 — the cost dial, keep it small
Example: 10
offsetintegerrecords to skip, default 0
sentiment_liststringpositive | negative | neutral | all
news_score_liststringHigh | Medium | Low | all — filters by how significant rates the article
countriesstringcomma-separated ISO country codes
blacklistedstringcomma-separated domains to exclude
group_articlesbooleancollapse syndicated duplicates of the same story
titlestringmatch against the article headline only
naics_code_liststringcomma-separated NAICS industry codes
sic_code_liststringcomma-separated SIC industry codes
Other ways to do it
Same job, other sources, cheapest first.
