技
Docker Hub API
7 endpointsDeveloper & TechGlobalsocial:read
Image repositories, tags, search and organizations from Docker Hub's public pages.
View as Markdown| GET | /dockerhub/repository | Description, pulls, stars and dates of one public image repository. |
| GET | /dockerhub/tags | Tags of one public image repository, 25 per page, as Docker Hub lists them. |
| GET | /dockerhub/search | Public image repositories that match a search, 25 per page, as Docker Hub ranks them. |
| GET | /dockerhub/tag | One tag of a public image repository: its digest, size and the image of each architecture. |
| GET | /dockerhub/namespaceRepos | Public repositories of one namespace or organization, 25 per page, as Docker Hub lists them. |
| GET | /dockerhub/officialImages | The official images of Docker Hub (the library namespace), 25 per page. |
| GET | /dockerhub/org | One Docker Hub organization: its full name, company, location and join date. |
repository
GET
/v1/dockerhub/repositoryDescription, pulls, stars and dates of one public image repository.
scope social:read1 unitcached 1 h
Parameters
repostring required | Repository as namespace/name, library/name or a bare official image name, or hub.docker.com URL. e.g. library/nginx |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
dateRegistered | string |
description | string |
name | string |
namespace | string |
official | boolean |
pullCount | integer (int64) |
starCount | integer (int64) |
updatedAt | string |
url | string |
curl "https://api.hoshime.com/v1/dockerhub/repository?repo=library%2Fnginx" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dockerhub/repository?repo=library%2Fnginx", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dockerhub/repository?repo=library%2Fnginx", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/tagsTags of one public image repository, 25 per page, as Docker Hub lists them.
scope social:read1 unitcached 10 minpaginated
Parameters
repostring required | Repository as namespace/name, library/name or a bare official image name, or hub.docker.com URL. e.g. library/nginx |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
architectures | string[] |
digest | string |
fullSize | integer (int64) |
name | string |
updatedAt | string |
curl "https://api.hoshime.com/v1/dockerhub/tags?repo=library%2Fnginx" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dockerhub/tags?repo=library%2Fnginx", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dockerhub/tags?repo=library%2Fnginx", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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 } }
search
GET
/v1/dockerhub/searchPublic image repositories that match a search, 25 per page, as Docker Hub ranks them.
scope social:read1 unitcached 30 minpaginated
Parameters
querystring required | Search terms. e.g. nginx |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
7 fields
automated | boolean |
description | string |
name | string |
official | boolean |
pullCount | integer (int64) |
starCount | integer (int64) |
url | string |
curl "https://api.hoshime.com/v1/dockerhub/search?query=nginx" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dockerhub/search?query=nginx", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dockerhub/search?query=nginx", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "automated": false, "description": "…", "name": "…", "official": false, "pullCount": 1280, "starCount": 1280, "url": "https://…" } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "dockerhub", "requestId": "req_2Xb9kQ…", "units": 1 } }
tag
GET
/v1/dockerhub/tagOne tag of a public image repository: its digest, size and the image of each architecture.
scope social:read1 unitcached 10 min
Parameters
repostring required | Repository as namespace/name, library/name or a bare official image name, or hub.docker.com URL. e.g. library/nginx |
tagstring required | Tag name, such as latest or 1.27-alpine. e.g. latest |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
digest | string |
fullSize | integer (int64) |
images | TagImage[] |
architecture | string |
digest | string |
lastPushed | string |
os | string |
size | integer (int64) |
variant | string |
name | string |
updatedAt | string |
curl "https://api.hoshime.com/v1/dockerhub/tag?repo=library%2Fnginx&tag=latest" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dockerhub/tag?repo=library%2Fnginx&tag=latest", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dockerhub/tag?repo=library%2Fnginx&tag=latest", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/namespaceReposPublic repositories of one namespace or organization, 25 per page, as Docker Hub lists them.
scope social:read1 unitcached 30 minpaginated
Parameters
namespacestring required | Namespace or organization name, such as bitnami. e.g. bitnami |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
description | string |
name | string |
namespace | string |
pulls | integer (int64) |
stars | integer (int64) |
updatedAt | string |
curl "https://api.hoshime.com/v1/dockerhub/namespaceRepos?namespace=bitnami" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dockerhub/namespaceRepos?namespace=bitnami", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dockerhub/namespaceRepos?namespace=bitnami", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/officialImagesThe official images of Docker Hub (the library namespace), 25 per page.
scope social:read1 unitcached 30 minpaginated
Parameters
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
description | string |
name | string |
namespace | string |
pulls | integer (int64) |
stars | integer (int64) |
updatedAt | string |
curl "https://api.hoshime.com/v1/dockerhub/officialImages" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dockerhub/officialImages", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dockerhub/officialImages", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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/orgOne Docker Hub organization: its full name, company, location and join date.
scope social:read1 unitcached 1 h
Parameters
namestring required | Organization name, such as bitnami. e.g. bitnami |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
avatarUrl | string |
bio | string |
company | string |
createdAt | string |
followerCount | integer (int64) |
followingCount | integer (int64) |
fullName | string |
id | string |
location | string |
name | string |
postCount | integer (int64) |
url | string |
username | string |
verified | boolean |
curl "https://api.hoshime.com/v1/dockerhub/org?name=bitnami" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/dockerhub/org?name=bitnami", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/dockerhub/org?name=bitnami", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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 } }