repos
Get repository clones
Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
get/repos/{owner}/{repo}/traffic/clones
Path parameters
ownerstring required
The account owner of the repository. The name is not case sensitive.
repostring required
The name of the repository without the .git extension. The name is not case sensitive.
Query parameters
per'day' | 'week'
The time frame to display results for.
Response
Response
Example response
{
"count": 173,
"uniques": 128
}