: List repositories in a namespace

API: docker.com:docker-hub-api
Endpoint: /repositories/{namespace}/
Response format: application/json
Auth: unknown
Method: GET
Last Status: 200
Latency: 266ms

Description

Returns a paginated list of repositories belonging to the specified namespace. Use this to discover available images from an organization or the official library namespace. Results include repository name, description, star count, and pull count.

From spec: Returns a paginated list of repositories for the specified namespace (e.g., 'library' for official images).

Usage Tips

- Official Docker images use the 'library' namespace - Set page_size to control number of results (default varies) - Use page parameter for pagination - Results are sorted by popularity by default

Parameters (3)

namespace (string, path, required)

The namespace to list repositories for (e.g., 'library' for official images)

page (integer, query, optional, default: 1)

Page number to retrieve

page_size (integer, query, optional, default: 10)

Number of results per page

Examples (2)

List official Docker images in the library namespace doc_extracted

Demonstrates fetching the first page of official Docker images from the library namespace

curl 'https://hub.docker.com/v2/repositories/library/'
import requests

resp = requests.get("https://hub.docker.com/v2/repositories/library/")
data = resp.json()
import zingu_apis

api = zingu_apis.api("docker-hub")
result = api.fetch("repositories/{namespace}/")

for item in result:
    print(item)
const resp = await fetch("https://hub.docker.com/v2/repositories/library/");
const data = await resp.json();
List repositories in a specific namespace with pagination doc_extracted

Demonstrates paginated fetching of repositories with a custom page size

curl 'https://hub.docker.com/v2/repositories/library/?page_size=5'
import requests

resp = requests.get(
    "https://hub.docker.com/v2/repositories/library/",
    params={
        'page_size': '5',
    },
)
data = resp.json()
import zingu_apis

api = zingu_apis.api("docker-hub")
result = api.fetch("repositories/{namespace}/", page_size=5)

for item in result:
    print(item)
const resp = await fetch("https://hub.docker.com/v2/repositories/library/?page_size=5");
const data = await resp.json();

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-04-16 17:23:07.070556 200 266ms
2026-04-16 01:28:15.991767 200 254ms
2026-04-16 00:39:30.201578 200 255ms
2026-04-15 02:44:45.683153 200 263ms
2026-04-15 01:54:39.335687 200 267ms
2026-04-14 03:41:13.294630 200 305ms
2026-04-14 00:32:15.534168 200 261ms
2026-04-12 16:05:37.628443 200 240ms
2026-04-12 15:56:17.232078 200 295ms
2026-04-10 01:23:16.552225 200 532ms
2026-04-10 00:23:10.662719 200 895ms
2026-04-09 03:14:41.884127 200 230ms
2026-04-09 02:12:59.060070 200 242ms