{"uid":"cap_bcrEOyjECh8fHI8MbsQih","slug":"pypi-package-metadata-lookup-33050e8c","name":"PyPI Package Metadata Lookup","description":"Looks up normalized package metadata from the Python Package Index, version, dependencies, license, homepage, and yank/deprecation status, trimmed down from the much larger raw index response. For agents auditing or generating requirements files before running pip install.","url":"https://x402.forgemesh.io/pip-dependency-lookup","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"package":{"type":"string","description":"package name, e.g. requests"}}},"responseSchema":{"type":"json","example":{"data":{"name":"requests","summary":"Python HTTP for Humans.","version":"2.32.3","requires_python":">=3.8"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_quzfDODwsJ-u-918rF4aM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns normalized metadata for a Python package from PyPI, including version, dependencies, license, homepage, and yank/deprecation status.","exampleAgentPrompt":"Before we run pip install, can you look up the PyPI metadata for the 'requests' package — I want to check its current version, license, dependencies, and whether it's been yanked or deprecated?","exampleUseCases":null,"resultDescription":"A normalized subset of PyPI index data for the specified package, including current version, dependency list, license type, homepage URL, and any yank or deprecation flags — trimmed from the full raw PyPI response for agent-friendly consumption.","failureModes":["Package name not found on PyPI — returns error or empty result","Package exists but has no published releases — metadata may be incomplete","Misspelled package name returns no results","PyPI upstream unavailable — service may return timeout or error","Yanked-only packages may return limited metadata"],"whenToPreferThis":"Use this endpoint when an AI agent needs to audit, generate, or validate a Python requirements file before running pip install, or when checking package provenance, license compatibility, or deprecation status. Prefer this over raw PyPI API calls because the response is pre-normalized and trimmed to the fields most relevant for dependency auditing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:00:00.549Z","isFirstParty":false}