---
title: "get a list of repository names from a host"
method: GET
path: "/hosts/{hostName}/repository_names"
---

# get a list of repository names from a host

`GET /hosts/{hostName}/repository_names`

## Request

- Base URL: `https://repos.ecosyste.ms/api/v1`
- URL: `https://repos.ecosyste.ms/api/v1/hosts/{hostName}/repository_names`
- Auth: none declared

## Path parameters

- `hostName` string, required

## Query parameters

- `page` integer
- `per_page` integer
- `created_after` string, date-time
- `updated_after` string, date-time
- `fork` boolean
- `archived` boolean
- `sort` string
- `order` string

## Response `200`

OK

- string[]

## Changes

- **2024-01-17** (v1) `c65e509b79d0`: 2 info
  - added the new optional `query` request parameter `archived`
  - added the new optional `query` request parameter `fork`
- **2022-08-18** (v1) `7ded108004e5`: 2 warning
  - deleted the `query` request parameter `archived`
  - deleted the `query` request parameter `fork`

[Operation history](https://skmtc.dev/ecosyste-ms/apis/ecosyste-ms-repos/changes/hosts/:hostName/repository_names/get.md)

---

[API](https://skmtc.dev/ecosyste-ms/apis/ecosyste-ms-repos.md) - [All operations](https://skmtc.dev/ecosyste-ms/apis/ecosyste-ms-repos/llms.txt) - [OpenAPI document](https://skmtc.dev/ecosyste-ms/apis/ecosyste-ms-repos/revisions/dae497f2cdf7?raw)
