API Document

List GitHub trending repositories

get /api/trending

Parameters

NameTypeInDescription
languagestringpath

Programming language

sincestringquery

Can be one of daily, weekly, monthly

spoken_language_codestringquery

Spoken language

Code samples

Shell
curl \
https://www.imarkr.com/api/trending

Default response

Status: 200 OK
[
  {
    "owner": {
      "login": "KeygraphHQ",
      "avatar_url": "https://github.com/KeygraphHQ.png"
    },
    "name": "shannon",
    "description": "Shannon Lite is a fully autonomous AI pentester for web apps and APIs. 96.15% (100/104 exploits) on a hint-free, source-aware variant of the XBOW benchmark.",
    "language": "TypeScript",
    "stargazers_count": "31,207",
    "stargazers_today": "854"
  }
]

GitHub user profile

get /api/github

Parameters

NameTypeInDescription
userstringquery

GitHub username

tzstringquery

Time zone

Code samples

Shell
curl \
https://www.imarkr.com/api/github\?user\=Honye

Default response

Status: 200 OK
{
  "total": 3110,
  "contributions": [
    {
      "date": "2026-03-05",
      "count": 0,
      "level": 0,
      "color": "#ebedf0"
    }
  ],
  "contribution_colors": [
    "#9be9a8",
    "#40c463",
    "#30a14e",
    "#216e39"
  ],
  "followers": 73,
  "total_stargazer_count": 464
}

Download GitHub repository folder as ZIP

get /api/github/download/{owner}/{repo}/{file_path}.zip

Parameters

NameTypeInDescription
ownerstringpath

Repository owner or organization

repostringpath

Repository name

file_pathstringpath

Path to the folder within the repository you want to download (e.g., src/components)

Code samples

Shell
curl -O \
https://www.imarkr.com/api/github/download/Honye/nextjs-imark/pages.zip