Public API
Access PimpMyGit data programmatically. No authentication required.
GET /api/v1/repos
Returns a paginated list of repositories.
Query Parameters
| Param | Type | Default | Description |
|---|---|---|---|
| sort | string | trending | trending, new, or top |
| search | string | - | Search by name, owner, or description |
| language | string | - | Filter by programming language |
| limit | number | 30 | Results per page (1-100) |
| offset | number | 0 | Pagination offset |
Response
{
"data": [
{
"id": 1,
"github_url": "https://github.com/owner/repo",
"owner": "owner",
"name": "repo",
"description": "A cool project",
"stars": 1234,
"language": "Python",
"upvote_count": 42,
"is_boosted": false,
"submitted_by": "username",
"created_at": "2026-03-01 00:00:00"
}
],
"meta": {
"total": 150,
"limit": 30,
"offset": 0
}
}Rate Limits
60 requests per minute per IP. Check the X-RateLimit-Remaining header.
Example
curl "https://pimpmygit.com/api/v1/repos?sort=top&language=Python&limit=5"