---
title: "Rank requested and high-download mirror candidates."
method: GET
path: "/api/mirror-demand"
tags: ["Catalog", "Agent Docs"]
---

# Rank requested and high-download mirror candidates.

`GET /api/mirror-demand`

## Request

- Base URL: `https://huggingbay.xyz`
- URL: `https://huggingbay.xyz/api/mirror-demand`
- Auth: none declared

Rank requested and high-download mirror candidates.

**Inputs.** Path, query and header fields are listed below. No request body is required.

**Outputs.** See each status below for its media type, schema and headers. A missing record or unavailable capability is not a successful empty result.

**Errors.** API JSON failures use the documented response schema. Read code, message and next; retry only when the response allows it. Auth, invalid input and missing records need a caller change.

**Rate limits.** Public read budgets apply by client IP and route group. This operation can have a smaller route-specific budget. Read Retry-After on 429 or retryable 503 responses.

## Query parameters

- `limit` integer
- `requestedOnly` boolean

## Response `200`

Mirror demand rows

- MirrorDemandRow[]
  - `id` string, required
  - `repo` string, required
  - `type` string, required
  - `license` string, required
  - `status` string, required
  - `eligible` boolean, required
  - `requestCount` number, required
  - `smallSafeFiles` number
  - `smallSafeBytes` number
  - `usefulFiles` number
  - `usefulBytes` number
  - `usefulFileScore` number
  - `runtimeFileCount` number
  - `supportFileCount` number
  - `largeSkipped` number
  - `autoMirrorReady` boolean
  - `worksWith` string[]
  - `downloads` number
  - `stars` number
  - `tractionScore` number, required
  - `mirrorTier` string
  - `reviewStatus` string
  - `reviewReason` string
  - `why` string[]
  - `riskFlags` string[]
  - `topicSlugs` string[]
  - `completedAction` object, nullable
    - `label` string
    - `status` string
    - `hostedFiles` number
    - `downloadPageUrl` string
    - `downloadableFilesUrl` string
    - `manifestUrl` string
  - `readiness` MirrorReadiness (unresolved $ref)

---

[API](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api.md) · [All operations](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api/revisions/63c474bf0fe4?raw)
