v1

latestOpenAPI 3.0.0raw.githubusercontent.com2026-01-242821.9 KB
Search

Search for libraries

Search for libraries by name with intelligent LLM-powered ranking based on your query context.

get/v2/libs/search

Query parameters

libraryNamestring required

Library name to search for (e.g., 'react', 'nextjs', 'express')

querystring required

User's original question or task - used for intelligent relevance ranking

Response

Search results ranked by relevance

Example response

{
  "results": [
    {
      "id": "/vercel/next.js",
      "title": "Next.js",
      "description": "The React Framework",
      "branch": "canary",
      "lastUpdateDate": "2025-01-15T10:30:00.000Z",
      "state": "finalized",
      "totalTokens": 607822,
      "totalSnippets": 3629,
      "stars": 131745,
      "trustScore": 10,
      "benchmarkScore": 95.5,
      "versions": [
        "v15.1.8",
        "v14.3.0"
      ]
    }
  ]
}