{"uid":"cap_yUy51GK-kQ4wkyvT4DPKo","slug":"pypi-package-dependency-lookup-047824ec","name":"PyPI Package Dependency Lookup","description":"Dependencies of a PyPI project's latest release: requires_dist parsed into name, version specifier, extras and environment markers; requires_python; license; and the list of optional extras. One-hop Python supply-chain view. $0.01 per project.","url":"https://intel.rallylive.ca/dev/pypi-requires","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zuR4muYsBCfJ6e1CMwqcn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns parsed dependency metadata for the latest release of a PyPI package, including requires_dist, requires_python, license, extras, and environment markers.","exampleAgentPrompt":"What are the dependencies of the latest release of the 'httpx' PyPI package — show me the full requires_dist with version specifiers, any optional extras, the required Python version, and the license.","exampleUseCases":[{"title":"Audit package license before adoption","prompt":"Before we add 'pydantic' to our project, can you pull its PyPI dependency metadata and tell me what license it uses and what its required Python version is?"},{"title":"Check optional extras for a library","prompt":"What optional extras does the 'boto3' PyPI package expose in its latest release? I want to know if there's a specific extra I need to install for certain features."},{"title":"Supply chain dependency review","prompt":"I need a one-hop supply chain view of 'celery' — can you get all its requires_dist entries from PyPI with their version specifiers and any environment markers?"}],"resultDescription":"A structured breakdown of the latest PyPI release's dependency metadata: a list of requires_dist entries each parsed into dependency name, version specifier, extras, and environment markers; the requires_python constraint; the package license; and the list of declared optional extras.","failureModes":["Package not found on PyPI — returns an error or empty result","Package exists but has no requires_dist metadata — returns empty dependency list","Network or upstream PyPI API timeout","Malformed package name input","Payment of $0.01 USDC required per call — unpaid requests will be rejected with 402"],"whenToPreferThis":"Use this endpoint when you need a quick, parsed, one-hop view of a Python package's dependencies without running pip or setting up a Python environment. Ideal for supply chain audits, license checks, CI automation, and agent workflows that need to reason about Python package requirements programmatically. Prefer this over scraping PyPI directly or using the raw PyPI JSON API when you want pre-parsed, structured dependency fields.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:13:19.657Z","isFirstParty":false}