LuaRocks Scraper avatar

LuaRocks Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
LuaRocks Scraper

LuaRocks Scraper

Scrape LuaRocks - the official Lua package repository. Search modules or fetch details for specific rocks. Extract names, descriptions, authors, versions, licenses, homepages, download counts, and labels.

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

4 days ago

Last modified

Share

Scrape LuaRocks — the official package manager and repository for Lua modules. Search for rocks by keyword or fetch full details for specific modules. Extract names, descriptions, authors, versions, licenses, homepages, download counts, and labels.

What You Can Scrape

  • Module metadata — name, description, author, version, license
  • Download statistics — total download count per module
  • Links — homepage and source repository URLs
  • Labels — community-assigned category labels
  • Versions — latest stable version string

Input

FieldTypeDescription
modeselectsearchRocks (default) or getByName
searchQuerystringFree-text search query (e.g. http, json, redis)
rockNamesarrayFor getByName: rock names like ["luasocket"] or ["lunarmodules/luasocket"]
maxItemsintegerMaximum number of rocks to return (1–500, default 50)

Output

Each record contains:

FieldDescription
rockNameModule name slug
descriptionModule description or summary
versionLatest stable version string
authorUploader/author username
licenseLicense identifier (e.g. MIT, Apache-2.0)
homepageOfficial homepage URL
repositoryUrlSource repository URL (GitHub, GitLab, etc.)
labelsCommunity-assigned label strings
downloadCountTotal download count across all versions
sourceUrlDirect LuaRocks module page URL
recordTypeAlways "rock"
scrapedAtISO 8601 timestamp of scrape

Sample Output

{
"rockName": "http",
"description": "HTTP library for Lua",
"version": "0.4-0",
"author": "daurnimator",
"license": "MIT",
"homepage": "https://daurnimator.github.io/lua-http/",
"repositoryUrl": "https://github.com/daurnimator/lua-http",
"labels": ["network", "http", "websockets"],
"downloadCount": 1235113,
"sourceUrl": "https://luarocks.org/modules/daurnimator/http",
"recordType": "rock",
"scrapedAt": "2026-05-30T12:00:00+00:00"
}

Use Cases

  • Lua ecosystem research — discover available modules by category or functionality
  • Dependency analysis — find popular libraries for HTTP, JSON, databases, etc.
  • Package monitoring — track download trends and popular modules
  • Open source intelligence — find Lua modules and their maintainers

FAQ

Do I need API keys or authentication? No. LuaRocks is a public website with no authentication required.

How many rocks can I scrape? Up to 500 per run. LuaRocks has thousands of modules — use searchQuery to narrow results.

Can I fetch a specific rock? Yes — use mode=getByName with rockNames like ["luasocket"] or ["daurnimator/http"].

What is the author/name format? Either just the rock name (e.g. luasocket) or author/name (e.g. luarocks/luarocks). The author prefix ensures you get the exact module when multiple authors publish rocks with the same name.

How often is data refreshed? Each run fetches live data from LuaRocks at the time of execution.