Pushbuild

Docker Hub API - Image Pulls, Stars, Tags

Docker Hub repository stats for any public image: total pulls, stars, last update, creation date, description, official flag and categories, plus recent tags with update time, compressed size and architectures. Look up repositories or search Docker Hub.

$0.08 per 1,000 repositorys

Get an API key

What it returns

Docker Hub repository stats for any public image: total pulls, stars, last update, creation date, description, official flag and categories, plus recent tags with update time, compressed size and architectures. Look up repositories or search Docker Hub.

Request

POST https://api.pushbuild.com/docker-hub-stats/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
repositoriesstringComma separated, e.g. nginx, grafana/grafana
searchstringFind repositories by keyword.
withTagsbooleanAdds the 25 most recently updated tags.
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/docker-hub-stats/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.08 per 1,000 repositorys. No charge for errors or empty searches.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.