---
title: "Search cached packages"
method: GET
path: "/api/search"
tags: ["api"]
---

# Search cached packages

`GET /api/search`

## Query parameters

- `q` string, required
- `ecosystem` string

## Response `200`

OK

- ServerSearchResponse
  - `count` integer
  - `query` string
  - `results` ServerSearchPackageResult[]
    - `cached_at` string
    - `ecosystem` string
    - `hits` integer
    - `latest_version` string
    - `license` string
    - `name` string
    - `size` integer

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.dev/git-pkgs/apis/git-pkgs-proxy-api.md) · [All operations](https://skmtc.dev/git-pkgs/apis/git-pkgs-proxy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/git-pkgs/git-pkgs-proxy-api/revisions/bef33406b6dc/schema)
