# Docker Hub Image Metadata Lookup

> Docker Hub Image Metadata Lookup is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054001/call, status unknown (last checked 2026-10-13).

Fetches metadata for a Docker Hub image including pull count, star count, tags, supported architectures, and last updated timestamp.

## Facts

- Endpoint: GET https://api.strale.io/x402/docker-hub-info?utm_source=zero.xyz
- Price: $0.054001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-d4d12609
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XZpAd71lTHoa2zgKj7-xY

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 api-strale-io-d4d12609
```

Example prompt: Can you look up the Docker Hub metadata for 'nginx' — I want to see the pull count, star count, available tags, and what architectures it supports?

## When to prefer this

Use this endpoint when you need quick, structured metadata about any public Docker Hub image — official images like nginx or ubuntu, or user-namespaced images like user/repo — without scraping Docker Hub manually. Ideal for DevOps agents checking image popularity, verifying architecture support, or auditing container dependencies.

## Known failure modes

- Image not found on Docker Hub — returns error if image name is invalid or does not exist
- Malformed image name (missing slash for user/repo format) may return unexpected results
- Rate limiting or payment failure may return 402 or 429 error
- Private/restricted images not accessible without authentication may return empty or error response

## How this service works

Fetch Docker Hub image metadata: pull count, star count, tags, architectures, last updated. Supports official and user images. SQS: 96/100.

## Output

Returns structured metadata for the specified Docker Hub image including total pull count, star count, list of available tags, supported CPU architectures (e.g. amd64, arm64), and the last updated date.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "image"
     ],
     "properties": {
      "image": {
       "type": "string",
       "description": "Image name (e.g. 'nginx', 'user/repo')"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-d4d12609/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
