Skip to main content
POST
/
api
/
dockerhub
/
repositories
/
tags
/dockerhub/repositories/tags
curl --request POST \
  --url https://api.anysite.io/api/dockerhub/repositories/tags \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "repo": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "name": "<string>",
    "@type": "@dockerhub_tag",
    "full_size": 0,
    "digest": "<string>",
    "tag_status": "",
    "content_type": "<string>",
    "media_type": "<string>",
    "last_updated": "<string>",
    "last_pushed": "<string>",
    "last_pulled": "<string>",
    "images": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
repo
string
required

Repository as 'namespace/name', a bare official image name, or a Docker Hub URL

Minimum string length: 1
Examples:

"library/nginx"

"nginx"

"grafana/grafana"

count
integer
required

Number of tags to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
name
string
required
@type
string
default:@dockerhub_tag
full_size
integer
default:0
digest
string | null
tag_status
string
default:""
content_type
string | null
media_type
string | null
last_updated
string | null
last_pushed
string | null
last_pulled
string | null
images
DockerhubTagImage · object[]