Pub.dev Scraper
Pricing
from $3.00 / 1,000 results
Pub.dev Scraper
Scrape Pub.dev, the official Dart and Flutter package repository with 40K+ packages. Search packages, fetch package details with scores, get all packages by a publisher, or browse trending packages.
Pricing
from $3.00 / 1,000 results
Rating
5.0
(4)
Developer
Crawler Bros
Maintained by CommunityActor stats
4
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Scrape Pub.dev — the official Dart and Flutter package repository with 40,000+ packages. Search by keyword, fetch a specific package with full scoring data, get all packages by a publisher, or browse trending Flutter packages.
No API key, login, or proxy required. Uses the free public Pub.dev REST API.
Features
- Search packages by keyword with full pagination
- Fetch a specific package by name with scores (pub points, likes, popularity)
- List all packages by a publisher domain (e.g. flutter.dev, dart.dev)
- Browse trending packages sorted by popularity score
Input
| Field | Type | Description |
|---|---|---|
mode | select | search / byPackage / byPublisher / trending |
query | string | Search keyword (mode=search) |
packageName | string | Exact package name (mode=byPackage) |
publisherId | string | Publisher domain (mode=byPublisher), e.g. flutter.dev |
maxItems | integer | Max records to emit (1–1000, default 20) |
Example inputs
Search packages:
{"mode": "search","query": "flutter","maxItems": 20}
Fetch a specific package:
{"mode": "byPackage","packageName": "dio"}
Get all packages by a publisher:
{"mode": "byPublisher","publisherId": "flutter.dev","maxItems": 50}
Browse trending packages:
{"mode": "trending","maxItems": 20}
Output
Each record contains:
| Field | Type | Description |
|---|---|---|
package | string | Package name |
version | string | Latest published version |
description | string | Package description |
homepage | string | Package homepage URL |
repository | string | Source code repository URL |
publishedAt | string | ISO timestamp of latest version release |
likes | integer | Number of pub.dev likes |
popularityScore | number | Popularity score (0.0–1.0) |
pubPoints | integer | Pub points awarded |
maxPoints | integer | Maximum achievable pub points |
sdkConstraint | string | Dart SDK version constraint |
publisherId | string | Publisher domain (e.g. flutter.dev) |
pubDevUrl | string | Direct pub.dev package page URL |
scrapedAt | string | ISO timestamp when record was scraped |
Example record
{"package": "dio","version": "5.4.0","description": "A powerful HTTP client for Dart, which supports Interceptors.","homepage": "https://github.com/cfug/dio","repository": "https://github.com/cfug/dio","publishedAt": "2024-01-15T10:00:00.000Z","likes": 5000,"popularityScore": 0.9932,"pubPoints": 160,"maxPoints": 160,"sdkConstraint": ">=3.0.0 <4.0.0","publisherId": "dart.cn","pubDevUrl": "https://pub.dev/packages/dio","scrapedAt": "2026-05-25T10:00:00+00:00"}
FAQs
Does this require an API key or login? No. The Pub.dev public API is freely accessible without authentication.
What is the trending mode?
Trending mode queries Pub.dev for Flutter SDK packages sorted by popularity score, giving you the most widely-used packages in the Flutter ecosystem.
How does the search mode work? Pub.dev returns a page of package names per request. For each name returned, the scraper fetches the full package details, score, and publisher in parallel. This ensures you get complete metadata for every result.
What are pub points? Pub points (0–160) are awarded by Pub.dev based on documentation quality, code conventions, platform support, and other quality criteria. Higher scores indicate better-maintained packages.
Which fields are always present?
package, pubDevUrl, and scrapedAt are always populated. All other fields are omitted if not available for a package.
Can I filter by SDK (Dart vs Flutter)?
Use the search query with SDK filters: e.g. sdk:flutter or sdk:dart. Combine with a keyword: "flutter dio".
What is a publisher ID?
Publisher IDs are verified domain names registered on Pub.dev (e.g. flutter.dev, dart.dev, google.dev). They certify that packages are officially maintained by that organization.