{"uid":"cap_KrXP5ARSOioSPBdY_MzlF","slug":"docker-hub-image-metadata-lookup-cb119a3b","name":"Docker Hub Image Metadata Lookup","description":"Base-image due diligence from the Docker Hub API v2: repository status, star and pull counts, last_updated with derived days_since_update, and the 10 most recently pushed tags with push date and size. Query: ?repo=nginx&namespace=library (namespace defaults to library for official images). Lets CI/CD agents avoid building on stale or abandoned images; cached 1h.","url":"https://data.greeneris.io/v1/docker/image","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["repo"],"properties":{"repo":{"type":"string","description":"Repository name, e.g. nginx"},"namespace":{"type":"string","default":"library","description":"Docker Hub namespace (library = official images)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"repo":"nginx","source":"Docker Hub API v2 (hub.docker.com), public repository metadata","status":"active","namespace":"library","pull_count":13158147675,"star_count":21337,"description":"Official build of Nginx.","latest_tags":[{"name":"trixie-perl","size_bytes":75271303,"last_pushed":"2026-06-25T22:52:42.349783Z"}],"last_updated":"2026-06-25T22:52:43.280236Z","days_since_update":17}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ewMgiu3bgJ05AwrEw6BGZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches public metadata for a Docker Hub repository, including pull count, star count, latest tags, and last update time.","exampleAgentPrompt":"Can you check Docker Hub for the official nginx image and tell me the pull count, star count, latest available tags, and when it was last updated?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the repository name, namespace, source attribution, status (active/inactive), total pull count, star count, description, a list of the latest tags with sizes and push timestamps, and the number of days since the last update.","failureModes":["Unknown or misspelled repository name returns empty or error response","Private repositories are not accessible and return an error","Rate limiting or Docker Hub API downtime causes failure","Payment not completed (HTTP 402) if x402 payment not submitted","Incorrect namespace (e.g. using a user namespace for an official image) may return no results"],"whenToPreferThis":"Use this endpoint when you need programmatic, pay-per-call access to Docker Hub repository metadata — pull counts, star counts, latest tags, last update — without managing a Docker Hub account or API credentials. Ideal for AI agents doing DevOps research, image freshness checks, or popularity comparisons.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:49:23.470Z","isFirstParty":false}