Skip to content

Docker Hub API

7 endpointsDeveloper & TechGlobalsocial:read

Image repositories, tags, search and organizations from Docker Hub's public pages.

View as Markdown
GET/dockerhub/repositoryDescription, pulls, stars and dates of one public image repository.
GET/dockerhub/tagsTags of one public image repository, 25 per page, as Docker Hub lists them.
GET/dockerhub/searchPublic image repositories that match a search, 25 per page, as Docker Hub ranks them.
GET/dockerhub/tagOne tag of a public image repository: its digest, size and the image of each architecture.
GET/dockerhub/namespaceReposPublic repositories of one namespace or organization, 25 per page, as Docker Hub lists them.
GET/dockerhub/officialImagesThe official images of Docker Hub (the library namespace), 25 per page.
GET/dockerhub/orgOne Docker Hub organization: its full name, company, location and join date.

repository

GET/v1/dockerhub/repository

Description, pulls, stars and dates of one public image repository.

scope social:read1 unitcached 1 h

Parameters

repo
string
required
Repository as namespace/name, library/name or a bare official image name, or hub.docker.com URL.
e.g. library/nginx
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

9 fields
dateRegisteredstring
descriptionstring
namestring
namespacestring
officialboolean
pullCountinteger (int64)
starCountinteger (int64)
updatedAtstring
urlstring
curl "https://api.hoshime.com/v1/dockerhub/repository?repo=library%2Fnginx" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "dateRegistered": "…",
    "description": "…",
    "name": "…",
    "namespace": "…",
    "official": false,
    "pullCount": 1280,
    "starCount": 1280,
    "updatedAt": "2026-11-06T09:41:00Z",
    "url": "https://…"
  },
  "meta": {
    "cached": false,
    "endpoint": "repository",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "dockerhub",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

tags

GET/v1/dockerhub/tags

Tags of one public image repository, 25 per page, as Docker Hub lists them.

scope social:read1 unitcached 10 minpaginated

Parameters

repo
string
required
Repository as namespace/name, library/name or a bare official image name, or hub.docker.com URL.
e.g. library/nginx
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

5 fields
architecturesstring[]
digeststring
fullSizeinteger (int64)
namestring
updatedAtstring
curl "https://api.hoshime.com/v1/dockerhub/tags?repo=library%2Fnginx" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "architectures": [
        "…"
      ],
      "digest": "…",
      "fullSize": 0,
      "name": "…",
      "updatedAt": "2026-11-06T09:41:00Z"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "tags",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "dockerhub",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

tag

GET/v1/dockerhub/tag

One tag of a public image repository: its digest, size and the image of each architecture.

scope social:read1 unitcached 10 min

Parameters

repo
string
required
Repository as namespace/name, library/name or a bare official image name, or hub.docker.com URL.
e.g. library/nginx
tag
string
required
Tag name, such as latest or 1.27-alpine.
e.g. latest
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

11 fields
digeststring
fullSizeinteger (int64)
imagesTagImage[]
architecturestring
digeststring
lastPushedstring
osstring
sizeinteger (int64)
variantstring
namestring
updatedAtstring
curl "https://api.hoshime.com/v1/dockerhub/tag?repo=library%2Fnginx&tag=latest" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "digest": "…",
    "fullSize": 0,
    "images": [
      {
        "architecture": "…",
        "digest": "…",
        "lastPushed": "…",
        "os": "…",
        "size": 0,
        "variant": "…"
      }
    ],
    "name": "…",
    "updatedAt": "2026-11-06T09:41:00Z"
  },
  "meta": {
    "cached": false,
    "endpoint": "tag",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "dockerhub",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

namespaceRepos

GET/v1/dockerhub/namespaceRepos

Public repositories of one namespace or organization, 25 per page, as Docker Hub lists them.

scope social:read1 unitcached 30 minpaginated

Parameters

namespace
string
required
Namespace or organization name, such as bitnami.
e.g. bitnami
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
descriptionstring
namestring
namespacestring
pullsinteger (int64)
starsinteger (int64)
updatedAtstring
curl "https://api.hoshime.com/v1/dockerhub/namespaceRepos?namespace=bitnami" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "description": "…",
      "name": "…",
      "namespace": "…",
      "pulls": 0,
      "stars": 0,
      "updatedAt": "2026-11-06T09:41:00Z"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "namespaceRepos",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "dockerhub",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

officialImages

GET/v1/dockerhub/officialImages

The official images of Docker Hub (the library namespace), 25 per page.

scope social:read1 unitcached 30 minpaginated

Parameters

cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
descriptionstring
namestring
namespacestring
pullsinteger (int64)
starsinteger (int64)
updatedAtstring
curl "https://api.hoshime.com/v1/dockerhub/officialImages" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "description": "…",
      "name": "…",
      "namespace": "…",
      "pulls": 0,
      "stars": 0,
      "updatedAt": "2026-11-06T09:41:00Z"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "officialImages",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "dockerhub",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

org

GET/v1/dockerhub/org

One Docker Hub organization: its full name, company, location and join date.

scope social:read1 unitcached 1 h

Parameters

name
string
required
Organization name, such as bitnami.
e.g. bitnami
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

14 fields
avatarUrlstring
biostring
companystring
createdAtstring
followerCountinteger (int64)
followingCountinteger (int64)
fullNamestring
idstring
locationstring
namestring
postCountinteger (int64)
urlstring
usernamestring
verifiedboolean
curl "https://api.hoshime.com/v1/dockerhub/org?name=bitnami" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "avatarUrl": "https://…",
    "bio": "…",
    "company": "…",
    "createdAt": "2026-11-06T09:41:00Z",
    "followerCount": 1280,
    "followingCount": 1280,
    "fullName": "…",
    "id": "abc123",
    "location": "…",
    "name": "…",
    "postCount": 1280,
    "url": "https://…",
    "username": "…",
    "verified": false
  },
  "meta": {
    "cached": false,
    "endpoint": "org",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "dockerhub",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open