Skip to content

PyPI API: Search packages

Searches PyPI by keywords and returns matching packages in relevance order, each with its latest version and that version's release date. Returns up to 100 results.

pypi.org (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by PyPI.

Inputs

Values from the run on Oct 31, 2026, shown under Output.

Query, requiredquery

Keywords to find packages, for example pdf parsing.

pdf parsing

Max Results optionalmax_results

Maximum packages to return, for example 25.

25

Whole number from 1 to 100. Default 20.

Output

From a run on Oct 31, 2026, shortened for this page.
{  "packages": [    {      "name": "parsing",      "pypi_link": "https://pypi.org/project/parsing/",      "description": "LR(1) parser generator for Python and CFSM and GLR parser drivers",      "release_date": "2023-11-24",      "latest_version": "2.0.4"    },    {      "name": "shinny-parsing",      "pypi_link": "https://pypi.org/project/shinny-parsing/",      "description": "parse settlement file",      "release_date": "2024-12-03",      "latest_version": "0.0.4"    },    {      "name": "argument-parsing",      "pypi_link": "https://pypi.org/project/argument-parsing/",      "description": "A zero dependency argument parser written in python.",      "release_date": "2024-05-16",      "latest_version": "1.0.1"    }  ]}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
pypi.org/search_packages
Returns
name, latest version, description, release date, PyPI link

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method pypi.org/search_packages with the inputs above.

Ask your agent

  • Find Python packages for parsing PDF files and show me their latest versions and release dates
  • Search PyPI for async HTTP client libraries, top 10 results
  • What libraries exist for reading and writing Excel spreadsheets in Python? Give me up to 30 with descriptions
  • Look up packages matching 'telegram bot framework' on pypi.org and include links to each one
  • I need a list of 50 Python libraries related to geospatial raster processing, with when each was last released
  • Gets a PyPI package's current version, release date, metadata, project links and its 10 most recently published versions from a package name or PyPI link.

    pypi.org/get_package
  • Searches the npm registry for JavaScript packages by description or keywords, in npm's search order, and returns each package's latest version, weekly downloads and publish date.

    npmjs.com/search_packages
  • Finds Pinterest pins for an idea in search order, with image, creator, board, saves and linked website. Limited to the first public search page.

    pinterest.com/search_pins
  • Finds Rust crates on crates.io by keywords, sorted by relevance, total downloads, recent downloads, or newest creation.

    crates.io/search_crates
  • Finds Product Hunt products by name or by what they do, in Product Hunt search order, with tagline, review rating, review count, followers and topics. Ratings are null for products without reviews.

    producthunt.com/search_products
  • Finds Android apps on Google Play by keywords, in Play search order, with each listing's developer, star rating, price and currency for the chosen country, download range and link. Results are limited to apps shown on the public search page.

    play.google.com/search_apps
  • Finds public GitHub repositories by keywords, with an optional language filter and sort order. Returns up to 100 matches.

    github.com/search_repositories
  • Searches Bing and returns web results in the order shown, with snippets, answer-box text when available, and related searches.

    bing.com/search_web