GitHub Repo Info API
Fetch public GitHub repository information via REST API without needing a GitHub token. Returns star count, fork count, open issue count, primary language, topics, license, description, and last push date — all from the public GitHub API.
Try it live →How it works
POST a repository identifier (owner/repo format). The API calls the GitHub public API, normalizes the response, and returns the key repository metadata you need in a consistent structure.
Use cases
- Display live GitHub stats on a portfolio or project page
- Monitor dependency repository health (stars, open issues, last update)
- Build competitive analysis tools that compare repository metrics
- Populate a company's open-source project dashboard
API Reference
POST https://slopshop.gg/v1/sense-github-repo
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
Input parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
url / domain |
string | required | The URL or domain name to query |
Example response
{
"data": {
"result": "success",
"processed": true
},
"meta": {
"credits_used": 3,
"engine": "real",
"ms": 4
}
}
Examples
Three real-world scenarios showing how developers use GitHub Repo Info in production.
curl -X POST https://slopshop.gg/v1/sense-github-repo \
-H "Authorization: Bearer $SLOPSHOP_KEY" \
-H "Content-Type: application/json" \
-d '{"repo": "facebook/react"}'
curl -X POST https://slopshop.gg/v1/sense-github-repo \
-H "Authorization: Bearer $SLOPSHOP_KEY" \
-H "Content-Type: application/json" \
-d '{"repo": "lodash/lodash"}'
curl -X POST https://slopshop.gg/v1/sense-github-repo \
-H "Authorization: Bearer $SLOPSHOP_KEY" \
-H "Content-Type: application/json" \
-d '{"repo": "vercel/next.js"}'
Code examples
curl
curl -X POST https://slopshop.gg/v1/sense-github-repo \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "your data here"}'
Python
import requests
response = requests.post(
"https://slopshop.gg/v1/sense-github-repo",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"input": "your data here"}
)
result = response.json()
print(result["data"])
Node.js
const response = await fetch("https://slopshop.gg/v1/sense-github-repo", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({ input: "your data here" })
});
const { data } = await response.json();
console.log(data);
CLI
# Install the Slopshop CLI
npm install -g slopshop
# Set your API key
export SLOPSHOP_KEY=your_api_key
# Call sense-github-repo
slop sense-github-repo '{"input": "your data here"}'
Pricing
Credits are purchased in bundles starting at $1 for 1,000 credits. All compute APIs like this one use 3 credits per call — that's $0.003. See all pricing tiers.
Related APIs in Sense: Web
View the full API catalog · Try in playground · Documentation