Call it
curl https://api.peume.com/v1/call/github-repository-contributors-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 30,
"url": "your url"
}
}'const res = await fetch("https://api.peume.com/v1/call/github-repository-contributors-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 30,
"url": "your url"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/github-repository-contributors-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 30,
"url": "your url"
}
},
)
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: github-repository-contributors-2.
Parameters
page_tokenstringPage token for `user_repositories`, `repository_issues`, `search_issues`, `issue_comments`, `contributors` and `forks`. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received, with the other parameters unchanged. Each page holds 30 items and counts as one call. A token is valid for 24 hours; the last page has no `next_page_token`. For `search_issues`, GitHub search returns at most the first 1000 results, so paging ends there.
limitintegerMaximum number of results, 1 to 100 (default 30). For some actions it counts pages or items per parent rather than final rows.
Example: 30
urlRequiredstringA GitHub repository link such as `https://github.com/facebook/react` or just `facebook/react`; for `issue_comments`, the full link of an issue or pull request such as `https://github.com/openai/whisper/pull/1838`. Other formats are rejected before any charge.
