Sense: Web 3 credits NETWORK

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

API Reference

POST https://slopshop.gg/v1/sense-github-repo
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

Input parameters

ParameterTypeRequiredDescription
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.

Example 1
Display live star count
Show real-time GitHub stars on a project's landing page.
curl -X POST https://slopshop.gg/v1/sense-github-repo \
  -H "Authorization: Bearer $SLOPSHOP_KEY" \
  -H "Content-Type: application/json" \
  -d '{"repo": "facebook/react"}'
Example 2
Monitor dependency health
Check if an open-source dependency is still actively maintained.
curl -X POST https://slopshop.gg/v1/sense-github-repo \
  -H "Authorization: Bearer $SLOPSHOP_KEY" \
  -H "Content-Type: application/json" \
  -d '{"repo": "lodash/lodash"}'
Example 3
Competitive analysis
Compare star counts and issue counts for competitor libraries.
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 per call
3
credits
Cost per call
$0.003
at Starter tier
Tier
NETWORK
Makes network calls

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