Discover/gitee.com API
live

gitee.com APIgitee.com

Access Gitee repository metadata, user profiles, commit history, file contents, and search results via 7 structured API endpoints.

Endpoints
7
Updated
10d ago
Try it
Repository name path.
Repository owner (user or organization) path.
api.parse.bot/scraper/07f5a5e4-6e57-4928-b7ae-67bf6023e7d8/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/07f5a5e4-6e57-4928-b7ae-67bf6023e7d8/get_repository?repo=git&owner=git-mirrors' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 7 totalclick to expand

Fetch full details of a single repository by owner and repo name. Returns comprehensive metadata including stars, forks, language, project labels, and namespace information.

Input
ParamTypeDescription
reporequiredstringRepository name path.
ownerrequiredstringRepository owner (user or organization) path.
Response
{
  "type": "object",
  "fields": {
    "id": "integer repository ID",
    "name": "string display name",
    "language": "string primary programming language or null",
    "full_name": "string owner/repo path",
    "namespace": "object with id, type, name, path fields",
    "description": "string repository description",
    "forks_count": "integer fork count",
    "project_labels": "array of label objects with id, name, ident fields",
    "stargazers_count": "integer star count"
  },
  "sample": {
    "data": {
      "id": 6549348,
      "name": "vn.py",
      "language": "Python",
      "full_name": "vnpy/vnpy",
      "namespace": {
        "id": 1925923,
        "name": "vn.py官方",
        "path": "vnpy",
        "type": "group"
      },
      "description": "基于Python的开源量化交易平台开发框架",
      "forks_count": 1509,
      "project_labels": [
        {
          "id": 7,
          "name": "Python",
          "ident": "Python"
        }
      ],
      "stargazers_count": 3118
    },
    "status": "success"
  }
}

About the gitee.com API

This API covers 7 endpoints for exploring Gitee, China's largest Git hosting platform. It returns repository metadata, user profiles, commit histories, and directory contents. The search_repositories endpoint accepts a keyword query and returns paginated hits with star counts, languages, and descriptions. Repository-specific endpoints like get_repository expose fields including project_labels, namespace, stargazers_count, and forks_count in a single call.

Repository Data

The get_repository endpoint takes owner and repo path parameters and returns a full metadata object: integer id, full_name, language, description, stargazers_count, forks_count, a namespace object with id, type, name, and path fields, and a project_labels array where each label carries id, name, and ident fields. The companion get_repository_type endpoint returns classification-specific fields: gvp (Gitee Very Valuable Project boolean), recommend, outsourced, namespace_type, and a flat array of label name strings.

Search and User Listings

search_repositories accepts a query string plus optional page and per_page parameters. The response wraps results in a hits object that contains a total sub-object (with value and relation) and an array of hit objects carrying _id, _score, and fields. The took integer at the root tells you server-side search time in milliseconds. list_user_repos lists public repositories for a username with the same pagination controls, returning an array of repository objects that include full_name, language, stargazers_count, forks_count, and description.

Commits and File Trees

list_repo_commits returns a paginated array of commit objects for any owner/repo pair. Each entry includes sha, url, a nested commit object with author, committer, and message fields, plus top-level author, committer, and parents fields. list_repo_contents lists files and directories at a given path (root if omitted), returning objects with type (dir or file), name, path, sha, url, html_url, and download_url.

User Profiles

get_user accepts a username and returns a public profile: integer id, login, name, bio, avatar_url, followers, following, and public_repos counts. This is sufficient to build user-level summaries without additional calls.

Common use cases
  • Aggregate trending Gitee repositories by star count using search_repositories with keyword queries
  • Compare GVP and recommendation status across repositories using get_repository_type
  • Build a commit activity timeline for a project via list_repo_commits pagination
  • Catalog a user's public portfolio by combining get_user profile data with list_user_repos results
  • Inventory source files and directory structure of a repository using list_repo_contents with a path parameter
  • Filter repositories by programming language using the language field returned by get_repository
  • Identify project category labels across a namespace using project_labels from get_repository
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Gitee have an official developer API?+
Yes. Gitee provides an official REST API documented at https://gitee.com/api/v5/swagger. It requires OAuth2 or personal access tokens for most operations. This Parse API exposes a read-only subset focused on public repository and user data without requiring you to manage Gitee credentials.
What does `get_repository_type` return that `get_repository` does not?+
get_repository_type returns the gvp boolean (Gitee Very Valuable Project designation), recommend, outsourced, and namespace_type fields, and a flat array of label name strings. get_repository returns richer repository metadata — stars, forks, full namespace object, description — but does not include the GVP or recommendation flags.
Does `search_repositories` support filtering by language or label?+
The endpoint accepts a query string and optional page/per_page parameters. Language or label filtering is not exposed as separate parameters — the full-text query drives results. You can fork this API on Parse and revise it to add language or label filter parameters if Gitee's search supports them.
Does the API cover issues, pull requests, or repository stars lists?+
Not currently. The API covers repository metadata, user profiles, commit history, file contents, and keyword search. Issues, pull requests, release notes, and detailed stargazer lists are not included. You can fork this API on Parse and revise it to add endpoints for those resources.
Are there pagination limits on `list_repo_commits` or `list_repo_contents`?+
list_repo_commits accepts page as an optional integer to step through results. list_repo_contents does not support pagination — it returns all entries at the specified path in a single response. For very large directories this means the response may be long, but no page parameter is available for that endpoint.
Page content last updated . Spec covers 7 endpoints from gitee.com.
Related APIs in Developer ToolsSee all →
arxiv.org API
Search and discover academic research papers on arXiv using keywords, authors, titles, categories, and dates, then access detailed metadata for any paper. Browse the complete arXiv category taxonomy to explore research across different scientific disciplines.
theresanaiforthat.com API
Search and discover AI tools across different tasks, get detailed information about specific tools, browse available deals, and stay updated on the latest tools. Find the perfect AI solution for your needs by filtering by task category or checking featured and trending tools.
oeis.org API
Search OEIS for integer sequences by keyword, A-number, or known terms, then retrieve full sequence entries and b-file term data.
nvidia.com API
nvidia.com API
sketchfab.com API
Search and browse 3D models on Sketchfab, including filtering by category, license, animation, and downloadability. Retrieve detailed model metadata, creator profiles, collections, thumbnails, tags, and viewer configuration options.
mvnrepository.com API
Search Maven artifacts and retrieve detailed information about Java libraries, including artifact details, relocation notices, and popular package rankings. Find the exact dependencies you need and discover trending open-source projects in the Maven ecosystem.
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
intelx.io API
Search leaked databases, darknet markets, and paste sites to uncover exposed credentials, breach data, and threat intelligence across the internet. Retrieve detailed results including file previews, account information, and phonebook records to investigate security threats and monitor data breaches.