GitHub API: repositories, trending, issues, comments
6 GitHub endpoints covering Repositories, accounts and Issues, from $0.002 a call. No GitHub account or cookie needed.
Yapay zekânızı bağlayın
Bunu ajanınıza yapıştırın
https://okdata.online/agents.md adresini oku ve okdata kurulumunu benim için yap; anahtarım OKDATA_API_KEY ortam değişkeninde.
Claude Code, Cursor, Codex ve bağlantı açabilen diğer ajanlar kurulumu bundan kendileri yapar.
MCP sunucusuhttps://api.okdata.online/mcp
Ask about GitHub from Claude, Cursor and other agents: the GitHub MCP page
- Uç noktalar
- 6 uç nokta
- 3 grupta, tek yanıt formatı
- En düşük fiyat
- $0.002'dan başlayan
- Ön ödemeli bakiyeden ödenen bir çağrı
- Güncellik
- Canlı
- Çağırdığınız anda platformdan okunur
- Aylık ücret
- $0
- Abonelik veya minimum harcama yok
Every GitHub endpoint
Her uç nokta için bir satır: istek, dönen yanıt ve bir çağrının maliyeti.
Repositories
3Hesaplar
1Issues
2/öğe olarak işaretlenmedikçe fiyatlar çağrı başınadır. Platforma ulaşan bir çağrı, boş dönse veya başarısız olsa bile ücretlendirilir.
What people do with GitHub data
Her işin kendi sayfası vardır: kullandığı uç noktalar, örnek bir çalıştırma ve maliyeti.
Rakip takibi
“Rakiplerimiz bu hafta ne paylaştı ve hangisi öne çıktı?”
Burada 3 uç nokta, $0.002 fiyattan başlayanNasıl çalışır
Ürün araştırması
“En çok satanların fiyatı ne ve alıcılar neden şikâyet ediyor?”
- Repository details$0.002
- Account repositories$0.002
- Trending repositories$0.002
Burada 3 uç nokta, $0.002 fiyattan başlayanNasıl çalışır
Kullanıcı yorumları
“Alıcılar en çok neden şikâyet ediyor?”
- Repository issues and pull requests$0.002
- Issue search$0.004
- Issue comments$0.002
Burada 3 uç nokta, $0.002 fiyattan başlayanNasıl çalışır
Trend araştırması
“Bugün trend olan ve bizim de yararlanabileceğimiz ne var?”
- Trending repositories$0.002
Burada 1 uç nokta, $0.002 fiyattan başlayanNasıl çalışır
İçerik araştırması
“Bu konudaki en iyi gönderilerin ortak noktası ne?”
- Issue search$0.004
Burada 1 uç nokta, $0.004 fiyattan başlayanNasıl çalışır
Üç adımda başlayın
The example is GitHub repository details; every GitHub endpoint is called the same way and answers in the same shape.
Anahtar al
Konsolda bir hesap ve bir anahtar oluşturun. Yeni anahtar, denemeniz için $0.20 ile gelir; kart gerekmez.
Yapay zekânızı bağlayın veya kendiniz çağırın
Bu cümleyi Claude Code, Cursor, Codex veya bağlantı açabilen başka bir ajana yapıştırın, kurulumu kendisi yapsın. Ya da aşağıdaki isteği anahtarınız Authorization başlığında olacak şekilde gönderin.
https://okdata.online/agents.md adresindeki adımları izleyerek okdata'yı benim için kur. okdata API anahtarım: okd_…. Güvende tutun ve tüm okdata çağrılarında kullanın.
Yer tutucuyu kendi anahtarınızla değiştirin veya giriş yapıp anahtarın doldurulmuş hâlini kopyalayın.
İlk çağrıyı yapın
Öğeler data.items içinde (tek nesne data.item içinde), sonraki sayfa page.next_cursor içinde, ödediğiniz ücret meta.billing.amount içinde gelir.
cURL
curl -G "https://api.okdata.online/v1/github/repos/get" \ -H "Authorization: Bearer $OKDATA_API_KEY" \ --data-urlencode 'url=https://github.com/vercel/next.js'Python
import os import requests resp = requests.get( "https://api.okdata.online/v1/github/repos/get", headers={"Authorization": f"Bearer {os.environ['OKDATA_API_KEY']}"}, params={"url": "https://github.com/vercel/next.js"}, timeout=60, ) body = resp.json() if body["code"] != "ok": raise RuntimeError(f"{body['code']}: {body['message']} (charged: {body['charged']})") row = body["data"]["item"] print(row["id"], row["metrics"]["likes"], row["text"][:60]) print("cost: $" + body["meta"]["billing"]["amount"])TypeScript
const url = new URL('https://api.okdata.online/v1/github/repos/get'); url.searchParams.set('url', "https://github.com/vercel/next.js"); const res = await fetch(url, { headers: { Authorization: `Bearer ${process.env.OKDATA_API_KEY}`, }, }); const body = await res.json(); if (body.code !== 'ok') throw new Error(`${body.code}: ${body.message}`); const row = body.data.item; console.log(row.id, row.metrics.likes, row.text.slice(0, 60)); console.log('cost: $' + body.meta.billing.amount);MCPtools/call
{ "name": "call", "arguments": { "capability": "github.repos.get", "url": "https://github.com/vercel/next.js" } }
Questions about the GitHub API
What does the GitHub API cost?
Each of the 6 endpoints has its own price, from $0.002 to $0.004 a call; the cheapest is GitHub issue comments at $0.002. You pay per call from a prepaid balance, with no subscription. A call that reaches the platform is charged even when it comes back empty, not found or failed; one stopped before that, such as for bad parameters, is free.
Do I need a GitHub account or cookie?
No. You call https://api.okdata.online with one okdata key and get public GitHub data back; you never use your own GitHub account, cookie or QR login.
Veriler ne kadar güncel?
A request reads GitHub when you call, unless the same request was answered a short while ago: then the answer can come from the result cache, with meta.cached: true and meta.fetched_at saying when it was read (lists and searches up to 30 minutes old, one post or product up to 1 hour, profiles up to 6 hours).
Can my AI agent use the GitHub API?
Evet. https://api.okdata.online/mcp adresindeki MCP sunucusunu bağlayın: find aracı bu 6 uç noktayı fiyatlarıyla listeler, call aracı ise bunları anahtarınızla çalıştırır.
Ücretsiz deneyebilir miyim?
New accounts get $0.20 of trial credit with no card: enough for 100 calls to GitHub issue comments.
