{"agent":{"expose":"search","prompt":"Use Crawl4AI to get facts about a package (npm, PyPI, crates.io)."},"also":["python package","node package","latest version","package version"],"beta":false,"call":{"aliases":["POST /recipes/package-info"],"method":"POST","path":"/tools/package-info"},"categories":["dev-tools"],"cost":{"cases":[{"price":"1 credit","when":"A run"},{"price":"free","when":"A run with no row"}],"rule":"1 credit a run · a run with no row is free","text":"1 cr"},"description":"One row of facts about a package from its registry's public JSON: latest version and when it was published, description, license, homepage, repository, downloads (crates.io only) and the number of dependencies. `ecosystem` is npm, pypi or crates; `name` is the package.","docs":"/tools/package-info","essential":false,"essential_order":null,"examples":[{"answer":{"body":{"request_id":"req_…","rows":[{"dependencies":6,"description":"Python HTTP for Humans.","downloads":null,"ecosystem":"pypi","homepage":null,"license":"Apache-2.0","name":"requests","published":"2026-05-14T19:25:26.443000Z","repository":"https://github.com/psf/requests","url":"https://pypi.org/project/requests/","version":"2.34.2"}],"took_ms":242,"tool":"package-info","usage":{"credits":0.5}},"credits":0.5,"more":0,"rows":1,"took_ms":242},"input":{"name":"requests"},"label":"requests"},{"input":{"ecosystem":"pypi","name":"requests"},"label":"pypi, requests"}],"id":"package-info","input_schema":{"additionalProperties":true,"properties":{"ecosystem":{"default":"npm","description":"`ecosystem` is npm, pypi or crates","type":"string"},"name":{"description":"`name` is the package.","type":"string"}},"required":["name"],"type":"object"},"inputs":[{"advanced":true,"default":"npm","help":"`ecosystem` is npm, pypi or crates","name":"ecosystem","type":"string"},{"example":"requests","help":"`name` is the package.","name":"name","required":true,"type":"string"}],"kind":"sites","name":{"lead":"npm and PyPI","rest":"package"},"output":{"fields":[{"meaning":"The package's name","name":"name","type":"string"},{"meaning":"npm or pypi","name":"ecosystem","type":"string"},{"meaning":"The latest version","name":"version","type":"string"},{"meaning":"When that version was published, ISO 8601 UTC","name":"published","type":"string"},{"meaning":"The package's one-line description","name":"description","type":"string"},{"meaning":"The license's short name","name":"license","type":"string"},{"meaning":"The package's website; null when none is set","name":"homepage","type":"string"},{"meaning":"The source repository's address","name":"repository","type":"string"},{"meaning":"Not filled today: always null","name":"downloads","type":"integer"},{"meaning":"How many packages it depends on","name":"dependencies","type":"integer"},{"meaning":"The package's page on npm or PyPI","name":"url","type":"string"}],"row_is":"","view":"rows"},"related":[{"id":"github-file","why":"Repository, path, size, language, content"},{"id":"extract","why":"For a page no tool is built for: say the rows you want."}],"run":"sync","source":"packages","status":"verified","summary":"Name, ecosystem, version, published, description, license, homepage","synonyms":["about","crates","facts","info","io","npm","package","pypi","npm package","pypi package","python package","node package","latest version","package version","library version","dependencies info","release date of a package"],"typical":"0.4 s","version":1,"visibility":"public"}