Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

GitHub User Pull Requests

Dokumentacja API
https://api.sandbase.ai/v1/api/github/user-pull-requests

List a GitHub user's public pull requests by handle (title, repository, state, creation date, and URL) with optional date filtering and pagination.

Cena
Od $0.0012USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 3 opcjonalnych

Playground

Wejście
GitHub username.
Only include pull requests opened on or after this date (YYYY-MM-DD).
Only include pull requests opened on or before this date (YYYY-MM-DD).
Pagination cursor from a previous response (page number, defaults to 1).
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

GitHub User Pull Requests API

List a GitHub user's public pull requests by handle (title, repository, state, creation date, and URL) with optional date filtering and pagination.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "github/user-pull-requests", "handle": "torvalds"}'

The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.

Parameters

NameTypeRequiredDescription
handlestringYesGitHub username.
cursorstringNoPagination cursor from a previous response (page number, defaults to 1).
sincestringNoOnly include pull requests opened on or after this date (YYYY-MM-DD).
untilstringNoOnly include pull requests opened on or before this date (YYYY-MM-DD).

Pricing

Billed at the actual cost of each call, about $0.0012 per request. A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
GitHubOd $0.0012 za wywołanieJSON
GitHubOd $0.0012 za wywołanieJSON
GitHubOd $0.0012 za wywołanieJSON
GitHubOd $0.0012 za wywołanieJSON
GitHubOd $0.0012 za wywołanieJSON
GitHubOd $0.0012 za wywołanieJSON

Przewodniki:Best GitHub API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API GitHub User Pull Requests?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/github/user-pull-requests z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API GitHub User Pull Requests?

Od $0.0012 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API GitHub User Pull Requests?

Wymagane: handle (string). Opcjonalne: since (string), until (string) i cursor (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API GitHub User Pull Requests?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego GitHub lub klucza API?

Nie. GitHub User Pull Requests działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API GitHub.