{"api":{"id":"api_b1d88ec1614d04e913bea549","slug":"repository-health","name":"Open Source Repository Health API","description":"How well an open-source repository is maintained: issue and pull request counts, how many were closed or merged, average days to close an issue or pull request, the past year's activity and the number of maintainers. Give owner/name pairs from GitHub, GitLab or Codeberg.","kind":"ready_made","visibility":"public","domain":"issues.ecosyste.ms","source_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/{owner}%2F{repo}","category":"developer","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":12,"created_at":"2026-12-06T03:57:27.703Z","updated_at":"2026-12-06T03:57:27.703Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"repository","type":"string","description":"The repository as owner/name.","required":true,"coverage":1,"example":"expressjs/express"},{"name":"url","type":"url","description":"The repository's own page.","required":false,"coverage":1,"example":"https://github.com/expressjs/express"},{"name":"issues_count","type":"integer","description":"Issues ever opened (pull requests not counted).","required":false,"coverage":1,"example":4135},{"name":"pull_requests_count","type":"integer","description":"Pull requests ever opened.","required":false,"coverage":1,"example":2854},{"name":"issues_closed_count","type":"integer","description":"Issues that have been closed.","required":false,"coverage":1,"example":3989},{"name":"merged_pull_requests_count","type":"integer","description":"Pull requests that were merged.","required":false,"coverage":1,"example":572},{"name":"avg_time_to_close_issue_days","type":"number","description":"Average days from opening to closing an issue.","required":false,"coverage":1,"example":72.2},{"name":"avg_time_to_close_pr_days","type":"number","description":"Average days from opening to closing a pull request.","required":false,"coverage":1,"example":65.9},{"name":"past_year_issues_count","type":"integer","description":"Issues opened in the past year.","required":false,"coverage":1,"example":88},{"name":"past_year_pr_count","type":"integer","description":"Pull requests opened in the past year.","required":false,"coverage":1,"example":507},{"name":"maintainers_count","type":"integer","description":"People the index counts as maintainers of the repository.","required":false,"coverage":1,"example":29},{"name":"last_synced_at","type":"datetime","description":"When the index last re-read this repository (UTC).","required":false,"coverage":1,"example":"2026-11-24T13:00:06.561Z"}],"inputs":[{"name":"repositories","type":"array","description":"Repositories as owner/name, such as expressjs/express. A full repository link works too.","example":["expressjs/express"],"required":true},{"name":"host","type":"string","description":"Where the repositories live: GitHub, GitLab or Codeberg.","default":"GitHub","example":"GitHub","enum":["GitHub","GitLab","Codeberg"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"avg_time_to_close_issue_days":{"description":"Average days from opening to closing an issue.","type":"number"},"avg_time_to_close_pr_days":{"description":"Average days from opening to closing a pull request.","type":"number"},"issues_closed_count":{"description":"Issues that have been closed.","type":"integer"},"issues_count":{"description":"Issues ever opened (pull requests not counted).","type":"integer"},"last_synced_at":{"description":"When the index last re-read this repository (UTC).","format":"date-time","type":"string"},"maintainers_count":{"description":"People the index counts as maintainers of the repository.","type":"integer"},"merged_pull_requests_count":{"description":"Pull requests that were merged.","type":"integer"},"past_year_issues_count":{"description":"Issues opened in the past year.","type":"integer"},"past_year_pr_count":{"description":"Pull requests opened in the past year.","type":"integer"},"pull_requests_count":{"description":"Pull requests ever opened.","type":"integer"},"repository":{"description":"The repository as owner/name.","type":"string"},"url":{"description":"The repository's own page.","format":"uri","type":"string"}},"required":["repository"],"title":"Open Source Repository Health API","type":"object"},"samples":[{"repository":"expressjs/express","url":"https://github.com/expressjs/express","issues_count":4135,"pull_requests_count":2854,"issues_closed_count":3989,"merged_pull_requests_count":572,"avg_time_to_close_issue_days":72.2,"avg_time_to_close_pr_days":65.9,"past_year_issues_count":88,"past_year_pr_count":507,"maintainers_count":29,"last_synced_at":"2026-11-24T13:00:06.561Z"},{"repository":"pallets/flask","url":"https://github.com/pallets/flask","issues_count":2788,"pull_requests_count":2879,"issues_closed_count":2777,"merged_pull_requests_count":1617,"avg_time_to_close_issue_days":106.6,"avg_time_to_close_pr_days":23.8,"past_year_issues_count":88,"past_year_pr_count":194,"maintainers_count":4,"last_synced_at":"2026-11-21T17:00:01.256Z"},{"repository":"psf/requests","url":"https://github.com/psf/requests","issues_count":4201,"pull_requests_count":3058,"issues_closed_count":4031,"merged_pull_requests_count":1678,"avg_time_to_close_issue_days":102.1,"avg_time_to_close_pr_days":43.2,"past_year_issues_count":123,"past_year_pr_count":412,"maintainers_count":9,"last_synced_at":"2026-11-20T20:00:16.009Z"}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"avg_time_to_close_issue_days":1,"avg_time_to_close_pr_days":1,"issues_closed_count":1,"issues_count":1,"last_synced_at":1,"maintainers_count":1,"merged_pull_requests_count":1,"past_year_issues_count":1,"past_year_pr_count":1,"pull_requests_count":1,"repository":1,"url":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_b1d88ec1614d04e913bea549/run","openapi":"https://pullrow.dev/v1/apis/api_b1d88ec1614d04e913bea549/openapi.json","contract":"https://pullrow.dev/v1/apis/api_b1d88ec1614d04e913bea549/contract.json","page":"https://pullrow.dev/catalog/repository-health"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Figures come from the Ecosyste.ms issues index, which re-reads each repository now and then; last_synced_at says when (often days to weeks old). It is not live GitHub data.","Only repositories the index already knows come back; a repository it has not indexed, or a misspelled name, returns no record. Private repositories are never covered.","Averages are in days, converted from the index's seconds; they cover all issues and pull requests ever opened, not only recent ones. avg_time_to_close_* is empty when nothing was closed.","maintainers_count is the number of people the index counts as maintainers (those who answer or close most issues and pull requests), not the repository's official owner list.","One repository per record; up to 500 repositories per run, read one at a time. The source allows about 5,000 anonymous requests an hour.","Data is published by Ecosyste.ms under the CC BY-SA 4.0 licence; credit Ecosyste.ms when you reuse it."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"repository","label":"Repository","description":"The repository as owner/name.","group":"Basics","shown":true,"written":false},{"name":"url","label":"Link","description":"The repository's own page.","group":"Links","shown":true,"written":false},{"name":"issues_count","label":"Issues count","description":"Issues ever opened (pull requests not counted).","group":"Basics","shown":true,"written":false},{"name":"pull_requests_count","label":"Pull requests count","description":"Pull requests ever opened.","group":"Basics","shown":true,"written":false},{"name":"issues_closed_count","label":"Issues closed count","description":"Issues that have been closed.","group":"Basics","shown":true,"written":false},{"name":"merged_pull_requests_count","label":"Merged pull requests count","description":"Pull requests that were merged.","group":"Basics","shown":true,"written":false},{"name":"avg_time_to_close_issue_days","label":"Average time to close issue days","description":"Average days from opening to closing an issue.","group":"Dates","shown":true,"written":false},{"name":"avg_time_to_close_pr_days","label":"Average time to close pr days","description":"Average days from opening to closing a pull request.","group":"Dates","shown":true,"written":false},{"name":"past_year_issues_count","label":"Past year issues count","description":"Issues opened in the past year.","group":"Dates","shown":true,"written":false},{"name":"past_year_pr_count","label":"Past year pr count","description":"Pull requests opened in the past year.","group":"Dates","shown":true,"written":false},{"name":"maintainers_count","label":"Maintainers count","description":"People the index counts as maintainers of the repository.","group":"Basics","shown":true,"written":false},{"name":"last_synced_at","label":"Last synced","description":"When the index last re-read this repository (UTC).","group":"Dates","shown":true,"written":false}],"inputs":[{"name":"repositories","label":"Repositories","help":"Repositories as owner/name, such as expressjs/express. A full repository link works too.","example":"expressjs/express","written":false},{"name":"host","label":"Host","help":"Where the repositories live: GitHub, GitLab or Codeberg.","example":"GitHub","written":false}]}},"incidents":[]}