{"uid":"cap_48vRAO-TDw9ldImYlzS9D","slug":"agent-data-tools-pypi-package-lookup-27c865b8","name":"Agent Data Tools: PyPI Package Lookup","description":"Latest version, summary, licence, required Python version, home page, release date and number of releases of a Python package on PyPI. Use to check a dependency before installing it.","url":"https://agent-data-tools.revmesh2074.workers.dev/pypi?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["package"],"properties":{"package":{"type":"string","description":"PyPI package name"}}},"responseSchema":{"type":"object","properties":{"license":{"type":"string"},"package":{"type":"string"},"summary":{"type":"string"},"version":{"type":"string"},"homePage":{"type":"string"},"released":{"type":"string"},"releases":{"type":"number"},"requiresPython":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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_Hz4SYiAJTf-6AfRoHj5uI","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":"Retrieves metadata for a Python package from PyPI, including version, license, summary, homepage, release count, and Python requirements.","exampleAgentPrompt":"Can you look up the PyPI metadata for the 'requests' package — I need its current version, license, and when it was last released?","exampleUseCases":[{"title":"Dependency audit before release","prompt":"Check PyPI for the latest version of 'httpx' and tell me what license it uses and what Python versions it supports."},{"title":"Evaluating package activity","prompt":"I'm considering using 'celery' in my project — can you pull its PyPI info and tell me how many releases it has and when the most recent one came out?"},{"title":"Generating a requirements summary","prompt":"Look up PyPI metadata for 'sqlalchemy' and give me its current version, homepage, and the minimum Python version it requires."}],"resultDescription":"Returns a JSON object with the package's canonical name, latest version string, one-line summary, SPDX license identifier, homepage URL, ISO 8601 release timestamp of the latest version, total number of releases, and the minimum required Python version string.","failureModes":["Package name not found on PyPI returns an error or empty response","Misspelled or non-existent package name yields a 404-style error","PyPI API downstream unavailability causes call failure (not charged on failure)","Package exists but has no metadata fields populated (nulls in output)"],"whenToPreferThis":"Use this endpoint when you need structured PyPI package metadata — version, license, homepage, release history — in a single lightweight call. Prefer this over scraping PyPI's web UI or calling PyPI's JSON API directly, especially in agent workflows where payment is already handled via x402 and no API key setup is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:38:17.838Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-pypi-package-lookup-27c865b8"}