Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

GitHub Repository Forks

เอกสาร API
https://api.sandbase.ai/v1/api/github/repository-forks

List the forks of a GitHub repository by repository URL, with each fork's owner, description, stars, language and last push. Sort by newest, oldest or most starred.

ราคา
เริ่มต้นที่ $0.0012USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 3 ไม่บังคับ

Playground

อินพุต
GitHub repository URL, e.g. https://github.com/openai/whisper.
1-based page of forks. Request page + 1 while hasMore is true. ขั้นต่ำ: 1.
Order of the forks. Defaults to newest.
1100
Rows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size. ช่วง: 1 ถึง 100.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

GitHub Repository Forks API

List the forks of a GitHub repository by repository URL, with each fork's owner, description, stars, language and last push. Sort by newest, oldest or most starred.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "github/repository-forks", "url": "https://github.com/openai/whisper"}'

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

Parameters

NameTypeRequiredDescription
urlstringYesGitHub repository URL, e.g. https://github.com/openai/whisper.
limitintegerNoRows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size. Default 100.
pageintegerNo1-based page of forks. Request page + 1 while hasMore is true. Default 1.
sortstringNoOrder of the forks. Defaults to newest. One of: newest, oldest, stargazers, watchers.

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
GitHubเริ่มต้นที่ $0.0012 ต่อครั้งJSON
GitHubเริ่มต้นที่ $0.0012 ต่อครั้งJSON
GitHubเริ่มต้นที่ $0.0012 ต่อครั้งJSON
GitHubเริ่มต้นที่ $0.0012 ต่อครั้งJSON
GitHubเริ่มต้นที่ $0.0012 ต่อครั้งJSON
GitHubเริ่มต้นที่ $0.0012 ต่อครั้งJSON

คู่มือ:Best GitHub API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ GitHub Repository Forks API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/github/repository-forks โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

GitHub Repository Forks API ราคาเท่าไร?

เริ่มต้นที่ $0.0012 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

GitHub Repository Forks API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: url (string). ตัวเลือก: page (integer), sort (หนึ่งใน newest, oldest, stargazers, watchers) และ limit (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

GitHub Repository Forks API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส)

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ GitHub ไหม?

ไม่จำเป็น GitHub Repository Forks ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง GitHub API แยกต่างหาก