Introduction
libregistry provides structured, machine-readable data on libraries, models, MCP servers, Docker images, and IAM services — built for AI agents and developers who need reliable compatibility data.
Base URL:
https://api.libregistry.comAll responses are JSON. All list endpoints return { total, offset, limit, results }.
Authentication
Public read endpoints require no authentication. Pass your API key as a Bearer token when accessing rate-limited or account endpoints.
GET /registry HTTP/1.1
Host: api.libregistry.com
Authorization: Bearer lr_live_<your_key>Get your key from your account page. Keys begin with lr_live_. The full key is shown once at creation — if lost, regenerate from your account page.
Registry
Library compatibility data. Entries may be empirically verified (install + import tested in a clean venv) or unverified (community-sourced).
/registryList libraries.
python, javascript, rust, go, …ai-ml, llm-agents, web-framework, …active · maintenance · deprecated · abandoned1 to return only entries with a passing verify run.hits to sort by 7-day traffic.curl "https://api.libregistry.com/registry?language=python&category=ai-ml&limit=5"/registry/{library}Full entry for a single library. library is the slug, e.g. openai, langchain, boto3.
curl "https://api.libregistry.com/registry/openai"Response includes provenance — verified status, last verified date, and next scheduled check.
/registry/{library}/compatibilityCompatibility matrix for a library: per-environment install + import results.
curl "https://api.libregistry.com/registry/openai/compatibility"{
"matrix": [
{
"py_version": "python:3.10-slim",
"passing": 1,
"runs": 1,
"avg_install_s": 4.21,
"avg_import_s": 0.34,
"installed_version": "1.35.3",
"disk_size": 42.1
}
],
"traffic": {
"hits_30d": 18400,
"hits_7d": 3200,
"actors": [{ "bot": "ChatGPT-User", "hits": 9100 }]
}
}Models
AI model registry: specs, pricing, context windows, capabilities.
/modelsanthropic, openai, google, …chat, embedding, image, …active · deprecated · retiredcurl "https://api.libregistry.com/models?provider=anthropic"/models/{slug}Full model record including pricing, modalities, capabilities, and lifecycle dates.
curl "https://api.libregistry.com/models/claude-sonnet-4-5"MCP Servers
MCP (Model Context Protocol) server registry.
/mcpcurl "https://api.libregistry.com/mcp?q=filesystem"/mcp/{slug}curl "https://api.libregistry.com/mcp/filesystem"Docker Images
Curated Docker base image reference.
/dockercurl "https://api.libregistry.com/docker?q=python"/docker/{slug}curl "https://api.libregistry.com/docker/python-3-12-slim"IAM Services
Cloud IAM service reference: permissions, policies, identities.
/iamcurl "https://api.libregistry.com/iam?q=aws"/iam/{slug}curl "https://api.libregistry.com/iam/aws-iam-role"Rate limits
HTML registry pages are never rate-limited. Only the JSON API applies these limits.
Errors
Standard HTTP status codes.
200OK400Bad request — check query parameters.401Missing or invalid Bearer token.404Resource not found — check the slug against /registry?q=422Validation error — malformed parameter value.429Rate limit exceeded — add an API key or wait for the daily reset.500Internal server error.Error body:
{ "detail": "Library not found" }