API · /packagist-api

Packagist API

healthy 4,057 Subscribers

The Packagist.org registry — the package ecosystem of PHP and Composer — as an API. Look up any package (vendor/package, e.g. monolog/monolog, laravel/framework, symfony/console) for its description, type, total/monthly/daily download counts, GitHub stars, forks and open issues, number of dependents, latest stable version and its PHP requirement; search the registry by keyword and tag; and list a package's full version history (newest stable first). Live from the official Packagist API. Ideal for package dashboards, dependency and supply-chain tooling, developer portals and PHP ecosystem analytics. Open data from Packagist.org.

api.oanor.com/packagist-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/packagist-api/openapi.json
/api/packagist-api/llms.txt

Discovery: GET /api/index.json lists every API.

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
178 ms
Server probes · 24h
Subscribers
4,057
active
Total calls
176
last 7 days
status Full status page → · 16 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 3,600 calls / month
  • 2 requests / second
  • Hard cap (429 above quota, no overage)
  • 3,600 calls/month
  • 2 req/sec
  • Package + search + versions
  • No credit card
Sign in to subscribe

Starter

€4.20 /month

  • 48,600 calls / month
  • 8 requests / second
  • Hard cap (429 above quota, no overage)
  • 48.6k calls/month
  • 8 req/sec
  • GitHub stats + version history
  • Email support
Sign in to subscribe

Pro

€12.40 /month

  • 238,800 calls / month
  • 20 requests / second
  • Hard cap (429 above quota, no overage)
  • 238.8k calls/month
  • 20 req/sec
  • Supply-chain / dependency tooling
  • Priority support
Sign in to subscribe

Mega

€33.60 /month

  • 1,197,000 calls / month
  • 50 requests / second
  • Hard cap (429 above quota, no overage)
  • 1.2M calls/month
  • 50 req/sec
  • Ecosystem-analytics platform
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

AUR API

The Arch User Repository (AUR) as an API. Look up any AUR package for its version, description, upstream URL, maintainer and submitter, community votes and popularity score, license, out-of-date flag, keywords and full dependency lists (depends, make-depends, opt-depends), plus its source snapshot and ready-to-run git-clone command; search the whole AUR by name, description, maintainer, dependencies or keywords (results sorted by popularity); and list every package maintained by a given user. Covers the 90,000+ community-maintained packages of Arch Linux, from yay, paru and visual-studio-code-bin to google-chrome and spotify. Live from the official AUR RPC. Ideal for Arch/AUR helpers and dashboards, package and dependency tooling, and Linux developer portals. Open data from the Arch User Repository.

api.oanor.com/aur-api

Homebrew API

The macOS and Linux package manager — Homebrew (brew) — as an API. Look up any formula (command-line package) for its description, latest version, license, homepage, dependencies and build dependencies, caveats and deprecation status; look up any cask (graphical macOS app) for its version, bundled apps and homepage; and search the whole registry of 8,300+ formulae and 7,600+ casks by name and description. Each result comes with the exact `brew install` command. Covers the Homebrew world from wget, git, ffmpeg, node and python to Firefox, Visual Studio Code, Docker and Rectangle. Live from the official formulae.brew.sh API. Ideal for developer dashboards, package and dependency tooling, dotfiles and setup automation, and macOS app catalogs. Open data from Homebrew.

api.oanor.com/brew-api

Go Modules API

The Go package ecosystem as an API. Look up any Go module by its import path for its latest version, license, source repository, total version count and known security advisories; read a module's full version history with publication dates; and get a module's declared dependencies — direct and indirect — parsed straight from its go.mod, with the required Go version. Covers the entire public Go module graph, from github.com/gin-gonic/gin, github.com/spf13/cobra and golang.org/x/text to gorm.io/gorm and k8s.io/client-go. Live from the official Go module proxy (proxy.golang.org) and Google's deps.dev. Ideal for dependency and supply-chain tooling, SBOM generation, package dashboards and Go developer portals. Modules are addressed by full import path. Open data.

api.oanor.com/gomod-api

CTAN API

The TeX and LaTeX package ecosystem — CTAN, the Comprehensive TeX Archive Network — as an API. Look up any of CTAN's ~6,900 packages for its caption and description, latest version and date, license, authors (with resolved names), aliases, topics, home and repository links, and whether it ships with MiKTeX and TeX Live; search the whole registry by name and caption; and resolve any CTAN author id to a name. Covers the TeX/LaTeX world from PGF/TikZ, Beamer and KOMA-Script to amsmath, biblatex and listings. Live from the official CTAN JSON API. Ideal for LaTeX editors and tooling, package dashboards, academic-publishing pipelines and TeX ecosystem analytics. Open data from CTAN.

api.oanor.com/ctan-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for Packagist API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Packagist API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Packagist API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does Packagist API cost?
Packagist API has a free tier with 100 calls / month. Paid plans start at €4.20 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is Packagist API GDPR-compliant?
All requests to Packagist API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

Pick an endpoint from the list on the left to see its details and try it.

Code snippets

Sign up to get an API key, then call any path under your slug.

curl https://api.oanor.com/packagist-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/packagist-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/packagist-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
    "https://api.oanor.com/packagist-api/SOME_PATH",
    headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())

Ratings

Sign in to rate.

No reviews yet.

Discussion

Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.

Sign in to start a thread or reply.

Sign in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 This thread is locked — no new replies.

  • No threads yet — start the discussion.

Support

Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.

Sign in to open a support ticket.

Sign in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.