npm · Schema
SearchResults
Search results from the npm registry search endpoint.
PackagesJavaScriptNode.jsPackage ManagementRegistrySecurityDeveloper Toolsnpm
Properties
| Name | Type | Description |
|---|---|---|
| objects | array | List of search result objects. |
| total | integer | The total number of matching results. |
| time | string | Timestamp of when the search was performed. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/npm/json-schema/npm-search-results-schema.json",
"title": "SearchResults",
"description": "Search results from the npm registry search endpoint.",
"x-generated": "2026-11-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/npm-search-api-openapi.yml#/components/schemas/SearchResults",
"type": "object",
"properties": {
"objects": {
"type": "array",
"description": "List of search result objects.",
"items": {
"$ref": "#/$defs/SearchResultItem"
}
},
"total": {
"type": "integer",
"description": "The total number of matching results."
},
"time": {
"type": "string",
"description": "Timestamp of when the search was performed."
}
},
"$defs": {
"Person": {
"type": "object",
"description": "A person object representing a user, author, or maintainer.",
"properties": {
"name": {
"type": "string",
"description": "The display name of the person."
},
"email": {
"type": "string",
"format": "email",
"description": "The email address of the person."
},
"url": {
"type": "string",
"format": "uri",
"description": "The personal URL or website of the person."
}
}
},
"SearchResultItem": {
"type": "object",
"description": "A single search result item containing package metadata and scoring information.",
"properties": {
"package": {
"type": "object",
"description": "Summary package metadata.",
"properties": {
"name": {
"type": "string",
"description": "The package name."
},
"scope": {
"type": "string",
"description": "The package scope, or \"unscoped\" if none."
},
"version": {
"type": "string",
"description": "The latest version of the package."
},
"description": {
"type": "string",
"description": "A short description of the package."
},
"keywords": {
"type": "array",
"description": "Keywords associated with the package.",
"items": {
"type": "string"
}
},
"date": {
"type": "string",
"format": "date-time",
"description": "The publication date of the latest version."
},
"links": {
"type": "object",
"description": "Links to related resources such as npm page, homepage, repository, and bugs.",
"additionalProperties": {
"type": "string"
}
},
"author": {
"$ref": "#/$defs/Person"
},
"publisher": {
"$ref": "#/$defs/Person"
},
"maintainers": {
"type": "array",
"description": "List of package maintainers.",
"items": {
"$ref": "#/$defs/Person"
}
}
}
},
"score": {
"type": "object",
"description": "Scoring breakdown for the package.",
"properties": {
"final": {
"type": "number",
"description": "The final combined score."
},
"detail": {
"type": "object",
"description": "Detailed score breakdown.",
"properties": {
"quality": {
"type": "number",
"description": "The quality score component."
},
"popularity": {
"type": "number",
"description": "The popularity score component."
},
"maintenance": {
"type": "number",
"description": "The maintenance score component."
}
}
}
}
},
"searchScore": {
"type": "number",
"description": "The search relevance score for this result."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/npm-search-results"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.