Docker Hub Container Pulls, Tags & Image Intel API avatar

Docker Hub Container Pulls, Tags & Image Intel API

Pricing

from $2.50 / 1,000 docker image profileds

Go to Apify Store
Docker Hub Container Pulls, Tags & Image Intel API

Docker Hub Container Pulls, Tags & Image Intel API

Extract Docker Hub pull counts, stars, latest tags, image sizes (MB), CPU architectures (amd64/arm64), digests, and update freshness via the official Docker Hub API v2. Zero API key—built for DevSecOps, VC tracking, n8n workflows, and AI agents (MCP).

Pricing

from $2.50 / 1,000 docker image profileds

Rating

0.0

(0)

Developer

John Erlbacher

John Erlbacher

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Extract structured Docker Hub container image intelligence—including cumulative pull counts, star counts, official image status, descriptions, update freshness, latest tag names, compressed image sizes (MB), supported CPU architectures (amd64, arm64, arm/v7, etc.), OCI platforms, SHA-256 digests, and push timestamps—directly from the official public Docker Hub Registry API v2 (https://hub.docker.com/v2/).

Built for DevSecOps engineers, software supply-chain auditors, platform engineering teams, VC open-source adoption analysts, competitive intelligence monitors, n8n workflows, and autonomous AI agents via Model Context Protocol (MCP).

Because this Actor speaks natively to the official public Docker Hub Registry API v2 (/v2/repositories/{namespace}/{repo}/, /v2/repositories/{namespace}/{repo}/tags/, and /v2/search/repositories/), it requires zero API keys, zero Docker Hub logins, zero proxies, and zero headless browser overhead—returning clean, deterministic, schema-validated JSON in seconds.


Key Capabilities

  • Official Docker Hub Registry API v2 (Zero Credentials): Query any public Docker Official Image (library/python, library/postgres, library/nginx) or organization/community container repository (n8nio/n8n, qdrant/qdrant, ollama/ollama) with zero authentication or proxy costs.
  • Direct Profiling & Registry Search Discovery: Supply an explicit list of repositories (accepting namespace/repo, official shorthand like python, tagged references like nginx:1.27, or full Docker Hub URLs) and/or run keyword discovery via searchQuery against /v2/search/repositories/. Every discovered repository is automatically enriched with full repository stats and latest tag metadata.
  • Multi-Architecture & Container Size Intelligence: Inspect each tag's compressed image footprint (fullSizeMb and exact fullSizeBytes), supported CPU architectures (amd64, arm64, arm/v7, ppc64le, s390x, riscv64), and full OCI platform tuples (linux/amd64, linux/arm64/v8) while automatically filtering out unknown/unknown OCI attestation entries.
  • Supply-Chain Digest & Freshness Tracking: Capture exact manifest SHA-256 digest strings, lastPushed, lastPulled, tagStatus, repository lastUpdated, and dateRegistered to detect stale base images, verify immutable digest pinning, or alert when upstream container images ship new releases.
  • Open-Source Adoption & VC Traction Signals: Track live pullCount and starCount velocities across developer tools, AI inference engines, self-hosted SaaS projects, and vector databases to benchmark commercial open-source momentum.
  • Resilient Rate Control & Graceful Batch Handling: Includes polite request pacing, automatic exponential backoff with Retry-After support on transient HTTP 429/5xx responses, deterministic deduplication, and non-fatal HTTP 404 skipping so one typo never aborts a 100-image audit.

Input Configuration

Example Input JSON (Direct Repository Profiling)

{
"repositories": [
"library/python",
"n8nio/n8n"
],
"searchQuery": "",
"maxTagsPerRepo": 5,
"maxItems": 10
}

Example Input JSON (Registry Search Discovery Mode)

{
"repositories": [],
"searchQuery": "vector database",
"officialOnly": false,
"maxTagsPerRepo": 3,
"maxItems": 15
}

Input Parameters

FieldTypeDefaultDescription
repositoriesarray<string>["library/python", "n8nio/n8n"]Docker Hub repositories to profile (namespace/repo, official shorthand like postgres, tagged refs, or Docker Hub URLs). Omit or pass [] to run purely in searchQuery mode.
searchQuerystring""Optional keyword query executed against /v2/search/repositories/ to discover and profile matching container repositories.
officialOnlybooleanfalseWhen true alongside searchQuery, restricts discovered search results to Docker Official Images (library/*).
maxTagsPerRepointeger5Number of most recently updated tags to fetch per repository (0–100). Set to 0 for ultra-fast metadata-only pulls without tag lookups.
maxItemsinteger10Maximum total number of deduplicated repository profiles to return across repositories and searchQuery (1–500).

Output Dataset Schema

Each profiled container repository is pushed to the default Apify dataset as a structured JSON record:

{
"fullName": "n8nio/n8n",
"namespace": "n8nio",
"name": "n8n",
"isOfficial": false,
"pullCount": 289560551,
"starCount": 1385,
"description": "Free and open fair-code licensed node based Workflow Automation Tool.",
"lastUpdated": "2026-11-22T08:18:04.537709Z",
"dateRegistered": "2019-10-08T15:18:17Z",
"isAutomated": false,
"repositoryType": "image",
"categories": [],
"tagCount": 1842,
"latestTagName": "v3-nightly-20261122-pc",
"latestTagSizeMb": 357.22,
"supportedArchitectures": ["amd64", "arm64"],
"latestTags": [
{
"name": "v3-nightly-20261122-pc",
"fullSizeMb": 357.22,
"fullSizeBytes": 374567960,
"architectures": ["amd64", "arm64"],
"platforms": ["linux/amd64", "linux/arm64"],
"digest": "sha256:0c01df1e7daa66b707087b8dc11dfa094291a458ff544b0358ccfcb94ac71ece",
"lastPushed": "2026-11-22T08:18:04.537709Z",
"lastPulled": "2026-11-22T18:45:12.110000Z",
"tagStatus": "active"
}
],
"pullCommand": "docker pull n8nio/n8n",
"hubUrl": "https://hub.docker.com/r/n8nio/n8n",
"extractedAt": "2026-11-22T19:05:00Z"
}

Pay-Per-Event Pricing (image-profiled)

This Actor uses transparent Apify Pay-Per-Event (PPE) billing:

  • Event name: image-profiled — charged once per profiled Docker Hub repository pushed to your dataset, deduplicated via deterministic idempotency keys (dh-<namespace>-<repo>).
  • Non-existent repositories (HTTP 404) are never charged and never abort the rest of your batch.
  • Hard budget cap protection: The Actor checks event_charge_limit_reached on every repository and halts immediately when your configured maximum run spend limit is reached.

Automate Base-Image & Open-Source Traction Alerts in n8n

Build a weekly DevSecOps Container Watchlist or VC Pull-Velocity Tracker in n8n:

  1. Schedule Trigger — Run daily or every Monday at 08:00 UTC.
  2. HTTP Request Node (Apify Run-Sync Dataset Items) — POST to:
    https://api.apify.com/v2/acts/<YOUR_USERNAME>~dockerhub-container-registry-api/run-sync-get-dataset-items?token={{$env.APIFY_TOKEN}}
    JSON Body:
    {
    "repositories": [
    "library/python",
    "library/node",
    "library/postgres",
    "n8nio/n8n",
    "qdrant/qdrant"
    ],
    "maxTagsPerRepo": 5,
    "maxItems": 10
    }
  3. Database / Slack / Google Sheets Node — Append pullCount, starCount, latestTagName, latestTagSizeMb, and latestTags[0].digest to track week-over-week pull growth, alert when image sizes spike unexpectedly, or verify arm64 Graviton readiness before Kubernetes upgrades.

Use with AI Agents & Model Context Protocol (MCP)

Connect live Docker Hub container telemetry directly to Claude Desktop, Cursor, Windsurf, or LangGraph agents via the official Apify MCP Server:

{
"mcpServers": {
"apify-dockerhub": {
"command": "npx",
"args": [
"-y",
"@apify/actors-mcp-server",
"--actors",
"<YOUR_USERNAME>/dockerhub-container-registry-api"
],
"env": {
"APIFY_TOKEN": "<YOUR_APIFY_API_TOKEN>"
}
}
}
}

Example Agent Prompts:

  • "Profile library/python, library/node, and n8nio/n8n on Docker Hub and compare their pull counts, latest tag sizes in MB, and arm64 support."
  • "Search Docker Hub for the top 10 ollama or LLM inference container images and rank them by pull count and update freshness."
  • "Check whether library/postgres and library/redis have published new amd64/arm64 digests in the last 7 days."

Data Source Attribution

All container repository metadata, pull counts, star counts, search results, tags, image sizes, architectures, and digests are retrieved directly from the official public Docker Hub Registry API v2 (https://hub.docker.com/v2/).