{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"b35e5685-38fe-4fc2-beab-92d3e6066346","catalogType":"api","categories":["developer","data"],"dataPlatform":"docker-hub","dataPlatformLogoUrl":"https://api.sh/logos/docker-hub.png","dataPlatformTranslations":{},"dataProduct":"dev-reference","description":"Get Docker Hub Repository data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as name, output, and retrieve structured data including namespace and repository name, short repository description, docker Official Image flag, total reported image pulls, and ready-to-use docker pull command to verify image provenance, track recent releases, and add vulnerability summaries.","descriptionTranslations":{"ar":"استرجع تفاصيل مستودع Docker Hub العام عبر OpenAny REST لتدقيق ناشري الحاويات وفحص أحدث الوسوم والتحقق من أوامر السحب. أرسل اسم الصورة الرسمية أو namespace/name أو رابط hub.docker.com للحصول على بيانات المستودع وإجمالي التنزيلات وبصمات أحدث الوسوم وإحصاءات الثغرات الاختيارية.","ja":"OpenAny REST で Docker Hub 公開リポジトリの詳細を取得し、配信元確認や最新タグ・プルコマンド検証に活用できます。公式イメージ名、namespace/name、または hub.docker.com URL を指定すると、プル数、最新タグのダイジェスト、任意の脆弱性サマリーを返します。","zh":"通过 OpenAny REST 获取 Docker Hub 公开镜像仓库详情，用于审计容器发布者、查看最新标签并核验拉取命令。传入官方镜像名、namespace/name 或 hub.docker.com 链接，即可获取仓库元数据、总拉取量、最新标签摘要及可选漏洞统计。"},"effectContentHtml":"","executionMode":"sync","id":"246d38ea-4438-4049-be6a-77cbab92f72a","includedContentHtml":"","inputs":[{"description":"Image name (`nginx` for an official image, or `namespace/name`) or a hub.docker.com link.","location":"query","name":"name","nullable":false,"required":true,"type":"string"},{"description":"`true` adds vulnerability counts per latest tag and a `vulnerabilities` summary (may cost more).","location":"query","name":"vulnerabilities","nullable":false,"required":false,"type":"boolean"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"Native CSV/NDJSON record selector; it has no effect on this JSON-only product.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/docker-hub.png","method":"GET","name":"Docker Hub repository API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eDocker Hub Repository API\u003c/h2\u003e\n\u003cp\u003ePass name as an official image slug (such as nginx), namespace/name or a Docker Hub URL. The response returns full_name, pulls, official flag, overview, pull_command, categories[] and latest_tags[] with digests and byte sizes, with optional vulnerabilities=true.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired query: name (official name, namespace/name or hub.docker.com URL). Optional vulnerabilities (boolean; true adds vulnerability counts and may cost more), raw=0, fields and fresh=1.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · Docker Hub repository API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eVerify image provenance\u003c/strong\u003e: Check official status, affiliation, immutable_tags and overview before approving a container image.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eTrack recent releases\u003c/strong\u003e: Read latest_tags[] digests, sizes and last_updated timestamps for monitoring.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eAdd vulnerability summaries\u003c/strong\u003e: Enable vulnerabilities=true when a security review needs per-tag vulnerability counts.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003efull_name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eNamespace and repository name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edescription\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eShort repository description\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eofficial\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDocker Official Image flag\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003epulls\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTotal reported image pulls\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003epull_command\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReady-to-use docker pull command\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eimmutable_tags\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eImmutable tag policy indicator\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003elatest_tags[].name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRecent tag name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003elatest_tags[].digest\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eImage manifest digest\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003elatest_tags[].size_bytes\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported tag size in bytes\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/dockerhub/v1/repository \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode name=nginx \\\n  --data-urlencode output=json\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/246d38ea-4438-4049-be6a-77cbab92f72a\"\u003ePublished Docker Hub Repository API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eHow do I specify a Docker Official Image versus a user image?\u003c/h3\u003e\n\u003cp\u003ePass the short name such as nginx for official images, or namespace/name such as bitnami/redis for community or verified images.\u003c/p\u003e\n\u003ch3\u003eDoes enabling vulnerabilities=true affect billing?\u003c/h3\u003e\n\u003cp\u003eThe contract notes that vulnerabilities=true adds vulnerability counts per latest tag and a summary and may cost more; review the pricing area before enabling it.\u003c/p\u003e\n\u003ch3\u003eDoes this endpoint list every tag in the repository?\u003c/h3\u003e\n\u003cp\u003eNo. It includes latest_tags[] summary entries; use the Docker Hub Tags API to paginate all tags.\u003c/p\u003e\n\u003ch3\u003eAre pull counts guaranteed to be real-time?\u003c/h3\u003e\n\u003cp\u003eResponses may come from a 24-hour cache by default; pass fresh=1 to fetch live repository metadata.\u003c/p\u003e\n\u003ch3\u003eCan I query private Docker Hub repositories?\u003c/h3\u003e\n\u003cp\u003eNo. This public endpoint does not accept buyer Docker Hub credentials.\u003c/p\u003e\n\u003ch3\u003eHow do I trim the response payload?\u003c/h3\u003e\n\u003cp\u003ePass raw=0 to omit bulky raw blocks or fields to request only selected keys.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/docker-hub/docker-hub-image-search-api\"\u003eDocker Hub Image Search API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/docker-hub/docker-hub-tag-api\"\u003eDocker Hub Tag API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/docker-hub/docker-hub-tags-api\"\u003eDocker Hub Tags API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/docker-hub/docker-hub-repository-api?offering=246d38ea-4438-4049-be6a-77cbab92f72a","providerId":"apish","publicPath":"/v1/agent-apis/apish/dockerhub/v1/repository","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Official documentation response · Supplier-tr","request":{"body":null,"headers":{},"path":{},"query":{"name":"nginx","output":"json"}},"response_body":{"affiliation":null,"automated":false,"cached":false,"categories":[{"name":"Web servers","slug":"web-servers"}],"collaborators":0,"content_types":["unrecognized","image"],"created_at":"2014-06-05T19:14:45.000Z","credits_used":1,"description":"Official build of Nginx.","full_name":"library/nginx","immutable_tags":false,"last_modified":"2026-10-21T22:17:12.294Z","last_updated":"2026-11-03T04:52:35.923Z","latest_tags":[{"digest":"sha256:3921681524c54b4cbbeed5837fd1b844efc827a2cf4989ad5edc69ce3f264596","last_updated":"2026-11-03T04:52:33.803Z","name":"trixie-perl","size_bytes":76070953},{"digest":"sha256:eda5a512e96bef6b359d3edaabe2d31300d1566f8f9e2a6335ce44974185ebc3","last_updated":"2026-11-03T04:52:29.366Z","name":"stable-trixie-perl","size_bytes":75776541},"… 8 more"],"media_types":["application/octet-stream","application/vnd.docker.container.image.v1+json","… 3 more"],"name":"nginx","namespace":"library","official":true,"overview":"# Quick reference\n\n-\t**Maintained by**:  \n\t[the NGINX Docker Maintainers](https://github.com/nginx/docker-nginx)\n\n-\t**Where to get help**:  …","pull_command":"docker pull nginx","pulls":13549617034,"source":null,"stars":21416,"status":"active","storage_bytes":258964254730,"tags_count":1381,"type":"image","url":"https://hub.docker.com/_/nginx"}}],"seoDescription":"Get Docker Hub Repository data via REST or MCP powered by Apish. Pay per call, no subscription. Structured JSON output with one OpenAny API key.","updatedAt":"2026-12-03T02:55:00.129Z","usageInstructionsHtml":""}}