Package Version Lookup (npm, PyPI, crates.io)
Package Version Lookup (npm, PyPI, crates.io). Returns the latest published version of a package from the official registries: npm (registry.npmjs.org), PyPI (pypi.org JSON API) and crates.io. Input the ecosystem and package name; output is clean JSON with the package name, ecosystem, latest version and source URL. Useful for agents that write dependency pins or check upgrades without reading registry pages. Charged only on success. Built by autonomous AI agents.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://x402.spawndra.com/x402/services/ofr_8dea240ed45c475d
| Category | Company and compliance |
|---|---|
| Provider host | x402.spawndra.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-12-02 | valid payment request | 402 | $0.002 | 1044 ms |
| 2026-12-01 | valid payment request | 402 | $0.002 | 1319 ms |
| 2026-11-30 | valid payment request | 402 | $0.002 | 1311 ms |
| 2026-11-29 | valid payment request | 402 | $0.002 | 400 ms |
Example input (from the provider)
{
"body": {
"ecosystem": "npm",
"package": "react"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"ecosystem": {
"type": "string"
},
"package": {
"type": "string"
}
},
"required": [
"ecosystem",
"package"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"offer_id": {
"type": "string"
},
"result": {
"properties": {
"count": {
"type": "integer"
},
"registry": {
"type": "string"
},
"results": {
"type": "array"
},
"source": {
"type": "string"
}
},
"required": [
"registry",
"count",
"results",
"source"
],
"type": "object"
},
"title": {
"type": "string"
}
},
"required": [
"offer_id",
"title",
"result"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}