Pub.dev Dart Package Metadata Scraper
Pricing
$20.00 / 1,000 run starteds
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
Maintained by CommunityActor 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
| Field | Type | Description |
|---|---|---|
| packageName | string | The pub.dev package identifier, e.g. 'http'. |
| latestVersion | string | Version string of the latest published release. |
| description | string | Package description from its pubspec. |
| repositoryUrl | string | Source repository URL declared in the pubspec, if any. |
| publishedAt | string | ISO 8601 timestamp the latest version was published. |
| sdkConstraint | string | Dart SDK version constraint required by the latest release. |
| topics | string | Comma-separated list of package topics/tags. |
| dependencies | string | Comma-separated list of direct runtime dependency names. |
| versionCount | integer | Total number of versions ever published for this package. |
| likeCount | integer | Number of pub.dev user likes, from the package score endpoint. |
| pubPoints | integer | Granted pub points out of the maximum possible score. |
| maxPubPoints | integer | Maximum pub points achievable, for computing a percentage. |
| popularityScore | number | Pub.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.yamldependencies 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.