{"uid":"cap_mAe-tW7JrhO7tlUI1N3-U","slug":"pypi-package-facts-lookup-e2fb70c4","name":"PyPI Package Facts Lookup","description":"PyPI package facts: version, license, Python requirement, release date — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/research/pypi-package?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"name":{"type":"string","description":"required"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"pypi-package","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.002,"receipt_id":"g402-<16hex>"},"sources":[{"ok":true,"name":"<source>"}],"limitations":"<text>","generated_at":"<iso time>","evidence_hash":"sha256:<64hex>"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pqpuhmcxlvL_RtQP8JsGO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns key metadata for a PyPI package: latest version, license, Python version requirement, and release date","exampleAgentPrompt":"What's the current version, license, and Python requirement for the 'httpx' package on PyPI?","exampleUseCases":[{"title":"Dependency audit for a Python project","prompt":"Can you look up the license and Python version requirement for 'pydantic' on PyPI? I need to check if it's compatible with our project."},{"title":"Check if a package is actively maintained","prompt":"When was the latest release of 'celery' on PyPI? I want to know if it's been updated recently before we add it as a dependency."},{"title":"Verify package version before pinning","prompt":"What's the current version of 'boto3' on PyPI so I can pin it in our requirements.txt?"}],"resultDescription":"Returns a structured object with the package's latest version string, SPDX license identifier, minimum Python version requirement (e.g. '>=3.8'), and the release date of the latest version.","failureModes":["Package name not found on PyPI returns an error or empty result","Typo in package name yields no match","Package exists but has incomplete PyPI metadata (missing license or Python requirement fields)","Network timeout reaching PyPI API","Private or unlisted packages are not accessible"],"whenToPreferThis":"Use this endpoint when you need quick, structured facts about a specific PyPI package — version, license, Python compatibility, and release date — without scraping the PyPI website yourself. Ideal for dependency auditing, compatibility checks, and freshness assessments in automated Python project workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:48:01.080Z","isFirstParty":false,"canonicalSlug":"pypi-package-facts-lookup-e2fb70c4"}