Pub.dev Dart Package Metadata Scraper avatar

Pub.dev Dart Package Metadata Scraper

Pricing

$20.00 / 1,000 run starteds

Go to Apify Store
Pub.dev Dart Package Metadata Scraper

Pub.dev Dart Package Metadata Scraper

Exports version, dependency, pub points, likes and popularity data for Dart and Flutter packages pulled directly from pub.dev's official JSON API.

Pricing

$20.00 / 1,000 run starteds

Rating

0.0

(0)

Developer

Ahmed

Ahmed

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Exports version, dependency, pub points, likes, and popularity data for Dart and Flutter packages, pulled directly from pub.dev's official JSON API. Built for Dart/Flutter developers evaluating packages, dependency-audit tooling, and anyone tracking the pub.dev ecosystem who needs structured package data without scraping HTML.

Why this scraper

  • Reads pub.dev's official JSON API (package + score endpoints) rather than rendered HTML, so version history, dependencies, and SDK constraints come back as structured fields instead of parsed page text.
  • Returns pub points, likes, and popularity score alongside those metadata fields in one flat row per package — data that's often split across multiple sources or only partially available elsewhere.
  • Priced lower than the cheapest priced alternative on a per-run basis.

Output fields

FieldTypeDescription
packageNamestringThe pub.dev package identifier, e.g. 'http'.
latestVersionstringVersion string of the latest published release.
descriptionstringPackage description from its pubspec.
repositoryUrlstringSource repository URL declared in the pubspec, if any.
publishedAtstringISO 8601 timestamp the latest version was published.
sdkConstraintstringDart SDK version constraint required by the latest release.
topicsstringComma-separated list of package topics/tags.
dependenciesstringComma-separated list of direct runtime dependency names.
versionCountintegerTotal number of versions ever published for this package.
likeCountintegerNumber of pub.dev user likes, from the package score endpoint.
pubPointsintegerGranted pub points out of the maximum possible score.
maxPubPointsintegerMaximum pub points achievable, for computing a percentage.
popularityScorenumberPub.dev popularity score between 0 and 1.

Input

{
"startUrls": [
{ "url": "https://pub.dev/api/packages/http" }
],
"maxItems": 50
}

Output

{
"packageName": "http",
"latestVersion": "1.6.0",
"description": "A composable, multi-platform, Future-based API for HTTP requests.",
"repositoryUrl": "https://github.com/dart-lang/http/tree/master/pkgs/http",
"publishedAt": "2025-11-10T18:27:56.434747Z",
"sdkConstraint": "^3.4.0",
"topics": "http,network,protocols",
"dependencies": "async,http_parser,meta,web",
"versionCount": 130,
"likeCount": null,
"pubPoints": null,
"maxPubPoints": null,
"popularityScore": null
}

Pricing

Pay-per-event: $0.02 per run started, charged once regardless of how many packages are listed in startUrls. A typical run covering a handful of packages (e.g. checking http, provider, and dio) costs $0.02 total.

Use cases

  • Auditing a Flutter app's pubspec.yaml dependencies for SDK constraint compatibility before a Dart SDK upgrade.
  • Building a package-comparison dashboard that ranks alternatives by pub points, likes, and popularity score.
  • Monitoring a set of packages you depend on for new version releases and dependency changes over time.