---
title: "Suggest skills by dependencies"
method: POST
path: "/api/v1/search/suggest-by-deps"
tags: ["Search"]
---

# Suggest skills by dependencies

`POST /api/v1/search/suggest-by-deps`

## Request

- Base URL: `https://api.skills-hub.ai`
- URL: `https://api.skills-hub.ai/api/v1/search/suggest-by-deps`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

Given a project's dependency names (e.g. from package.json), returns published, public skills whose tags match, ranked by number of matching tags. Public. Body: `deps` (1-100 names) and `limit` (1-50, default 10).

## Response `200`

Successful response. The returned fields are described in this endpoint's summary/description; typed per-field response schemas are being added incrementally.

- object: Skills whose tags match the provided dependency names, ranked by number of matching tags, in the same envelope as GET /search.
  - `data` object[], required
  - `cursor` string, nullable, required
  - `hasMore` boolean, required

---

[API](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api.md) · [All operations](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api/revisions/cb5d46d80300?raw)
