Discover/packages.msys2.org API
live

packages.msys2.org APIpackages.msys2.org

Access MSYS2 package search, repo listings, build queues, mirrors, and traffic stats via a structured API. 9 endpoints covering all major MSYS2 repositories.

Endpoints
9
Updated
3mo ago
Try it
Search type: 'pkg' for base package name, 'binpkg' for binary package name.
Search query string (e.g. 'gcc', 'python')
api.parse.bot/scraper/6fe13aed-0ff7-4718-8322-a870fca218c5/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/6fe13aed-0ff7-4718-8322-a870fca218c5/search_packages?qtype=pkg&query=gcc' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 9 totalclick to expand

Search for packages by query string and search type. Returns exact matches and other related results from the MSYS2 package repository.

Input
ParamTypeDescription
qtypestringSearch type: 'pkg' for base package name, 'binpkg' for binary package name.
queryrequiredstringSearch query string (e.g. 'gcc', 'python')
Response
{
  "type": "object",
  "fields": {
    "qtype": "string — the search type used",
    "query": "string — the search query submitted",
    "results": "object containing 'exact' (single match or null) and 'other' (array of related packages)"
  },
  "sample": {
    "data": {
      "qtype": "pkg",
      "query": "gcc",
      "results": {
        "exact": {
          "url": "https://gcc.gnu.org/",
          "name": "gcc",
          "repos": [
            "msys"
          ],
          "arches": [
            "x86_64"
          ],
          "version": "15.2.0-1",
          "realname": "gcc",
          "descriptions": "The GNU Compiler Collection"
        },
        "other": [
          {
            "name": "mingw-w64-arm-none-eabi-gcc",
            "repos": [
              "clang64",
              "mingw64",
              "ucrt64"
            ],
            "arches": [
              "any"
            ],
            "version": "13.3.0-1",
            "realname": "arm-none-eabi-gcc",
            "descriptions": "GNU Tools for ARM Embedded Processors - GCC (mingw-w64)"
          }
        ]
      }
    },
    "status": "success"
  }
}

About the packages.msys2.org API

This API exposes 9 endpoints covering the full MSYS2 package ecosystem, from searching packages by name to retrieving per-package dependency trees and file sizes. The get_package_detail endpoint returns version, build date, homepage, dependencies, package size, and installed size for any binary package across all MSYS2 repositories. Endpoints also cover build queue status, pending removals, outdated packages, mirror health, and traffic statistics.

Package Search and Detail

The search_packages endpoint accepts a query string and an optional qtype parameter to target either base package names (pkg) or binary package names (binpkg). Results are split into an exact match and an other array of related packages, so you can distinguish a precise hit from broader candidates. For full package metadata, get_package_detail takes a package_name such as mingw-w64-ucrt-x86_64-gcc and returns version, repo, homepage, build_date, description, base_package, dependencies (array of dependency names), package_size, and installed_size.

Repository and Queue Data

get_packages_by_repo accepts a repo parameter — one of ucrt64, clang64, clangarm64, mingw64, mingw32, or msys — and returns a list of package objects with name, version, description, and url. get_repos returns aggregate statistics for each repository including total packages count, package_size, and installed_size. The get_build_queue endpoint reflects packages currently queued for building, each with name, version, builds, repo_url, and version_repo fields; the array is empty when no builds are pending.

Maintenance and Infrastructure Signals

get_outdated_packages lists packages where the upstream version is newer than the packaged git version — useful for tracking ecosystem lag. get_removals surfaces packages pending deletion from the repositories. get_mirrors returns per-mirror downloads_today, last_update, and transferred_today, letting you assess mirror freshness and load. get_traffic_stats provides bandwidth data organized into four time-bucketed tables (hourly, daily, monthly, and top days), each containing Received, Sent, and time-period fields.

Common use cases
  • Monitor the MSYS2 build queue to detect pending package updates before they land in a repository.
  • Enumerate all packages in the ucrt64 or clang64 repo to audit toolchain coverage for a CI environment.
  • Fetch dependency arrays from get_package_detail to resolve transitive install requirements without running pacman.
  • Track get_outdated_packages to identify which MSYS2 packages lag behind upstream releases.
  • Check get_mirrors for last_update and transferred_today to select the most current mirror for automated downloads.
  • Compare package_size vs installed_size fields across repos to estimate disk requirements for a deployment.
  • Watch get_removals to detect packages being dropped so dependent tooling can be updated proactively.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does MSYS2 provide an official developer API for package data?+
MSYS2 does not publish a versioned public REST API. Package data is available on packages.msys2.org as a browsable web interface, but there is no documented JSON API endpoint set offered by the project for developer consumption.
What does `get_package_detail` return and how specific does the package name need to be?+
The endpoint requires the full binary package name, for example mingw-w64-ucrt-x86_64-gcc or mingw-w64-clang-x86_64-python. It returns name, repo, version, homepage, build_date, description, base_package, a dependencies array, package_size, and installed_size. Using a partial or base package name will not return results; you need the exact binary package identifier including the architecture prefix.
Does the API expose the actual file list or changelog for a package?+
The current get_package_detail response covers metadata fields including dependencies and sizes but does not include a per-file manifest or version changelog. You can fork this API on Parse and revise it to add an endpoint that returns file list data if that is available on the source.
Can I filter `get_packages_by_repo` to a specific package name prefix or architecture?+
The endpoint accepts only a repo parameter (e.g. ucrt64, msys) and returns all packages in that repository. Filtering by name prefix or architecture is not currently supported at the endpoint level. You can fork the API on Parse and revise it to add server-side filtering logic over the returned data.
How current is the build queue and removal data?+
Both get_build_queue and get_removals reflect the state of the queue at the time the request is made. When no builds are pending or no removals are queued, the respective data arrays are returned empty. There is no historical queue data or timestamp indicating when the queue was last modified exposed in the current response schema.
Page content last updated . Spec covers 9 endpoints from packages.msys2.org.
Related APIs in Developer ToolsSee all →
arxiv.org API
Search and discover academic research papers on arXiv using keywords, authors, titles, categories, and dates, then access detailed metadata for any paper. Browse the complete arXiv category taxonomy to explore research across different scientific disciplines.
sketchfab.com API
Search and browse 3D models on Sketchfab, including filtering by category, license, animation, and downloadability. Retrieve detailed model metadata, creator profiles, collections, thumbnails, tags, and viewer configuration options.
theresanaiforthat.com API
Search and discover AI tools across different tasks, get detailed information about specific tools, browse available deals, and stay updated on the latest tools. Find the perfect AI solution for your needs by filtering by task category or checking featured and trending tools.
oeis.org API
Search OEIS for integer sequences by keyword, A-number, or known terms, then retrieve full sequence entries and b-file term data.
duden.de API
Get German verb conjugations, parts of speech, and usage frequency from Duden's comprehensive database. Quickly look up how to conjugate any German verb across all tenses and moods.
nvidia.com API
nvidia.com API
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
mvnrepository.com API
Search Maven artifacts and retrieve detailed information about Java libraries, including artifact details, relocation notices, and popular package rankings. Find the exact dependencies you need and discover trending open-source projects in the Maven ecosystem.