Sources › Social media › GitHub User › Search Users
Request
https://api.zapi.ink/v1/social-media:github-user/search-usersSend 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 30 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| q | string | query | Yes | Search query, GitHub search syntax Example: location:indonesia followers:>1000 |
| sort | enum: followers | repositories | joined | query | No | Sort field. Default best match Example: followers |
| order | enum: asc | desc | query | No | Sort direction. Default desc Example: desc |
| page | number | query | No | Page number. Default 1 (GitHub caps search at 1000 results) Example: 1 |
| perPage | number | query | No | Results per page. Default 30, max 100 Example: 30 |
Code examples
curl -X GET "https://api.zapi.ink/v1/social-media:github-user/search-users?q=location%3Aindonesia+followers%3A%3E1000&sort=followers&order=desc&page=1&perPage=30" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/social-media:github-user/search-users?q=location%3Aindonesia+followers%3A%3E1000&sort=followers&order=desc&page=1&perPage=30", { 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/search-users", params={"q":"location:indonesia followers:>1000","sort":"followers","order":"desc","page":"1","perPage":"30"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "social-media:github-user", "data": { "ok": true, "page": 1, "count": 30, "items": [ { "id": 2681894, "url": "https://github.com/sandhikagalih", "type": "User", "login": "sandhikagalih", "avatar": "https://avatars.githubusercontent.com/u/2681894?v=4", "isSiteAdmin": false }, { "id": 43339356, "url": "https://github.com/deaafrizal", "type": "User", "login": "deaafrizal", "avatar": "https://avatars.githubusercontent.com/u/43339356?v=4", "isSiteAdmin": false }, { "id": 70091, "url": "https://github.com/khannedy", "type": "User", "login": "khannedy", "avatar": "https://avatars.githubusercontent.com/u/70091?v=4", "isSiteAdmin": false }, { "id": 129738392, "url": "https://github.com/rasidi3112", "type": "User", "login": "rasidi3112", "avatar": "https://avatars.githubusercontent.com/u/129738392?v=4", "isSiteAdmin": false }, { "id": 4611581, "url": "https://github.com/KOSASIH", "type": "User", "login": "KOSASIH", "avatar": "https://avatars.githubusercontent.com/u/4611581?v=4", "isSiteAdmin": false }, { "id": 5790261, "url": "https://github.com/infosecn1nja", "type": "User", "login": "infosecn1nja", "avatar": "https://avatars.githubusercontent.com/u/5790261?v=4", "isSiteAdmin": false }, { "id": 7221389, "url": "https://github.com/mazipan", "type": "User", "login": "mazipan", "avatar": "https://avatars.githubusercontent.com/u/7221389?v=4", "isSiteAdmin": false }, { "id": 118709646, "url": "https://github.com/YuukiPS", "type": "Organization", "login": "YuukiPS", "avatar": "https://avatars.githubusercontent.com/u/118709646?v=4", "isSiteAdmin": false }, { "id": 982868, "url": "https://github.com/novalagung", "type": "User", "login": "novalagung", "avatar": "https://avatars.githubusercontent.com/u/982868?v=4", "isSiteAdmin": false }, { "id": 25837540, "url": "https://github.com/dwisiswant0", "type": "User", "login": "dwisiswant0", "avatar": "https://avatars.githubusercontent.com/u/25837540?v=4", "isSiteAdmin": false }, { "id": 36947813, "url": "https://github.com/kelasterbuka", "type": "Organization", "login": "kelasterbuka", "avatar": "https://avatars.githubusercontent.com/u/36947813?v=4", "isSiteAdmin": false }, { "id": 3713580, "url": "https://github.com/hendisantika", "type": "User", "login": "hendisantika", "avatar": "https://avatars.githubusercontent.com/u/3713580?v=4", "isSiteAdmin": false }, { "id": 40487188, "url": "https://github.com/silvesterwali", "type": "User", "login": "silvesterwali", "avatar": "https://avatars.githubusercontent.com/u/40487188?v=4", "isSiteAdmin": false }, { "id": 22091590, "url": "https://github.com/dicodingacademy", "type": "Organization", "login": "dicodingacademy", "avatar": "https://avatars.githubusercontent.com/u/22091590?v=4", "isSiteAdmin": false }, { "id": 3748658, "url": "https://github.com/mathdroid", "type": "User", "login": "mathdroid", "avatar": "https://avatars.githubusercontent.com/u/3748658?v=4", "isSiteAdmin": false }, { "id": 48324618, "url": "https://github.com/phanatagama", "type": "User", "login": "phanatagama", "avatar": "https://avatars.githubusercontent.com/u/48324618?v=4", "isSiteAdmin": false }, { "id": 6803784, "url": "https://github.com/hangga", "type": "User", "login": "hangga", "avatar": "https://avatars.githubusercontent.com/u/6803784?v=4", "isSiteAdmin": false }, { "id": 7764302, "url": "https://github.com/faqihza", "type": "User", "login": "faqihza", "avatar": "https://avatars.githubusercontent.com/u/7764302?v=4", "isSiteAdmin": false }, { "id": 235584, "url": "https://github.com/mhaidarhanif", "type": "User", "login": "mhaidarhanif", "avatar": "https://avatars.githubusercontent.com/u/235584?v=4", "isSiteAdmin": false }, { "id": 45036724, "url": "https://github.com/zuramai", "type": "User", "login": "zuramai", "avatar": "https://avatars.githubusercontent.com/u/45036724?v=4", "isSiteAdmin": false }, { "id": 88219725, "url": "https://github.com/Zlkcyber", "type": "User", "login": "Zlkcyber", "avatar": "https://avatars.githubusercontent.com/u/88219725?v=4", "isSiteAdmin": false }, { "id": 6789991, "url": "https://github.com/alfianlosari", "type": "User", "login": "alfianlosari", "avatar": "https://avatars.githubusercontent.com/u/6789991?v=4", "isSiteAdmin": false }, { "id": 36522826, "url": "https://github.com/daffainfo", "type": "User", "login": "daffainfo", "avatar": "https://avatars.githubusercontent.com/u/36522826?v=4", "isSiteAdmin": false }, { "id": 55318172, "url": "https://github.com/theodorusclarence", "type": "User", "login": "theodorusclarence", "avatar": "https://avatars.githubusercontent.com/u/55318172?v=4", "isSiteAdmin": false }, { "id": 41313785, "url": "https://github.com/Ranginang67", "type": "User", "login": "Ranginang67", "avatar": "https://avatars.githubusercontent.com/u/41313785?v=4", "isSiteAdmin": false }, { "id": 87703322, "url": "https://github.com/theodevoid", "type": "User", "login": "theodevoid", "avatar": "https://avatars.githubusercontent.com/u/87703322?v=4", "isSiteAdmin": false }, { "id": 96912274, "url": "https://github.com/wahyudesu", "type": "User", "login": "wahyudesu", "avatar": "https://avatars.githubusercontent.com/u/96912274?v=4", "isSiteAdmin": false }, { "id": 324925, "url": "https://github.com/endymuhardin", "type": "User", "login": "endymuhardin", "avatar": "https://avatars.githubusercontent.com/u/324925?v=4", "isSiteAdmin": false }, { "id": 615326, "url": "https://github.com/ganiszulfa", "type": "User", "login": "ganiszulfa", "avatar": "https://avatars.githubusercontent.com/u/615326?v=4", "isSiteAdmin": false }, { "id": 46316533, "url": "https://github.com/reiryuki", "type": "User", "login": "reiryuki", "avatar": "https://avatars.githubusercontent.com/u/46316533?v=4", "isSiteAdmin": false } ], "query": "location:indonesia followers:>1000", "total": 37, "hasMore": true, "nextPage": 2, "totalReachable": 37 }, "timestamp": "2026-05-27T13:36:09Z" }
Frequently asked questions
How do I call the GitHub User Search Users API?
Send a GET request to https://api.zapi.ink/v1/social-media:github-user/search-users?q=location%3Aindonesia+followers%3A%3E1000 with your Zapi key in the x-api-key header. Parameters — required: q; optional: sort, order, page, perPage. The response is JSON in the { project, data, timestamp } envelope.
What does the GitHub User Search Users API return?
Cari pengguna dengan sintaks pencarian GitHub. The example response has the fields ok, page, count, items, query, total, hasMore, nextPage. Each item in items has fields such as id, url, type, login, avatar, isSiteAdmin.
Is the GitHub User Search Users 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 Search Users 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 "search-users".
What other GitHub User API endpoints are there?
It has 7 endpoints. Besides Search Users: User Profile, Get Trending Repos, Get Trending Developers, Get Repository, Get Organization, Search Repositories.
