{"uid":"cap_yPR1D2o98-wjL5iynKtIv","slug":"2s-io-90228abd","name":"PyPI Package Lookup","description":"Look up a Python package on PyPI by name. Returns version, summary + long description, content-type, project URLs (Homepage, Source, Bug Tracker, Docs, etc.), license, author + maintainer (with emails), keywords, classifiers (top 30), requires-python spec, requires-dist (top 100 runtime deps), the 50 most recent releases with publish dates, and any yanked versions in that window. PyPI public registry.","url":"https://2s.io/api/registry/pypi-lookup","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"required":["name"],"properties":{"name":{"type":"string","description":"PyPI project name."}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"name":"requests"}}},"response":{"data":{"name":"requests","author":null,"source":{"url":"https://pypi.org/","license":"Package metadata redistribution permitted per PyPI ToU.","provider":"Python Package Index (PyPI)"},"license":"Apache-2.0","summary":"Python HTTP for Humans.","version":"2.34.2","homePage":null,"keywords":[],"maintainer":null,"authorEmail":"Kenneth Reitz <me@kennethreitz.org>","classifiers":["Development Status :: 5 - Production/Stable","Environment :: Web Environment","Intended Audience :: Developers","License :: OSI Approved :: Apache Software License","Natural Language :: English","Operating System :: OS Independent","Programming Language :: Python","Programming Language :: Python :: 3","Programming Language :: Python :: 3 :: Only","Programming Language :: Python :: 3.10","Programming Language :: Python :: 3.11","Programming Language :: Python :: 3.12","Programming Language :: Python :: 3.13","Programming Language :: Python :: 3.14","Programming Language :: Python :: 3.15","Programming Language :: Python :: Free Threading :: 2 - Beta","Programming Language :: Python :: Implementation :: CPython","Programming Language :: Python :: Implementation :: PyPy","Topic :: Internet :: WWW/HTTP","Topic :: Software Development :: Libraries"],"description":"# Requests\n\n[![Version](https://img.shields.io/pypi/v/requests.svg?maxAge=86400)](https://pypi.org/project/requests/)\n[![Supported Versions](https://img.shields.io/pypi/pyversions/requests.svg)](https://pypi.org/project/requests)\n[![Downloads](https://static.pepy.tech/badge/requests/month)](https://pepy.tech/project/requests)\n[![Contributors](https://img.shields.io/github/contributors/psf/requests.svg)](https://github.com/psf/requests/graphs/contributors)\n[![Documentation](https://readthedocs.org/projects/requests/badge/?version=latest)](https://requests.readthedocs.io)\n\n**Requests** is a simple, yet elegant, HTTP library.\n\n```python\n>>> import requests\n>>> r = requests.get('https://httpbin.org/basic-auth/user/pass', auth=('user', 'pass'))\n>>> r.status_code\n200\n>>> r.headers['content-type']\n'application/json; charset=utf8'\n>>> r.encoding\n'utf-8'\n>>> r.text\n'{\"authenticated\": true, ...'\n>>> r.json()\n{'authenticated': True, ...}\n```\n\nRequests allows you to send HTTP/1.1 requests extremely easily. There’s no need to manually add query strings to your URLs, or to form-encode your `PUT` & `POST` data — but nowadays, just use the `json` method!\n\nRequests is one of the most downloaded Python packages today, pulling in around `300M downloads / week` — according to GitHub, Requests is currently [depended upon](https://github.com/psf/requests/network/dependents?package_id=UGFja2FnZS01NzA4OTExNg%3D%3D) by `4,000,000+` repositories.\n\n## Installing Requests and Supported Versions\n\nRequests is available on PyPI:\n\n```console\n$ python -m pip install requests\n```\n\nRequests officially supports Python 3.10+.\n\n## Supported Features & Best–Practices\n\nRequests is ready for the demands of building robust and reliable HTTP–speaking applications, for the needs of today.\n\n- Keep-Alive & Connection Pooling\n- International Domains and URLs\n- Sessions with Cookie Persistence\n- Browser-style TLS/SSL Verification\n- Basic & Digest Authentication\n- Familiar `dict`–like Cookies\n- Automatic Content Decompression and Decoding\n- Multi-part File Uploads\n- SOCKS Proxy Support\n- Connection Timeouts\n- Streaming Downloads\n- Automatic honoring of `.netrc`\n- Chunked HTTP Requests\n\n## Cloning the repository\n\nWhen cloning the Requests repository, you may need to add the `-c\nfetch.fsck.badTimezone=ignore` flag to avoid an error about a bad commit timestamp (see\n[this issue](https://github.com/psf/requests/issues/2690) for more background):\n\n```shell\ngit clone -c fetch.fsck.badTimezone=ignore https://github.com/psf/requests.git\n```\n\nYou can also apply this setting to your global Git config:\n\n```shell\ngit config --global fetch.fsck.badTimezone ignore\n```\n\n---\n\n[![Kenneth Reitz](https://raw.githubusercontent.com/psf/requests/main/ext/kr.png)](https://kennethreitz.org) [![Python Software Foundation](https://raw.githubusercontent.com/psf/requests/main/ext/psf.png)](https://www.python.org/psf)\n","projectUrls":{"Source":"https://github.com/psf/requests","Documentation":"https://requests.readthedocs.io"},"releaseDates":{"0.0.1":null,"1.0.0":"2012-12-17T15:00:05.110522Z","1.0.1":"2012-12-17T18:53:51.251872Z","1.0.2":"2012-12-17T19:04:31.658169Z","1.0.3":"2012-12-18T09:51:12.406576Z","1.0.4":"2012-12-23T07:45:10.417631Z","1.1.0":"2013-01-10T07:13:41.901588Z","1.2.0":"2013-03-31T05:28:47.574555Z","1.2.1":"2013-05-20T20:11:09.817186Z","1.2.2":"2013-05-21T21:44:44.405678Z","1.2.3":"2013-05-25T16:48:36.421087Z","2.0.0":"2013-11-15T19:09:51.527323Z","2.0.1":"2013-11-15T19:12:20.555241Z","2.1.0":"2013-12-05T22:51:41.312732Z","0.10.2":"2012-02-15T09:48:52.830436Z","0.10.3":"2012-02-20T20:10:57.584946Z","0.10.4":"2012-02-20T22:21:31.091713Z","0.10.6":"2012-02-26T05:17:54.135905Z","0.10.7":"2012-03-08T01:50:58.069132Z","0.10.8":"2012-03-09T17:59:54.950126Z","0.11.1":"2012-03-31T05:47:56.690051Z","0.11.2":"2012-04-23T04:29:36.868120Z","0.12.0":"2012-05-03T01:18:47.376345Z","0.12.1":"2012-05-08T07:21:59.920122Z","0.13.0":"2012-05-30T02:54:18.564587Z","0.13.1":"2012-06-08T04:22:28.683979Z","0.13.2":"2012-06-29T02:37:41.500479Z","0.13.3":"2012-07-12T23:20:43.867603Z","0.13.4":"2012-07-27T08:22:09.864284Z","0.13.5":"2012-07-27T09:23:41.969623Z","0.13.6":"2012-08-06T08:46:22.516645Z","0.13.7":"2012-08-19T00:47:48.501903Z","0.13.8":"2012-08-20T15:24:42.439401Z","0.13.9":"2012-08-25T15:26:50.954170Z","0.14.0":"2012-09-02T08:50:39.106639Z","0.14.1":"2012-10-01T17:30:05.176526Z","0.14.2":"2012-10-27T15:08:51.460827Z","2.10.0":"2016-04-29T22:12:39.027730Z","2.11.0":"2016-08-08T15:07:35.742323Z","2.11.1":"2016-08-17T20:04:30.871534Z","2.12.0":"2016-11-15T10:32:00.148361Z","2.12.1":"2016-11-16T10:45:37.051370Z","2.12.2":"2016-11-30T12:39:31.252307Z","2.12.3":"2016-12-01T10:49:02.775404Z","2.12.4":"2016-12-14T11:39:35.297490Z","2.12.5":"2017-01-18T12:43:08.631826Z","2.13.0":"2017-01-24T12:53:25.259314Z","2.14.0":"2017-05-09T15:45:03.006047Z","2.14.1":"2017-05-09T19:00:26.274919Z","2.14.2":"2017-05-10T14:05:39.911571Z"},"requiresDist":["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\""],"requiresPython":">=3.10","yankedVersions":[],"maintainerEmail":"Ian Stapleton Cordasco <graffatcolmingov@gmail.com>, Nate Prewitt <nate.prewitt@gmail.com>","descriptionContentType":"text/markdown"},"meta":{"cost":{"usd":0.0012,"tier":0},"caller":"x402","version":null,"endpoint":"registry.pypi-lookup","settlement":{"txHash":"0xa08aec60a17f6b7f6776b9748012e8e0416008ecfd78c8ae679fcd201bcff839","network":"eip155:8453","success":true}}}},"exampleRequest":{"name":"requests"},"tags":["x402"],"displayCostAmount":"0.0012","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.0012/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_GhDCYy-3rCZFLetgUaIQn","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":"Look up detailed metadata for a Python package by name from the PyPI public registry, including version, dependencies, release history, and project URLs.","exampleAgentPrompt":"What's the latest version of the 'requests' package on PyPI, and what Python versions does it support? Also grab its homepage URL and list of runtime dependencies.","exampleUseCases":null,"resultDescription":"Returns structured metadata for the named PyPI package: current version, short summary and full long description with content type, project URLs (Homepage, Source, Docs, Bug Tracker, etc.), license, author and maintainer with emails, keywords, up to 30 classifiers, requires-python spec, up to 100 runtime dependencies, the 50 most recent releases with publish dates, and any yanked versions in that window.","failureModes":["Package name not found on PyPI — returns 404 or empty result","Typo in package name returns no match","Private or unlisted packages not accessible","PyPI registry downtime causes timeout or error","Yanked-only packages may have limited metadata"],"whenToPreferThis":"Use this endpoint when you need rich, structured PyPI package metadata — version, deps, classifiers, release history — for a single named package. Prefer over scraping PyPI HTML or using the raw PyPI JSON API directly when a pay-per-call microservice with structured output is acceptable. Ideal for agents doing dependency audits, package discovery, or developer tooling workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:28.005Z","isFirstParty":false}