Microforge API

Get star history

Retrieve historical star count data for a repository

GET
/star_history

Query Parameters

repo_namestring

Repository name in format owner/repo

Response Body

Star history data

TypeScript Definitions

Use the response body type in TypeScript.

curl -X GET "https://api.microforge.studio/v1/star_history?repo_name=rowboatlabs%2Frowboat"
fetch("https://api.microforge.studio/v1/star_history?repo_name=rowboatlabs%2Frowboat")
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://api.microforge.studio/v1/star_history?repo_name=rowboatlabs%2Frowboat"

  req, _ := http.NewRequest("GET", url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://api.microforge.studio/v1/star_history?repo_name=rowboatlabs%2Frowboat"

response = requests.request("GET", url)

print(response.text)
[
  {
    "star_count": 123,
    "date": "2025-03-04"
  }
]