PyPI JSON and upload APIs vs crates.io API
PyPI JSON and upload APIsby Python Software FoundationPaid fromNot statedAccessHTTP, CLIAgentsNot statedAPI QA score[SCORE]View API
crates.io APIby Rust FoundationPaid fromNot statedAccessHTTP, CLI, FileAgentsNot statedAPI QA score[SCORE]View API
Fact by fact
6 different1 stated by only one10 the same on both
The basics
What it isPyPI JSON and upload APIs: Read Python package metadata and release files from PyPI and publish new releases with an API token or trusted publishingcrates.io API: Read Rust crate metadata, versions and downloads, and publish or yank crate versions with an API token
AccessPyPI JSON and upload APIs: HTTP, CLIcrates.io API: HTTP, CLI, File
Still on salePyPI JSON and upload APIs: Yescrates.io API: Yes
What they work on
Buying and paying
Agent gets a key alonePyPI JSON and upload APIs: Yesreads need no credential; publishing needs an account tokencrates.io API: Yesreads need no credential; publishing needs an account token
First call without a keyPyPI JSON and upload APIs: Yespypi.org/pypi/requests/json answered with no keycrates.io API: Yescrates.io/api/v1/crates/serde answered with no key
Payment railsPyPI JSON and upload APIs: nonenothing to paycrates.io API: nonenothing to pay
Payment protocolsPyPI JSON and upload APIs: noneno agent payment protocol named on public pagescrates.io API: noneno agent payment protocol named on public pages
Subscription requiredPyPI JSON and upload APIs: Nofreecrates.io API: Nofree
Smallest purchase (USD)PyPI JSON and upload APIs: From $0freecrates.io API: From $0free
Price published as dataPyPI JSON and upload APIs: Nono price list; freecrates.io API: Nono price list; free
Reading and signing up
Public pricesPyPI JSON and upload APIs: Yesno price; free servicecrates.io API: Yesno price; free service
Self-serve sign-upPyPI JSON and upload APIs: Yesaccount for publishingcrates.io API: YesGitHub login for publishing
Free usePyPI JSON and upload APIs: Yesfreecrates.io API: Yesfree
OpenAPIPyPI JSON and upload APIs: Nonone foundcrates.io API: Nonone found
Docs without loginPyPI JSON and upload APIs: Yesdocs.pypi.orgcrates.io API: Part of the API reference is readable without an accountpolicy pages render by script
Docs as MarkdownPyPI JSON and upload APIs: Yesdocs.pypi.org returns text/markdown on Acceptcrates.io API: Not stated
Jobs both do
Open a job to see every API that does it.
