{"uid":"cap_EBjeU3wlK-Z1i2YGtNPuM","slug":"api-strale-io-b68ce490","name":"PyPI Package Metadata Lookup","description":"Fetch Python package metadata from PyPI: version, dependencies, Python compatibility, release history, license.","url":"https://api.strale.io/x402/pypi-package-info?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["package"],"properties":{"package":{"type":"string"}}},"responseSchema":{"name":{"type":"string"},"summary":{"type":"string"},"version":{"type":"string"},"dependencies":{"type":"array"},"recent_releases":{"type":"array"}},"example":{"request":{"package":"requests"},"response":{"name":"requests","_meta":{"payment":{"method":"x402","price_usd":0.054000000000000006,"settlement_id":"0x7adaa97b637a66bb5d6d9aadc46a0c1f0315f6c04177c41e90b4e64170386945"},"capability":"pypi-package-info","latency_ms":77,"provenance":{"source":"pypi.org","fetched_at":"2026-06-16T01:24:20.180Z"}},"author":"Kenneth Reitz <me@kennethreitz.org>","license":"Apache Software License","summary":"Python HTTP for Humans.","version":"2.34.2","homepage":"https://pypi.org/project/requests/","keywords":[],"package_url":"https://pypi.org/project/requests/","dependencies":["charset_normalizer<4,>=2","idna<4,>=2.5","urllib3<3,>=1.26","certifi>=2023.5.7","PySocks!=1.5.7,>=1.5.6; extra == \"socks\"","chardet<8,>=3.0.2; extra == \"use-chardet-on-py3\""],"project_urls":{"Source":"https://github.com/psf/requests","Documentation":"https://requests.readthedocs.io"},"total_releases":163,"python_versions":["3","Only","3.10","3.11","3.12","3.13","3.14","3.15","2 - Beta","CPython","PyPy"],"recent_releases":[{"version":"2.9.2","upload_date":"2016-04-29T21:57:23.021820Z","python_requires":null},{"version":"2.9.1","upload_date":"2015-12-21T14:55:10.646407Z","python_requires":null},{"version":"2.9.0","upload_date":"2015-12-15T15:30:34.276097Z","python_requires":null},{"version":"2.8.1","upload_date":"2015-10-13T12:56:41.375848Z","python_requires":null},{"version":"2.8.0","upload_date":"2015-10-06T14:47:57.677398Z","python_requires":null},{"version":"2.7.0","upload_date":"2015-05-03T15:01:28.821871Z","python_requires":null},{"version":"2.6.2","upload_date":"2015-04-23T16:30:52.318157Z","python_requires":null},{"version":"2.6.1","upload_date":"2015-04-23T02:27:04.893535Z","python_requires":null},{"version":"2.6.0","upload_date":"2015-03-14T16:44:37.146829Z","python_requires":null},{"version":"2.5.3","upload_date":"2015-02-24T16:33:49.703522Z","python_requires":null}],"requires_python":">=3.10","description_content_type":"text/markdown"}},"exampleRequest":{"package":"requests"},"tags":["x402"],"displayCostAmount":"0.054001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.054001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lF07P34sZnHe55RLDU1W1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches metadata for a Python package from PyPI, including version, dependencies, Python compatibility, release history, and license.","exampleAgentPrompt":"What's the latest version of the 'httpx' package on PyPI, and what are its dependencies and supported Python versions?","exampleUseCases":null,"resultDescription":"Returns structured metadata for the specified Python package including: current version, list of dependencies, Python version compatibility range, release history with dates, and the package license.","failureModes":["Package not found on PyPI — returns error if the package name does not exist","Misspelled package name — returns not found rather than a fuzzy match","Private or internal packages not published to PyPI cannot be resolved","Network or upstream PyPI API unavailability"],"whenToPreferThis":"Use this endpoint when you need structured, parsed Python package metadata from PyPI without scraping the website yourself. Ideal for dependency analysis, compatibility checking, license auditing, or checking the latest release of any public PyPI package.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T06:55:41.534Z","isFirstParty":false,"canonicalSlug":"api-strale-io-b68ce490"}