PeumeAPI

Developer & public data · GitHub

GitHub Repository Forks

List the forks of a GitHub repository, newest first or by stars, up to 30 per page (page.

$0.0014 per result

Call it

curl https://api.peume.com/v1/call/github-repository-forks-2 \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "limit": 30,
    "url": "your url"
  }
}'

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-forks-2.

Parameters

page_tokenstring

Page 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.

limitinteger

Maximum number of results, 1 to 100 (default 30). For some actions it counts pages or items per parent rather than final rows.

Example: 30

sortstring

Order of the list. `repository_issues`: created (default), updated or comments. `search_issues`: best match by default, or comments, created, updated, reactions. `forks`: newest (default), oldest, stargazers, watchers. `user_repositories`: created, updated, pushed, full_name. One of: newest, oldest, stargazers, watchers.

newest · oldest · stargazers · watchers

urlRequiredstring

A 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.

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.