Repository
curl --request GET \
--url https://api.example.com/api/v1/scrape/github/repository \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v1/scrape/github/repository"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/scrape/github/repository', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/scrape/github/repository",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/scrape/github/repository"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/scrape/github/repository")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/scrape/github/repository")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyGitHub Scraper
Repository
Retrieves public metadata for one GitHub repository, including owner, description, language, stars, forks, topics, license, visibility, default branch, open issues, and timestamps. Pass a full GitHub repository url.
GET
/
api
/
v1
/
scrape
/
github
/
repository
Repository
curl --request GET \
--url https://api.example.com/api/v1/scrape/github/repository \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v1/scrape/github/repository"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/scrape/github/repository', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/scrape/github/repository",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/scrape/github/repository"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/scrape/github/repository")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/scrape/github/repository")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyQuery Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | Yes | GitHub repository URL |
Response Example
{
"success": true,
"data": {
"success": true,
"repository": {
"id": 2325298,
"node_id": "MDEwOlJlcG9zaXRvcnkyMzI1Mjk4",
"name": "linux",
"full_name": "torvalds/linux",
"owner": {
"id": 1024025,
"login": "torvalds",
"avatar_url": "https://avatars.githubusercontent.com/u/1024025?v=4",
"url": "https://github.com/torvalds",
"type": "User"
},
"private": false,
"url": "https://github.com/torvalds/linux",
"description": "Linux kernel source tree",
"fork": false,
"homepage": "",
"language": "C",
"forks_count": 62423,
"stars_count": 233979,
"watchers_count": 233979,
"size": 6298741,
"default_branch": "master",
"open_issues_count": 3,
"topics": [],
"license": {
"key": "other",
"name": "Other",
"spdx_id": "NOASSERTION"
},
"archived": false,
"disabled": false,
"visibility": "public",
"pushed_at": "2026-05-21T16:23:10Z",
"created_at": "2011-09-04T22:48:12Z",
"updated_at": "2026-05-21T19:31:40Z"
}
}
}
Last modified on September 21, 2026

