{"uid":"cap_SxryN9BTIUkwD9LDH0hFV","slug":"scrapemole-pkgs-pypi-package-search-ab186ab2","name":"ScrapeMole Pkgs – PyPI Package Search","description":"Pay-per-call package registry lookups: npm package metadata, version details, search, and download counts; PyPI project metadata, releases, and name lookup. Public registry data only (no auth, no private packages, no scraping of user profiles). Emails and tokens are stripped. USDC via x402, no accounts.\n\nPayments: x402 v2, scheme \"exact\", USDC on Base (eip155:8453). The payment is verified before the work and settled only when the response is 200. Terms: https://pkgs.scrapemole.workers.dev/terms","url":"https://pkgs.scrapemole.workers.dev/v1/pypi/search?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","examples":["httpx"],"description":"Project name or name-like query."},"limit":{"type":"string","default":"10","description":"Max results (1-20)."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"note":"Name lookup via PyPI JSON API (XML-RPC search retired).","count":1,"query":"httpx","source":"https://pypi.org/pypi","results":[{"name":"httpx","summary":"The next generation HTTP client.","version":"0.28.1","requiresPython":">=3.8"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","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.003/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_r8dV9BNR6GCdsQ58zsNcQ","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":"Search the PyPI package registry by name or keyword and return matching project names, summaries, versions, and Python version requirements.","exampleAgentPrompt":"Search PyPI for Python packages matching 'httpx' and show me the top 5 results including their latest version and summary.","exampleUseCases":[{"title":"Find an HTTP client library","prompt":"Search PyPI for Python HTTP client libraries — I want to see the top 10 results with their latest version and a short description so I can pick one."},{"title":"Verify a package name before install","prompt":"Is there a PyPI package called 'requests-html'? Show me its latest version and what Python versions it supports."},{"title":"Discover async data parsing packages","prompt":"Search PyPI for packages related to 'async csv parsing' and give me up to 5 results with their summaries and versions."}],"resultDescription":"Returns a JSON object with the search query, total count, source URL, and an array of matching packages each containing: name, summary, latest version string, and required Python version constraint.","failureModes":["Missing required 'q' query parameter returns a 400 error","No matching packages found returns an empty results array with count 0","PyPI upstream unavailability may cause 502 or timeout errors","Payment not received or invalid USDC payment triggers 402 response before work is done","Limit parameter out of range (>20 or <1) may be clamped or rejected"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically search PyPI for Python packages by name or keyword without setting up PyPI API credentials, and wants pay-per-call pricing with no account required. Prefer over direct PyPI XML-RPC (which is retired) or scraping approaches. Best for agent workflows that need package discovery, dependency research, or version checking for Python projects.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:32:19.596Z","isFirstParty":false,"canonicalSlug":"scrapemole-pkgs-pypi-package-search-ab186ab2"}