pub.dev package repository API vs Debian sources and snapshot APIs
pub.dev package repository APIby GooglePaid fromNot statedAccessHTTP, CLIAgentsNot statedAPI QA score[SCORE]View API
Debian sources and snapshot APIsby Debian ProjectPaid fromNot statedAccessHTTPAgentsNot statedAPI QA score[SCORE]View API
Fact by fact
12 different1 stated by only one3 the same on both
The basics
What it ispub.dev package repository API: The officially supported API of pub.dev, the Dart and Flutter package repository: the Hosted Pub Repository Specification v2 plus package-name lists for completion and mirroringDebian sources and snapshot APIs: Free, keyless JSON interfaces over the Debian archive: sources.debian.org's API for source packages and files, and snapshot.debian.org's machine-usable interface (/mr/) for every package version ever published
Accesspub.dev package repository API: HTTP, CLIDebian sources and snapshot APIs: HTTP
Still on salepub.dev package repository API: YesDebian sources and snapshot APIs: Yes
What they work on
Only one of thempub.dev package repository API: Nothing elseDebian sources and snapshot APIs: Document
Buying and paying
Agent gets a key alonepub.dev package repository API: Yesreads need no credentialDebian sources and snapshot APIs: Yesno credential needed
First call without a keypub.dev package repository API: Yes'GET https://pub.dev/api/package-names' with no keyDebian sources and snapshot APIs: Yesno key
Payment railspub.dev package repository API: nonefreeDebian sources and snapshot APIs: nonenothing to pay
Payment protocolspub.dev package repository API: nonefreeDebian sources and snapshot APIs: nonenothing to pay
Subscription requiredpub.dev package repository API: NofreeDebian sources and snapshot APIs: Nofree
Smallest purchase (USD)pub.dev package repository API: From $0freeDebian sources and snapshot APIs: From $0free
Price published as datapub.dev package repository API: Noprices only in the HTML pageDebian sources and snapshot APIs: Nono price to read; free
Reading and signing up
Public pricespub.dev package repository API: Yesfree; no price anywhereDebian sources and snapshot APIs: Nono price stated anywhere; no account
Self-serve sign-uppub.dev package repository API: Yesno account needed to readDebian sources and snapshot APIs: Yesno account needed
Free usepub.dev package repository API: YesfreeDebian sources and snapshot APIs: Yesno account, key or price
OpenAPIpub.dev package repository API: Nodescribed in prose and the Hosted Pub Repository SpecificationDebian sources and snapshot APIs: Not stated
Docs without loginpub.dev package repository API: Yespub.dev/help/api publicDebian sources and snapshot APIs: Part of the API reference is readable without an accountsnapshot.debian.org readable; sources.debian.org/doc/api/ returned a JavaScript challenge
Jobs both do
Open a job to see every API that does it.

