Skip to content
GET /v1/package

Package metadata + dependencies

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/aur-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/aur-api/v1/package" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/aur-api/v1/package", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/aur-api/v1/package");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/aur-api/v1/package",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "package": {
            "url": "https://github.com/Jguer/yay",
            "name": "yay",
            "votes": 2590,
            "aur_url": "https://aur.archlinux.org/packages/yay",
            "depends": [
                "pacman>6.1",
                "git"
            ],
            "license": [
                "GPL-3.0-or-later"
            ],
            "version": "12.5.7-1",
            "keywords": [
                "arm",
                "AUR",
                "go",
                "helper",
                "pacman",
                "wrapper",
                "x86"
            ],
            "provides": [],
            "conflicts": [],
            "git_clone": "git clone https://aur.archlinux.org/yay.git",
            "submitter": "jguer",
            "maintainer": "jguer",
            "popularity": 48.40602,
            "description": "Yet another yogurt. Pacman wrapper and AUR helper written in go.",
            "opt_depends": [
                "sudo",
                "doas"
            ],
            "out_of_date": null,
            "make_depends": [
                "go>=1.24"
            ],
            "package_base": "yay",
            "snapshot_url": "https://aur.archlinux.org/cgit/aur.git/snapshot/yay.tar.gz",
            "check_depends": [],
            "last_modified": "2025-12-14T20:01:41.000Z",
            "first_submitted": "2016-10-05T17:20:04.000Z"
        }
    },
    "meta": {
        "timestamp": "2026-05-31T13:58:06.782Z",
        "request_id": "6317205c-d957-46d4-b1bf-fdc66cc48922"
    },
    "status": "ok",
    "message": "Package retrieved",
    "success": true
}