---
name: xingchao
description: Query current GitHub Trending data from Xingchao. Use when the user asks what repositories are trending, requests a language or time-range leaderboard, or needs a concise Markdown digest.
metadata: {"openclaw":{"homepage":"https://xingchao.dev"}}
---

# Xingchao

Use Xingchao's public, read-only API. It mirrors GitHub Trending from cached data and requires no authentication.

Base URL: `https://xingchao.dev`

## Choose an endpoint

- For a ranked JSON list, GET `/api/v1/trending?since=daily&lang=all&limit=10`.
- For a short JSON list plus ready-to-share text, GET `/api/v1/trending/top?since=daily&lang=all&n=10`.
- For ready-to-share Markdown, GET `/api/v1/digest.md?since=daily&lang=all&n=10`.
- For freshness-sensitive requests, GET `/api/v1/meta` first. If `stale` is true, tell the user the result is cached and include `lastSuccessAt`.
- Discover supported filters with GET `/api/v1/languages`; use `daily`, `weekly`, or `monthly` for `since`. The `zh` language filter only supports `daily`.

Use the exact Base URL above for every request. Preserve the API's ranking order, mention `fetchedAt` when freshness matters, and link repository names to their returned `url`. Do not scrape GitHub or scan every language combination when one API request answers the question.

API schema: `https://xingchao.dev/api/openapi.json`
