# Docker HUB API API

> Docker HUB API API on Apizie: 26 endpoints (Get a list of personal access tokens, Create a personal access token, Get a personal access token, Update a personal access token, …) returned as clean JSON through one API key. 26 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/dev-tools:docker-hub/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `dev-tools:docker-hub`
- Category: Dev Tools
- Status: live
- Source: https://docker.com
- Page: https://zieapi.vercel.app/api/dev-tools/docker-hub
- OpenAPI: https://zieapi.vercel.app/api/dev-tools/docker-hub/openapi.json

Docker Hub is a service provided by Docker for finding and sharing container images with your team. It is the world's largest library and community for container images. In addition to the [Docker Hub…

## Endpoints

### Get a list of personal access tokens
`GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/get-v2-access-tokens`

| Parameter | Type | Required | Description |
|---|---|---|---|
| page | number | no |  |
| page_size | number | no |  |

### Create a personal access token
`POST https://zieapi.vercel.app/v1/dev-tools:docker-hub/post-v2-access-tokens`

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Get a personal access token
`GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/get-v2-access-tokens-uuid`

| Parameter | Type | Required | Description |
|---|---|---|---|
| uuid | string | yes |  |

### Update a personal access token
`POST https://zieapi.vercel.app/v1/dev-tools:docker-hub/patch-v2-access-tokens-uuid`

| Parameter | Type | Required | Description |
|---|---|---|---|
| uuid | string | yes |  |
| body | object | yes | JSON request body |

### Delete a personal access token
`POST https://zieapi.vercel.app/v1/dev-tools:docker-hub/delete-v2-access-tokens-uuid`

| Parameter | Type | Required | Description |
|---|---|---|---|
| uuid | string | yes |  |

### Returns list of audit log events.
`GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/audit-logs-get-audit-logs`

| Parameter | Type | Required | Description |
|---|---|---|---|
| account | string | yes | Namespace to query audit logs for. |
| action | string | no | action name one of ["repo.tag.push", ...]. Optional parameter to filter specific audit log actions. |
| name | string | no | name. Optional parameter to filter audit log events to a specific name. For repository events, this is the name of the repository. For… |
| actor | string | no | actor name. Optional parameter to filter audit log events to the specific user who triggered the event. |
| from | string | no | Start of the time window you wish to query audit events for. |
| to | string | no | End of the time window you wish to query audit events for. |
| page | integer | no | page - specify page number. Page number to get. |
| page_size | integer | no | page_size - specify page size. Number of events to return per page. |

### Returns list of audit log actions.
`GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/audit-logs-get-audit-actions`

| Parameter | Type | Required | Description |
|---|---|---|---|
| account | string | yes | Namespace to query audit log actions for. |

### Delete images
`POST https://zieapi.vercel.app/v1/dev-tools:docker-hub/post-namespaces-delete-images`

| Parameter | Type | Required | Description |
|---|---|---|---|
| namespace | string | yes | Namespace of the repository. |
| body | object | yes | JSON request body |

### Get details of repository's images
`GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/get-namespaces-repositories-images`

| Parameter | Type | Required | Description |
|---|---|---|---|
| namespace | string | yes | Namespace of the repository. |
| repository | string | yes | Name of the repository. |
| status | string | no | Filters to only show images of this status. |
| currently_tagged | boolean | no | Filters to only show images with: - `true`: at least 1 current tag. - `false`: no current tags. |
| ordering | string | no | Orders the results by this property. Prefixing with `-` sorts by descending order. |
| active_from | string | no | Sets the time from which an image must have been pushed or pulled to be counted as active. Defaults to 1 month before the current time. |
| page | integer | no | Page number to get. Defaults to 1. |
| page_size | integer | no | Number of images to get per page. Defaults to 10. Max of 100. |

### Get summary of repository's images
`GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/get-namespaces-repositories-images-summary`

| Parameter | Type | Required | Description |
|---|---|---|---|
| namespace | string | yes | Namespace of the repository. |
| repository | string | yes | Name of the repository. |
| active_from | string | no | Sets the time from which an image must have been pushed or pulled to be counted as active. Defaults to 1 month before the current time. |

### Get image's tags
`GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/get-namespaces-repositories-images-tags`

| Parameter | Type | Required | Description |
|---|---|---|---|
| namespace | string | yes | Namespace of the repository. |
| repository | string | yes | Name of the repository. |
| digest | string | yes | Digest of the image. |
| page | integer | no | Page number to get. Defaults to 1. |
| page_size | integer | no | Number of images to get per page. Defaults to 10. Max of 100. |

### List repository tags
`GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/get-v2-namespaces-namespace-repositories-repository-tags`

| Parameter | Type | Required | Description |
|---|---|---|---|
| namespace | string | yes |  |
| repository | string | yes |  |
| page | integer | no | Page number to get. Defaults to 1. |
| page_size | integer | no | Number of items to get per page. Defaults to 10. Max of 100. |

### Read repository tag
`GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/get-v2-namespaces-namespace-repositories-repository-tags-tag`

| Parameter | Type | Required | Description |
|---|---|---|---|
| namespace | string | yes |  |
| repository | string | yes |  |
| tag | string | yes |  |

### Get organization settings
`GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/get-v2-orgs-name-settings`

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Name of the organization. |

### Update organization settings
`POST https://zieapi.vercel.app/v1/dev-tools:docker-hub/put-v2-orgs-name-settings`

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Name of the organization. |
| body | object | yes | JSON request body |

### List resource types
`GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/get-v2-scim-2-0-resource-types`

### Get a resource type
`GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/get-v2-scim-2-0-resource-types-name`

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes |  |

### List schemas
`GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/get-v2-scim-2-0-schemas`

### Get a schema
`GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/get-v2-scim-2-0-schemas-id`

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |

### Get service provider config
`GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/get-v2-scim-2-0-service-provider-config`

### List users
`GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/get-v2-scim-2-0-users`

| Parameter | Type | Required | Description |
|---|---|---|---|
| startIndex | integer | no |  |
| count | integer | no |  |
| filter | string | no |  |
| attributes | string | no | Comma delimited list of attributes to limit to in the response. |
| sortOrder | string | no |  |
| sortBy | string | no | User attribute to sort by. |

### Create user
`POST https://zieapi.vercel.app/v1/dev-tools:docker-hub/post-v2-scim-2-0-users`

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Get a user
`GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/get-v2-scim-2-0-users-id`

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The user ID. |

### Update a user
`POST https://zieapi.vercel.app/v1/dev-tools:docker-hub/put-v2-scim-2-0-users-id`

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The user ID. |
| body | object | yes | JSON request body |

### Second factor authentication.
`POST https://zieapi.vercel.app/v1/dev-tools:docker-hub/post-users2-falogin`

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Create an authentication token
`POST https://zieapi.vercel.app/v1/dev-tools:docker-hub/post-users-login`

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

## Example
```
curl "https://zieapi.vercel.app/v1/dev-tools:docker-hub/get-v2-access-tokens" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the Docker HUB API API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/dev-tools:docker-hub/get-v2-access-tokens with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Docker HUB API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the Docker HUB API API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key dev-tools:docker-hub.

### What is the status of the Docker HUB API API?
Live: works with just an Apizie key
