Sources › Social media › GitHub User › Get Repository
Request
https://api.zapi.ink/v1/social-media:github-user/repo/:owner/:repoSend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 1 hour.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| owner | string | path | Yes | Repository owner (user or org) Example: facebook |
| repo | string | path | Yes | Repository name Example: react |
Code examples
curl -X GET "https://api.zapi.ink/v1/social-media:github-user/repo/facebook/react" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/social-media:github-user/repo/facebook/react", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/social-media:github-user/repo/facebook/react", headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "social-media:github-user", "data": { "ok": true, "repo": { "id": 10270250, "url": "https://github.com/react/react", "name": "react", "forks": 51190, "owner": "react", "stars": 247059, "isFork": false, "topics": [ "declarative", "frontend", "javascript", "library", "react", "ui" ], "license": "MIT", "fullName": "react/react", "homepage": "https://react.dev", "language": "JavaScript", "pushedAt": "2026-08-05T19:11:16Z", "watchers": 6600, "createdAt": "2013-05-24T16:15:54Z", "updatedAt": "2026-08-06T11:12:40Z", "isArchived": false, "openIssues": 1248, "description": "The library for web and native user interfaces.", "defaultBranch": "main" } }, "timestamp": "2026-05-27T13:36:09Z" }
Frequently asked questions
How do I call the GitHub User Repository API?
Send a GET request to https://api.zapi.ink/v1/social-media:github-user/repo/facebook/react with your Zapi key in the x-api-key header. Parameters — required: owner, repo. The response is JSON in the { project, data, timestamp } envelope.
What does the GitHub User Repository API return?
Detail satu repositori GitHub. The example response has the fields ok, repo.
Is the GitHub User Repository API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.
Can an AI assistant call the GitHub User Repository API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "github-user" and endpoint "repo".
What other GitHub User API endpoints are there?
It has 7 endpoints. Besides Get Repository: User Profile, Get Trending Repos, Get Trending Developers, Get Organization, Search Repositories, Search Users.
