pub.dev package repository API vs deps.dev API (Open Source Insights)
pub.dev package repository APIby GooglePaid fromNot statedAccessHTTP, CLIAgentsNot statedAPI QA score[SCORE]View API
deps.dev API (Open Source Insights)by GooglePaid fromNot publishedAccessHTTPAgentsNot statedAPI QA score[SCORE]View API
Fact by fact
10 different6 stated by only one2 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 mirroringdeps.dev API (Open Source Insights): Packages, versions, dependency graphs, licences, advisories and OpenSSF Scorecards for open-source ecosystems
Accesspub.dev package repository API: HTTP, CLIdeps.dev API (Open Source Insights): HTTP
Still on salepub.dev package repository API: Yesdeps.dev API (Open Source Insights): Yes
Price
Paid frompub.dev package repository API: Not stateddeps.dev API (Open Source Insights): Not published
Buying and paying
Agent gets a key alonepub.dev package repository API: Yesreads need no credentialdeps.dev API (Open Source Insights): Yesno key needed
First call without a keypub.dev package repository API: Yes'GET https://pub.dev/api/package-names' with no keydeps.dev API (Open Source Insights): Not stated
Payment railspub.dev package repository API: nonefreedeps.dev API (Open Source Insights): othernone needed
Payment protocolspub.dev package repository API: nonefreedeps.dev API (Open Source Insights): noneno protocol named in the batch paymentRails cell
Subscription requiredpub.dev package repository API: Nofreedeps.dev API (Open Source Insights): No
Smallest purchase (USD)pub.dev package repository API: From $0freedeps.dev API (Open Source Insights): Not stated
Price published as datapub.dev package repository API: Noprices only in the HTML pagedeps.dev API (Open Source Insights): Not stated
Pay per callpub.dev package repository API: Not stateddeps.dev API (Open Source Insights): No
Reading and signing up
Public pricespub.dev package repository API: Yesfree; no price anywheredeps.dev API (Open Source Insights): Nono price stated
Self-serve sign-uppub.dev package repository API: Yesno account needed to readdeps.dev API (Open Source Insights): Yesno account needed
Free usepub.dev package repository API: Yesfreedeps.dev API (Open Source Insights): Yesno price stated
OpenAPIpub.dev package repository API: Nodescribed in prose and the Hosted Pub Repository Specificationdeps.dev API (Open Source Insights): Not stated
Docs without loginpub.dev package repository API: Yespub.dev/help/api publicdeps.dev API (Open Source Insights): Yes
Jobs both do
Open a job to see every API that does it.
