GitHub User Pull Requests
Pull requests authored by a user, newest first.
live github.user_pull_requests $0.0024 per request ($2.40 per 1,000)
Pricing
$0.0024 per request ($2.40 per 1,000), paid from a prepaid USD wallet. The exact amount is on every response as cost_usd; max_cost_usd refuses anything higher; failed calls are refunded.
1,000 requests = $2.40 · 10,000 = $24.00 · 100,000 = $240.00
Run it
curl -s -X POST https://getallapis.com/v1/run/github.user_pull_requests \
-H "Authorization: Bearer $GETALLAPIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"username":"torvalds","limit":10}'
from getallapis_client import Client
client = Client() # reads GETALLAPIS_API_KEY
result = client.run('github.user_pull_requests', {'username': 'torvalds', 'limit': 10})
print(result['cost_usd'], result['output'])
getallapis run github.user_pull_requests '{"username":"torvalds","limit":10}'
Quote first, free: POST /v1/quote/github.user_pull_requests with the same body. MCP: run_endpoint with endpoint="github.user_pull_requests".
Input
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
username | string | yes | | |
limit | integer | no | 30 | |
page | integer | no | 1 |
Output
Returned in output of the run envelope (ok, request_id, endpoint, status, cost_usd, items, latency_ms, source, output).
| Field | Meaning |
|---|---|
pull_requests | Pull requests. |
Source and latency
GitHub REST API (official api). docs.github.com REST API; 60 req/h per IP, 5,000 req/h with GITHUB_TOKEN. One upstream per endpoint; no automatic failover.
Not enough calls measured yet.