APIs / Docker Hub / Tags
Docker Hub: Tags
A Docker Hub repository's tags with size, digest, push date and the platforms each image is built for.
GET /v1/docker-hub/tags
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
name | string | Required | Up to 200 characters Repository, namespace/name, or a name alone for an official image. |
ordering | string | Optional | last_updated, name Sort order. Default last_updated (newest first). |
page | integer | Optional | Any Results page, from 1. |
page_size | integer | Optional | Any Tags per page, 1 to 100. Default 20. |
Example request
Docker Hub
GET/v1/docker-hub/tags?name=nginx&page_size=10
{
"success": true,
"data": {
"name": "library/nginx",
"total": 1437,
"page": 1,
"has_more": true,
"count": 10,
"items": [
{
"tag": "stable-alpine3.24-perl",
"size_bytes": 38831401,
"digest": "sha256:5a772e2c6ecca812a72d1b2a8dbc59ba6f37213983959aa84bcc0fcdfa42fcf6",
"last_updated": "2026-11-26T01:52:26.241501Z",
"last_pushed": "2026-11-26T01:52:26.241501Z",
"platforms": [
{
"os": "linux",
"architecture": "amd64",
"size_bytes": 38831401,
"digest": "sha256:a8d6c82ecdf3d0f532211b67172b7dfb715940d0f471cbadb5064db616a7bae3"
},
{
"os": "linux",
"architecture": "ppc64le",
"size_bytes": 39277109,
"digest": "sha256:21a086b2b79ecb7d7aad9b82f9b3b20bde5e2f002bd763673436a95cc54bfb92"
},
{
"os": "linux",
"architecture": "386",
"size_bytes": 37531139,
"digest": "sha256:4f036186d2ed43ee3eac4193bc966a7e03195e7dc7aa47e0c7d6222cc8e449fb"
}
]
},
{
"tag": "stable-alpine-perl",
"size_bytes": 38831401,
"digest": "sha256:5a772e2c6ecca812a72d1b2a8dbc59ba6f37213983959aa84bcc0fcdfa42fcf6",
"last_updated": "2026-11-26T01:52:20.464144Z",
"last_pushed": "2026-11-26T01:52:20.464144Z",
"platforms": [
{
"os": "linux",
"architecture": "amd64",
"size_bytes": 38831401,
"digest": "sha256:a8d6c82ecdf3d0f532211b67172b7dfb715940d0f471cbadb5064db616a7bae3"
},
{
"os": "linux",
"architecture": "ppc64le",
"size_bytes": 39277109,
"digest": "sha256:21a086b2b79ecb7d7aad9b82f9b3b20bde5e2f002bd763673436a95cc54bfb92"
},
{
"os": "linux",
"architecture": "386",
"size_bytes": 37531139,
"digest": "sha256:4f036186d2ed43ee3eac4193bc966a7e03195e7dc7aa47e0c7d6222cc8e449fb"
}
]
},
{
"tag": "mainline-alpine3.24-perl",
"size_bytes": 39112683,
"digest": "sha256:657ad086276f94adb66bfd17d26331abc2170adc68c8feec852ba6e7e85ce60d",
"last_updated": "2026-11-26T01:52:07.032022Z",
"last_pushed": "2026-11-26T01:52:07.032022Z",
"platforms": [
{
"os": "linux",
"architecture": "amd64",
"size_bytes": 39112683,
"digest": "sha256:9f3adde126652c78b14b5cb769df7a64aafa1b97153f3644fcecc9392e668c31"
},
{
"os": "linux",
"architecture": "ppc64le",
"size_bytes": 39621871,
"digest": "sha256:489c2d36a8f9c75658ea26ef62d1726760ecf65020de9d894d6b3b8111d4173c"
},
{
"os": "linux",
"architecture": "386",
"size_bytes": 37835820,
"digest": "sha256:d6f2c6f866853943553a4677078bf6a38fd419314d3e949152ac2377c62d84c8"
}
]
}
]
},
"meta": {
"request_id": "req_342232d6d9404080a28e2c9f039d78e2",
"credits_charged": 1,
"credits_remaining": 1985
}
}200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
Each item in data.items has these 6 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
tag | string |
size_bytes | integer |
digest | string |
last_updated | string |
last_pushed | string |
platforms | object[] |