For AI

GitHub

GitHub API pricing

What 6 GitHub endpoints cost: from $0.002 to $0.004 a call, cheapest GitHub issue comments. Per call in US dollars, prepaid, with no subscription.

Lowest price
$0.002
GitHub issue comments
Endpoints
6
1,000 calls at the lowest price
$2.00
Free trial
$0.20
up to 100 calls

What $1 and $10 buy

Endpoint$1$10
GitHub repository details500 calls5,000 calls
GitHub account repositories500 calls ≈ 15,000 items5,000 calls ≈ 150,000 items
GitHub trending repositories500 calls ≈ 12,500 items5,000 calls ≈ 125,000 items
GitHub repository issues and pull requests500 calls ≈ 15,000 items5,000 calls ≈ 150,000 items
GitHub issue comments500 calls ≈ 15,000 items5,000 calls ≈ 150,000 items
GitHub issue search250 calls ≈ 7,500 items2,500 calls ≈ 75,000 items

Every GitHub endpoint and its price

EndpointPriceMost per callEmpty answerNot found
GitHub repository details github.repos.get$0.002 per call$0.002$0.002$0.002
GitHub account repositories github.users.repos.list$0.002 per call$0.002$0.002$0.002
GitHub trending repositories github.repos.trending$0.002 per call$0.002$0.002$0.002
GitHub repository issues and pull requests github.repos.issues.list$0.002 per call$0.002$0.002$0.002
GitHub issue search github.issues.search$0.004 per call$0.004$0.004$0.004
GitHub issue comments github.issues.comments.list$0.002 per call$0.002$0.002$0.002

Prices in US dollars, in force when this page was built. A call that reached the platform is charged even when it comes back empty, not found or failed; calls stopped before reaching the platform (bad parameters, rate limits, low balance) are free. GitHub API reference →

Questions about paying

How much is the GitHub API?
6 endpoints, priced from $0.002 to $0.004 a call. 1,000 calls to GitHub issue comments, the cheapest, cost $2.00.
Can I try it for free?
New accounts get $0.20 of trial credit, no card needed: up to 100 calls to GitHub issue comments.
What is never charged?
Calls stopped before they reach the platform: bad parameters, a missing key, too little balance, a key over its limit, rate limits and paused endpoints; errors on our side are not charged either. A call that reached the source is charged even when the answer is empty, not found or failed, as the table above shows.
How do I pay?
Top up a prepaid balance from $15 by card, Alipay or WeChat Pay. The balance does not expire; top-ups are final.

Connect once, then just ask.

Every new key comes with $0.20 to try it. One sentence connects your agent.

Start free
Connect your AI

Paste this into your agent

Read https://okdata.online/agents.md and set up okdata for me; my key is in the OKDATA_API_KEY environment variable.

Claude Code, Cursor, Codex and other agents that can open a link set themselves up from it.

MCP serverhttps://api.okdata.online/mcp