# GitHub User API

> GitHub User API on Apizie: 8 endpoints (User Profile, Get Repository, Get Organization, Get Repository Releases, …) returned as clean JSON through one API key. 8 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/social-media:github-user/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `social-media:github-user`
- Category: Social Media
- Status: live
- Source: https://github.com
- Page: https://zieapi.vercel.app/api/social-media/github-user
- OpenAPI: https://zieapi.vercel.app/api/social-media/github-user/openapi.json

Public GitHub users, organizations, repositories and releases via the REST API (set GITHUB_TOKEN for higher limits).

## Endpoints

### User Profile
`GET https://zieapi.vercel.app/v1/social-media:github-user/profile/:username`

| Parameter | Type | Required | Description |
|---|---|---|---|
| username | string | yes |  |

### Get Repository
`GET https://zieapi.vercel.app/v1/social-media:github-user/repo/:owner/:repo`

| Parameter | Type | Required | Description |
|---|---|---|---|
| owner | string | yes |  |
| repo | string | yes |  |

### Get Organization
`GET https://zieapi.vercel.app/v1/social-media:github-user/org/:org`

| Parameter | Type | Required | Description |
|---|---|---|---|
| org | string | yes |  |

### Get Repository Releases
`GET https://zieapi.vercel.app/v1/social-media:github-user/releases/:owner/:repo`

| Parameter | Type | Required | Description |
|---|---|---|---|
| owner | string | yes |  |
| repo | string | yes |  |
| page | integer | no | 1-based page number |
| perPage | integer | no |  |

### Get Starred Repos
`GET https://zieapi.vercel.app/v1/social-media:github-user/starred/:username`

| Parameter | Type | Required | Description |
|---|---|---|---|
| username | string | yes |  |
| page | integer | no | 1-based page number |
| perPage | integer | no |  |

### Search Repositories
`GET https://zieapi.vercel.app/v1/social-media:github-user/search-repos`

| Parameter | Type | Required | Description |
|---|---|---|---|
| q | string | yes |  |
| sort | string | no |  |
| order | string | no |  |
| page | integer | no | 1-based page number |
| perPage | integer | no |  |

### Search Users
`GET https://zieapi.vercel.app/v1/social-media:github-user/search-users`

| Parameter | Type | Required | Description |
|---|---|---|---|
| q | string | yes |  |
| sort | string | no |  |
| order | string | no |  |
| page | integer | no | 1-based page number |
| perPage | integer | no |  |

### User Repositories
`GET https://zieapi.vercel.app/v1/social-media:github-user/repos/:username`

| Parameter | Type | Required | Description |
|---|---|---|---|
| username | string | yes |  |
| sort | string | no |  |
| page | integer | no | 1-based page number |
| perPage | integer | no |  |

## Example
```
curl "https://zieapi.vercel.app/v1/social-media:github-user/profile" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the GitHub User API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/social-media:github-user/profile with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the GitHub User API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the GitHub User API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key social-media:github-user.

### What is the status of the GitHub User API?
Live: works with just an Apizie key
