Call it
curl https://api.peume.com/v1/call/search-research-publications-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"query": "browser agent benchmark",
"domain_type": "research_paper",
"language": "en",
"include_domains": [
"github.com",
"arxiv.org"
],
"exclude_domains": [
"pinterest.com",
"quora.com"
],
"after_date": "2024-01-01"
}
}'const res = await fetch("https://api.peume.com/v1/call/search-research-publications-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"query": "browser agent benchmark",
"domain_type": "research_paper",
"language": "en",
"include_domains": [
"github.com",
"arxiv.org"
],
"exclude_domains": [
"pinterest.com",
"quora.com"
],
"after_date": "2024-01-01"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-research-publications-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"query": "browser agent benchmark",
"domain_type": "research_paper",
"language": "en",
"include_domains": [
"github.com",
"arxiv.org"
],
"exclude_domains": [
"pinterest.com",
"quora.com"
],
"after_date": "2024-01-01"
}
},
)
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: search-research-publications-2.
Parameters
queryRequiredstringExample: browser agent benchmark
domain_typeRequiredstringExample: research_paper
purposestringlanguagestringExample: en
include_domainsarraydomains to restrict results to; sent comma-separated on the wire
Example: ["github.com","arxiv.org"]
exclude_domainsarraydomains to drop from results; sent comma-separated on the wire
Example: ["pinterest.com","quora.com"]
after_datestringYYYY-MM-DD
Example: 2024-01-01
before_datestringYYYY-MM-DD
Example: 2024-12-31
pub_year_minintegerpub_year_maxintegerpageintegerExample: 0
include_thumbnailbooleanExample: false
fetchobjectJSON object in the query string; {} attaches each result's fetched page content. A boolean is rejected (400 INVALID_INPUT).
Example: {}
Other ways to do it
Same job, other sources, cheapest first.
