npm · Schema
SearchResultItem
A single search result item containing package metadata and scoring information.
PackagesJavaScriptNode.jsPackage ManagementRegistrySecurity
Properties
| Name | Type | Description |
|---|---|---|
| package | object | Summary package metadata. |
| score | object | Scoring breakdown for the package. |
| searchScore | number | The search relevance score for this result. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/SearchResultItem",
"title": "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": "#/components/schemas/Person"
},
"publisher": {
"$ref": "#/components/schemas/Person"
},
"maintainers": {
"type": "array",
"description": "List of package maintainers.",
"items": {
"$ref": "#/components/schemas/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-searchresultitem"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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.