# Docker Hub Image Health Check

> Docker Hub Image Health Check is a paid API for AI agents from package-registries.x402tookit.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-30).

Returns health metadata for a Docker Hub image including official status, pull/star counts, last push age, recent tags, and supported architectures.

## Facts

- Endpoint: GET https://package-registries.x402tookit.com/docker-image-health?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/docker-hub-image-health-check-6916e34f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UQ9g46yHCRS9jBDplu74w

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability docker-hub-image-health-check-6916e34f
```

Example prompt: Can you check the health of the nginx Docker image — is it official, how many pulls does it have, when was it last updated, and what architectures does it support?

## When to prefer this

Use this endpoint when you need a comprehensive health snapshot of a Docker Hub image in a single call — including official status, popularity metrics, recency, multi-architecture support, and a pre-computed health verdict. Prefer this over manually scraping Docker Hub when you want structured, agent-consumable data with an opinionated health assessment rather than raw registry metadata.

## Known failure modes

- Image not found on Docker Hub — returns null or error status
- Invalid image name format causes 400-level error
- Docker Hub rate limiting causes temporary failures
- Very new or private images may return incomplete data
- Network timeout if Docker Hub API is slow

## How this service works

Health of a Docker Hub image: official or not, pulls, stars, last push age, recent tags and supported architectures.

## Output

Returns a structured object with: image name, official flag, pull count, star count, days since last update, last updated timestamp, created timestamp, list of recent tags (with name, size, and last updated), supported platforms/architectures, a health verdict and summary, reasons for any degraded status, a source URL to the Docker Hub page, and a disclaimer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "image"
     ],
     "properties": {
      "image": {
       "type": "string",
       "description": "Image such as nginx or bitnami/redis"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "image": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "status": {
       "type": [
        "null",
        "string"
       ]
      },
      "created": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "official": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "platforms": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "pullCount": {
       "type": [
        "null",
        "number"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "starCount": {
       "type": [
        "null",
        "number"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "recentTags": {
       "type": [
        "array",
        "null"
       ],
       "items": {
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/docker-hub-image-health-check-6916e34f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from package-registries.x402tookit.com](https://www.zero.xyz/host/package-registries.x402tookit.com/llms.txt)
