Zigistry Scraper avatar

Zigistry Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Zigistry Scraper

Zigistry Scraper

Scrape Zigistry - the community index of Zig programming language packages and programs. Search or browse by topic, fetch full repo details with dependencies and releases, or pull curated trending lists (most-used, recently updated, web, GUI, games).

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

18 days ago

Last modified

Share

Scrape Zigistry — the community-maintained index of packages and programs written in the Zig programming language. Search or browse by topic, fetch full details for specific repositories (dependencies, releases, dependents), or pull curated trending lists. Pure HTTP against Zigistry's public JSON API — no auth, no proxy, no cookies.

What this actor does

  • Three modes: search (full-text + topic browse), byRepo (exact repo detail lookup), trending (curated lists)
  • Covers both catalogs: reusable packages (libraries) and programs (applications)
  • Filters: minimum stars, source host (GitHub/Codeberg), primary language, license (SPDX identifier), exclude archived repos
  • Sorting: stars, dependents, recently updated, newly added, name, forks, issues, minimum Zig version
  • Empty fields are omitted — you only ever see fields with real data

Output per repository

  • id — canonical repo id (e.g. gh/hejsil/zig-clap)
  • providergithub or codeberg
  • ownerName, repoName, fullName
  • description, primaryLanguage, license
  • stargazerCount, forkCount, watchersCount, issuesCount, dependentsCount
  • isArchived, isDisabled, isFork
  • defaultBranchName, createdAt, pushedAt
  • minimumZigVersion
  • avatarUrl, repoUrl, sourceUrl (the repo's GitHub/Codeberg page)
  • mode=byRepo only: latestVersion (newest release, always populated even when version is pinned), resolvedVersion (present only when version was pinned to something other than the latest), publishedAt, readmeUrl, isPrerelease, directoryFiles[], dependencies[] ({name, url, hash, lazy, path}), releases[], releaseCount, dependents[] (capped at 25)
  • recordType: "package" / "program", scrapedAt
  • mode=trending only: trendingCategory — which curated list (recently_updated / most_used / latest / web / gui / games) this record came from. When category is left blank (all categories), a repo that appears in more than one curated list is emitted once per list, each tagged with its own trendingCategory — use this field to tell those apart.

Input

FieldTypeDefaultDescription
modestringsearchsearch / byRepo / trending
packageTypestringpackagespackages / programs
searchQuerystringFree-text query (mode=search)
topicstringFilter by topic, e.g. web, gui, game
sortBystringintelligentstars / dependents / recently_updated / newly_added / name / forks / issues / zig_version (name and zig_version are sorted client-side — see note below)
sortDirstringdescasc / desc
reposarrayExact owner/repo (or gh/owner/repo, cb/owner/repo, full URL) list (mode=byRepo)
versionstringExact release tag for repos lookups
categorystring(all)Trending category (mode=trending)
providerstringFilter by source host
minStarsintMinimum star count
languagestringFilter by primary language (exact match, case-insensitive), e.g. Zig, C, Rust
licensestringFilter by SPDX license identifier (exact match, case-insensitive), e.g. MIT, Apache-2.0, GPL-3.0
excludeArchivedboolfalseDrop archived repos
maxItemsint50Hard cap (1–2000)
{
"mode": "search",
"topic": "web",
"sortBy": "stars",
"excludeArchived": true,
"minStars": 10,
"maxItems": 30
}

Example: full detail on specific repos

{
"mode": "byRepo",
"repos": ["hejsil/zig-clap", "floooh/sokol-zig", "cb/foreverzer0/klack"]
}

Use cases

  • Discover actively-maintained Zig libraries for a given domain (web, GUI, games)
  • Audit a package's dependency tree and dependents before adopting it
  • Track newly-added or trending Zig projects
  • Build a curated "awesome-zig" style directory automatically

FAQ

Does this require a Zigistry account or API key? No — Zigistry's package index is fully public.

What's the difference between packages and programs? Packages are reusable libraries meant to be depended on; programs are standalone applications. Zigistry maintains separate catalogs for each — set packageType accordingly.

What does sourceUrl point to? The repo's own GitHub or Codeberg page (repoUrl, duplicated as sourceUrl). Zigistry's own per-repo page is a client-rendered route with no server-side page to fetch, so it isn't used as a URL field here.

Why does sortBy: name / sortBy: zig_version take longer than other sort options? Zigistry's own API silently ignores those two sort keys server-side (confirmed empirically — asc/desc return different but equally unsorted order). To still deliver a correctly-sorted result, this actor fetches every matching record across all pages, sorts client-side, and then emits the top maxItems. Every other sort key (stars, dependents, recently_updated, newly_added, forks, issues, intelligent) is honored natively by Zigistry and streams page-by-page as usual.

Why is resolvedVersion sometimes present and latestVersion sometimes absent? When you pin version to an older release, Zigistry blanks its own latest_version field for that response — this actor backfills latestVersion from the repo's release list so it's always the true newest release. resolvedVersion is only added when the pinned version differs from the latest, so you can tell at a glance whether dependencies/readmeUrl/etc. describe an older release.