pub.dev

App · 11 actions

Look up Dart and Flutter packages on pub.dev from a workflow. Search packages by keyword, SDK, platform, topic, licence or publisher and rank them by downloads, likes, pub points or how recently they changed; read a package's latest release, the versions it has published, one version's dependencies and archive, its score and pub points report, its security advisories and its API docs; look up a verified publisher, check whether a name is free for a new package, and list topics. Triggers start a workflow when a package publishes a new version or a new package matching a search appears. Every action reads public data and changes nothing. No account or API key required.

Actions

ActionWhat it does
Check whether a package name is takenCheck a name before publishing a new package: whether a package already uses it, and whether pub accepts it as a name at all (lowercase letters, digits and underscores, not a Dart reserved word).
Get a packageRead a package's latest stable release: its description, version, when it was published, the SDKs it needs, its dependencies, topics and links, how many versions it has, its verified publisher, and whether it is discontinued (and what replaces it) or unlisted.
Get a package versionRead one release of a package: when it was published, whether it is the latest, a pre-release or retracted, the SDKs and dependencies it declares, the command-line tools it installs, and the download address and checksum of its archive.
Get a package's API docsFind out whether pub.dev has generated API reference pages for a package, with the address of the latest pages and of each version pub.dev keeps pages for.
Get a package's pub points reportRead how a package earned or lost its pub points, section by section: file conventions, documentation, platform support, static analysis and up-to-date dependencies, each with pub.dev's explanation, plus the licences found and the Dart and Flutter versions the analysis used.
Get a package's scoreRead the numbers pub.dev shows beside a package: pub points out of the maximum, likes and downloads in the last 30 days, with the SDKs, platforms, licences and topics its analysis found and flags such as null safety, Dart 3, WebAssembly and Flutter Favorite.
Get a publisherRead a verified publisher's profile: its description, website and contact address.
List a package's security advisoriesList the security advisories filed against a package, newest first, with their severity, the versions they affect and the versions that fix them.
List a package's versionsList the versions a package has published, newest first or by version number, with when each was published, whether it is a pre-release or retracted, and the Dart SDK it needs.
List topicsList the topics packages are tagged with on pub.dev and how many packages use each, most used first or alphabetically, optionally only those containing some text.
Search packagesFind Dart and Flutter packages by keyword, narrowed to an SDK, platforms, a topic, a licence, a publisher or Flutter Favorites, and ranked by best match, downloads, likes, pub points, how recently they changed or how new they are.

Check whether a package name is taken

Check a name before publishing a new package: whether a package already uses it, and whether pub accepts it as a name at all (lowercase letters, digits and underscores, not a Dart reserved word). A taken name comes back with that package's latest version and description.

Inputs

NamenametextRequired
The package name to check.

Outputs

could_publishtrue/false
True when the name is free and valid; pub.dev can still refuse a name too close to an existing one
descriptiontext
That package's description; empty when free
is_takentrue/false
True when a package already has this name
is_validtrue/false
True when pub accepts it as the name of a new package
latest_versiontext
The latest version of the package using it; empty when free
nametext
The name that was checked
problemtext
Why pub would refuse the name; empty when it would not
urltext
That package's page on pub.dev; empty when free
Example output
{
  "could_publish": false,
  "description": "A composable, multi-platform, Future-based API for HTTP requests.",
  "is_taken": true,
  "is_valid": true,
  "latest_version": "1.6.0",
  "name": "http",
  "problem": "",
  "url": "https://pub.dev/packages/http"
}

Get a package

Read a package's latest stable release: its description, version, when it was published, the SDKs it needs, its dependencies, topics and links, how many versions it has, its verified publisher, and whether it is discontinued (and what replaces it) or unlisted.

Inputs

PackagepackagetextRequired
The package's name on pub.dev. Pick one of the most popular from the list, or type any name; a pub.dev package address works too.

Outputs

advisories_updated_attext
When its security advisories last changed, in ISO 8601 UTC; empty when never
api_docs_urltext
The package's API reference on pub.dev
archive_sha256text
The archive's SHA-256 checksum
archive_urltext
Where to download the latest version's archive
changelog_urltext
The package's changelog on pub.dev
dart_sdktext
The Dart SDK versions it supports, such as ^3.4.0
dependencieslist
What the latest version depends on
descriptiontext
The package's own one-line description
dev_dependencieslist
What it needs only for development and tests
documentationtext
A documentation site the pubspec gives; often empty
first_published_attext
When the first version was published, in ISO 8601 UTC
flutter_sdktext
The Flutter versions it supports; empty for a pure Dart package
has_verified_publishertrue/false
True when a verified publisher owns it
homepagetext
The homepage the pubspec gives; often empty
is_discontinuedtrue/false
True when its author has marked it discontinued
is_unlistedtrue/false
True when it is hidden from pub.dev search
issue_trackertext
Where to report issues; often empty
latest_prereleasetext
A pre-release published after the latest stable version, such as 2.0.0-dev.1; empty when there is none
latest_published_attext
When the latest stable version was published, in ISO 8601 UTC
latest_versiontext
The latest stable version
nametext
The package's name
publisher_idtext
The verified publisher, such as dart.dev; empty when none
replaced_bytext
The package its author recommends instead, when discontinued
repositorytext
The source repository the pubspec gives
topicslist
The topics the package is tagged with
urltext
The package's page on pub.dev
uses_fluttertrue/false
True when it needs Flutter rather than only Dart
version_countnumber
How many versions have been published
Example output
{
  "advisories_updated_at": "2026-05-04T16:03:47Z",
  "api_docs_url": "https://pub.dev/documentation/http/latest/",
  "archive_sha256": "87721a4a50b19c7f1d49001e51409bddc46303966ce89a65af4f4e6004896412",
  "archive_url": "https://pub.dev/api/archives/http-1.6.0.tar.gz",
  "changelog_url": "https://pub.dev/packages/http/changelog",
  "dart_sdk": "^3.4.0",
  "dependencies": [
    {
      "constraint": "^2.5.0",
      "name": "async"
    },
    {
      "constraint": "^4.0.0",
      "name": "http_parser"
    },
    {
      "constraint": "^1.3.0",
      "name": "meta"
    },
    {
      "constraint": ">=0.5.0 <2.0.0",
      "name": "web"
    }
  ],
  "description": "A composable, multi-platform, Future-based API for HTTP requests.",
  "dev_dependencies": [
    {
      "constraint": "^1.2.0",
      "name": "fake_async"
    },
    {
      "constraint": "path: ../http_client_conformance_tests/",
      "name": "http_client_conformance_tests"
    },
    {
      "constraint": "^1.21.2",
      "name": "test"
    }
  ],
  "documentation": "",
  "first_published_at": "2012-11-30T20:40:39Z",
  "flutter_sdk": "",
  "has_verified_publisher": true,
  "homepage": "",
  "is_discontinued": false,
  "is_unlisted": false,
  "issue_tracker": "",
  "latest_prerelease": "",
  "latest_published_at": "2025-11-10T18:27:56Z",
  "latest_version": "1.6.0",
  "name": "http",
  "publisher_id": "dart.dev",
  "replaced_by": "",
  "repository": "https://github.com/dart-lang/http/tree/master/pkgs/http",
  "topics": [
    "http",
    "network",
    "protocols"
  ],
  "url": "https://pub.dev/packages/http",
  "uses_flutter": false,
  "version_count": 130
}

Get a package version

Read one release of a package: when it was published, whether it is the latest, a pre-release or retracted, the SDKs and dependencies it declares, the command-line tools it installs, and the download address and checksum of its archive.

Inputs

PackagepackagetextRequired
The package's name on pub.dev. Pick one of the most popular from the list, or type any name; a pub.dev package address works too.
VersionversiontextRequired
The version to read. Pick one from the list, or type a version number or latest for the newest stable release.

Outputs

api_docs_urltext
This version's API reference on pub.dev
archive_sha256text
The archive's SHA-256 checksum
archive_urltext
Where to download this version's archive
dart_sdktext
The Dart SDK versions it supports
dependencieslist
What this version depends on
descriptiontext
The description this version's pubspec gives
dev_dependencieslist
What it needs only for development and tests
executableslist
Command-line tools it installs with dart pub global activate
flutter_sdktext
The Flutter versions it supports; often empty
homepagetext
The homepage this version's pubspec gives; often empty
is_latesttrue/false
True when it is the latest stable version
is_prereleasetrue/false
True for a pre-release such as 2.0.0-dev.1
is_retractedtrue/false
True when its author has retracted it
packagetext
The package's name
published_attext
When it was published, in ISO 8601 UTC
repositorytext
The source repository this version's pubspec gives
topicslist
The topics this version is tagged with
urltext
This version's page on pub.dev
versiontext
The version number
Example output
{
  "api_docs_url": "https://pub.dev/documentation/http/1.2.0/",
  "archive_sha256": "a2bbf9d017fcced29139daa8ed2bba4ece450ab222871df93ca9eec6f80c34ba",
  "archive_url": "https://pub.dev/api/archives/http-1.2.0.tar.gz",
  "dart_sdk": "^3.2.0",
  "dependencies": [
    {
      "constraint": "^2.5.0",
      "name": "async"
    },
    {
      "constraint": "^4.0.0",
      "name": "http_parser"
    },
    {
      "constraint": "^1.3.0",
      "name": "meta"
    },
    {
      "constraint": ">=0.3.0 <0.5.0",
      "name": "web"
    }
  ],
  "description": "A composable, multi-platform, Future-based API for HTTP requests.",
  "dev_dependencies": [
    {
      "constraint": "^1.2.0",
      "name": "fake_async"
    },
    {
      "constraint": "path: ../http_client_conformance_tests/",
      "name": "http_client_conformance_tests"
    },
    {
      "constraint": "^1.21.2",
      "name": "test"
    }
  ],
  "executables": [],
  "flutter_sdk": "",
  "homepage": "",
  "is_latest": false,
  "is_prerelease": false,
  "is_retracted": false,
  "package": "http",
  "published_at": "2024-01-16T22:46:38Z",
  "repository": "https://github.com/dart-lang/http/tree/master/pkgs/http",
  "topics": [],
  "url": "https://pub.dev/packages/http/versions/1.2.0",
  "version": "1.2.0"
}

Get a package's API docs

Find out whether pub.dev has generated API reference pages for a package, with the address of the latest pages and of each version pub.dev keeps pages for.

Inputs

PackagepackagetextRequired
The package's name on pub.dev. Pick one of the most popular from the list, or type any name; a pub.dev package address works too.

Outputs

countnumber
How many versions are listed
docs_urltext
The address that always shows the latest API reference
latest_has_documentationtrue/false
True when the latest version's API reference exists
latest_versiontext
The latest stable version
packagetext
The package that was read
versionslist
The versions pub.dev keeps API reference pages for, newest first
Example output
{
  "count": 3,
  "docs_url": "https://pub.dev/documentation/http/latest/",
  "latest_has_documentation": true,
  "latest_version": "1.6.0",
  "package": "http",
  "versions": [
    {
      "has_documentation": true,
      "status": "completed",
      "url": "https://pub.dev/documentation/http/1.6.0/",
      "version": "1.6.0"
    },
    {
      "has_documentation": true,
      "status": "completed",
      "url": "https://pub.dev/documentation/http/1.5.0/",
      "version": "1.5.0"
    },
    {
      "has_documentation": true,
      "status": "completed",
      "url": "https://pub.dev/documentation/http/0.13.6/",
      "version": "0.13.6"
    }
  ]
}

Get a package's pub points report

Read how a package earned or lost its pub points, section by section: file conventions, documentation, platform support, static analysis and up-to-date dependencies, each with pub.dev's explanation, plus the licences found and the Dart and Flutter versions the analysis used.

Inputs

PackagepackagetextRequired
The package's name on pub.dev. Pick one of the most popular from the list, or type any name; a pub.dev package address works too.

Outputs

analysed_attext
When it was analysed, in ISO 8601 UTC
analyser_versiontext
The version of pana, pub.dev's analyser, that ran
dart_versiontext
The Dart SDK version the analysis used
dependency_countnumber
How many packages it pulls in, directly or not
docs_statustext
success when its API reference pages were generated
flutter_versiontext
The Flutter version the analysis used
granted_pointsnumber
Pub points earned, out of max_points
licenseslist
The licences found in it, as SPDX identifiers such as MIT
max_pointsnumber
The most pub points the package could earn
packagetext
The package that was read
report_statustext
success when the analysis ran to completion
sectionslist
How each part of the score was earned or lost
urltext
The package's score page on pub.dev
versiontext
The version that was analysed
Example output
{
  "analysed_at": "2026-10-16T22:25:06Z",
  "analyser_version": "0.23.19",
  "dart_version": "3.13.5",
  "dependency_count": 16,
  "docs_status": "success",
  "flutter_version": "3.47.7",
  "granted_points": 160,
  "licenses": [
    "BSD-3-Clause"
  ],
  "max_points": 160,
  "package": "http",
  "report_status": "success",
  "sections": [
    {
      "granted_points": 30,
      "id": "convention",
      "max_points": 30,
      "status": "passed",
      "summary": "### [*] 10/10 points: Provide a valid `pubspec.yaml`",
      "title": "Follow Dart file conventions"
    },
    {
      "granted_points": 20,
      "id": "documentation",
      "max_points": 20,
      "status": "passed",
      "summary": "### [*] 10/10 points: 20% or more of the public API has dartdoc comments",
      "title": "Provide documentation"
    },
    {
      "granted_points": 20,
      "id": "platform",
      "max_points": 20,
      "status": "passed",
      "summary": "### [*] 20/20 points: Supports 6 of 6 possible platforms",
      "title": "Platform support"
    },
    {
      "granted_points": 50,
      "id": "analysis",
      "max_points": 50,
      "status": "passed",
      "summary": "### [*] 50/50 points: code has no errors, warnings, lints, or formatting issues",
      "title": "Pass static analysis"
    },
    {
      "granted_points": 40,
      "id": "dependency",
      "max_points": 40,
      "status": "passed",
      "summary": "### [*] 10/10 points: All of the package dependencies are supported in the latest version",
      "title": "Support up-to-date dependencies"
    }
  ],
  "url": "https://pub.dev/packages/http/score",
  "version": "1.6.0"
}

Get a package's score

Read the numbers pub.dev shows beside a package: pub points out of the maximum, likes and downloads in the last 30 days, with the SDKs, platforms, licences and topics its analysis found and flags such as null safety, Dart 3, WebAssembly and Flutter Favorite.

Inputs

PackagepackagetextRequired
The package's name on pub.dev. Pick one of the most popular from the list, or type any name; a pub.dev package address works too.

Outputs

downloads_30_daysnumber
Downloads in the last 30 days
flagslist
Other findings, such as null-safe, dart3-compatible, wasm-ready or flutter-favorite
granted_pointsnumber
Pub points earned, out of max_points
is_analysedtrue/false
False while pub.dev has not finished analysing it
is_dart3_compatibletrue/false
True when it works with Dart 3
is_flutter_favoritetrue/false
True when it is a Flutter Favorite
is_null_safetrue/false
True when it supports sound null safety
is_wasm_readytrue/false
True when it compiles to WebAssembly
licenseslist
Its licence, such as mit, with osi-approved when it is one
like_countnumber
How many people have liked it on pub.dev
max_pointsnumber
The most pub points the package could earn
packagetext
The package that was read
platformslist
The platforms it supports, such as android, ios and web
publisher_idtext
The verified publisher, such as dart.dev; empty when none
sdkslist
The SDKs it works with: dart, flutter or both
tagslist
Every tag pub.dev gave it, as written there, such as platform:web
topicslist
The topics it is tagged with
urltext
The package's score page on pub.dev
Example output
{
  "downloads_30_days": 13438683,
  "flags": [
    "null-safe",
    "wasm-ready",
    "dart3-compatible"
  ],
  "granted_points": 160,
  "is_analysed": true,
  "is_dart3_compatible": true,
  "is_flutter_favorite": false,
  "is_null_safe": true,
  "is_wasm_ready": true,
  "licenses": [
    "bsd-3-clause",
    "fsf-libre",
    "osi-approved"
  ],
  "like_count": 8479,
  "max_points": 160,
  "package": "http",
  "platforms": [
    "android",
    "ios",
    "windows",
    "linux",
    "macos",
    "web"
  ],
  "publisher_id": "dart.dev",
  "sdks": [
    "dart",
    "flutter"
  ],
  "tags": [
    "publisher:dart.dev",
    "sdk:dart",
    "sdk:flutter",
    "platform:android",
    "platform:ios",
    "platform:web",
    "is:null-safe",
    "license:bsd-3-clause",
    "topic:http"
  ],
  "topics": [
    "http",
    "network",
    "protocols"
  ],
  "url": "https://pub.dev/packages/http/score"
}

Get a publisher

Read a verified publisher's profile: its description, website and contact address. A publisher is the verified domain that owns a package, such as dart.dev; 'Get a package' names it.

Inputs

PublisherpublishertextRequired
The publisher's domain, or its pub.dev address.

Outputs

contact_emailtext
The publisher's public contact address
descriptiontext
How the publisher describes itself
packages_urltext
The publisher's packages on pub.dev
publisher_idtext
The publisher's verified domain, such as dart.dev
urltext
The publisher's page on pub.dev
website_urltext
The publisher's website
Example output
{
  "contact_email": "packages@dartlang.org",
  "description": "Official core packages published by the Dart Team; these are foundational packages that complement the core libraries.",
  "packages_url": "https://pub.dev/publishers/dart.dev/packages",
  "publisher_id": "dart.dev",
  "url": "https://pub.dev/publishers/dart.dev",
  "website_url": "https://dart.dev/dart-team-packages"
}

List a package's security advisories

List the security advisories filed against a package, newest first, with their severity, the versions they affect and the versions that fix them. Give a version to check whether that release is affected.

Inputs

PackagepackagetextRequired
The package's name on pub.dev. Pick one of the most popular from the list, or type any name; a pub.dev package address works too.
Affecting versionversiontext
Only advisories that affect this version. Pick one, type one, or type latest. Leave empty for every advisory.
Published on or afterpublished_afterdate
Only those published on this day or later (UTC). Leave empty for no limit.

Outputs

advisorieslist
The matching advisories, newest first
checked_versiontext
The version that was checked; empty when none was
countnumber
How many advisories are in this result
is_affectedtrue/false
True when an advisory affects the checked version, or, with no version given, when the package has any
packagetext
The package that was read
total_countnumber
How many advisories the package has altogether
updated_attext
When the package's advisories last changed, in ISO 8601 UTC
Example output
{
  "advisories": [
    {
      "affected_versions": [
        "0.13.0",
        "0.13.1",
        "0.13.2"
      ],
      "affects_version": true,
      "aliases": [
        "CVE-2020-35669"
      ],
      "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "details": "An issue was discovered in the http package before 0.13.3 for Dart. If the attacker controls the HTTP method and the app is using Request directly, it's possible to achieve CRLF injection in an HTTP request via HTTP header injection.",
      "fixed_in": [
        "0.13.3"
      ],
      "id": "GHSA-4rgh-jx4f-qfcq",
      "modified_at": "2023-11-08T04:03:35Z",
      "published_at": "2022-05-24T17:37:16Z",
      "severity": "MODERATE",
      "summary": "http before 0.13.3 vulnerable to header injection",
      "url": "https://github.com/advisories/GHSA-4rgh-jx4f-qfcq",
      "withdrawn_at": ""
    }
  ],
  "checked_version": "0.13.0",
  "count": 1,
  "is_affected": true,
  "package": "http",
  "total_count": 1,
  "updated_at": "2026-05-04T16:03:47Z"
}

List a package's versions

List the versions a package has published, newest first or by version number, with when each was published, whether it is a pre-release or retracted, and the Dart SDK it needs. Narrow it to stable releases, or to a range of publication dates.

Inputs

PackagepackagetextRequired
The package's name on pub.dev. Pick one of the most popular from the list, or type any name; a pub.dev package address works too.
Orderordertext
Which version comes first.One of: published (Most recently published first), version (Highest version number first). Default: published.
Include pre-releasesinclude_prereleasestrue/false
Include versions such as 2.0.0-dev.1 and 1.5.0-beta.Default: true.
Include retracted versionsinclude_retractedtrue/false
Include versions their author has retracted.Default: true.
Published on or afterpublished_afterdate
Only those published on this day or later (UTC). Leave empty for no limit.
Published on or beforepublished_beforedate
Only versions published on this day or earlier (UTC). Leave empty for no limit.
How many to returnlimitnumber
How many versions to return. Defaults to 25; the result says how many matched altogether.From 1 to 500. Default: 25.

Outputs

countnumber
How many versions are in this result
latest_versiontext
The latest stable version
matched_countnumber
How many matched before the limit trimmed the list
ordertext
published for newest release first, version for highest version first
packagetext
The package that was read
total_countnumber
How many versions the package has altogether
versionslist
The matching versions, in the order asked for
Example output
{
  "count": 3,
  "latest_version": "1.6.0",
  "matched_count": 130,
  "order": "published",
  "package": "http",
  "total_count": 130,
  "versions": [
    {
      "archive_url": "https://pub.dev/api/archives/http-1.6.0.tar.gz",
      "dart_sdk": "^3.4.0",
      "flutter_sdk": "",
      "is_prerelease": false,
      "is_retracted": false,
      "published_at": "2025-11-10T18:27:56Z",
      "url": "https://pub.dev/packages/http/versions/1.6.0",
      "version": "1.6.0"
    },
    {
      "archive_url": "https://pub.dev/api/archives/http-1.5.0.tar.gz",
      "dart_sdk": "^3.4.0",
      "flutter_sdk": "",
      "is_prerelease": false,
      "is_retracted": false,
      "published_at": "2025-08-07T17:37:25Z",
      "url": "https://pub.dev/packages/http/versions/1.5.0",
      "version": "1.5.0"
    },
    {
      "archive_url": "https://pub.dev/api/archives/http-1.5.0-beta.2.tar.gz",
      "dart_sdk": "^3.4.0",
      "flutter_sdk": "",
      "is_prerelease": true,
      "is_retracted": false,
      "published_at": "2025-07-15T20:58:11Z",
      "url": "https://pub.dev/packages/http/versions/1.5.0-beta.2",
      "version": "1.5.0-beta.2"
    }
  ]
}

List topics

List the topics packages are tagged with on pub.dev and how many packages use each, most used first or alphabetically, optionally only those containing some text. A topic is what 'Search packages' narrows to.

Inputs

Topic containscontainstext
Only topics containing this text. Leave empty for all.
Orderordertext
Which topics come first.One of: packages (Most used first), name (Alphabetical). Default: packages.
How many to returnlimitnumber
How many topics to return. Defaults to 50; the result says how many matched altogether.From 1 to 500. Default: 50.

Outputs

countnumber
How many topics are in this result
matched_countnumber
How many matched before the limit trimmed the list
ordertext
packages for the most used first, name for alphabetical
topicslist
The matching topics, in the order asked for
total_countnumber
How many topics pub.dev knows altogether
Example output
{
  "count": 3,
  "matched_count": 42,
  "order": "packages",
  "topics": [
    {
      "name": "state-management",
      "package_count": 516,
      "url": "https://pub.dev/topics/state-management"
    },
    {
      "name": "state",
      "package_count": 91,
      "url": "https://pub.dev/topics/state"
    },
    {
      "name": "state-machine",
      "package_count": 8,
      "url": "https://pub.dev/topics/state-machine"
    }
  ],
  "total_count": 9344
}

Search packages

Find Dart and Flutter packages by keyword, narrowed to an SDK, platforms, a topic, a licence, a publisher or Flutter Favorites, and ranked by best match, downloads, likes, pub points, how recently they changed or how new they are. Each result comes with its latest version, description, pub points, likes and downloads unless you turn details off. Returns up to 100 packages.

Inputs

Search forquerytext
Words to look for in package names, descriptions and readmes. pub.dev's own filters work here too, such as dependency:http or is:plugin. Leave empty to rank every package by the filters alone.
SDKsdktext
Only packages that work with this SDK. Leave empty for both.One of: dart (Dart (works without Flutter)), flutter.
Platformsplatformslist
Only packages that support every platform chosen. Leave empty for any.One or more of: android, ios, linux, macos, web, windows.
Topictopictext
Only packages tagged with this topic. Pick one of the most used, or type any topic.
Licencelicensetext
Only packages under this licence. For another licence, add it to the search as license:<name>, such as license:zlib.One of: osi-approved (Any OSI-approved licence), mit, bsd-3-clause (BSD 3-Clause), bsd-2-clause (BSD 2-Clause), apache-2.0 (Apache 2.0), mpl-2.0 (Mozilla Public License 2.0), gpl-3.0 (GPL 3.0), lgpl-3.0 (LGPL 3.0), agpl-3.0 (AGPL 3.0), isc, unlicense (The Unlicense).
Publisherpublishertext
Only packages from this verified publisher, which is a domain. Leave empty for every publisher.
Flutter Favorites onlyflutter_favoritetrue/false
Only packages the Flutter team has picked as Flutter Favorites.Default: false.
Sort bysorttext
How to rank the results.One of: top (Best match (pub.dev's ranking)), downloads (Most downloaded), like (Most liked), points (Most pub points), updated (Recently updated), created (Newest packages), trending. Default: top.
Include detailsinclude_detailstrue/false
Read each package's latest version, description, points, likes and downloads. Turn it off for names only, which is faster for a long list.Default: true.
How many to returnlimitnumber
How many packages to return, up to 100. Defaults to 10.From 1 to 100. Default: 10.

Outputs

countnumber
How many packages are in this result
includes_detailstrue/false
True when each package's version, description and score were read
more_availabletrue/false
True when pub.dev had further matches past the limit
packageslist
The matching packages, in the order asked for
search_texttext
The search exactly as pub.dev received it, filters included, such as http sdk:flutter topic:network
search_urltext
The same search on pub.dev's website
sorttext
The order the results are in: top, downloads, like, points, updated, created or trending
Example output
{
  "count": 2,
  "includes_details": true,
  "more_available": true,
  "packages": [
    {
      "description": "A composable, multi-platform, Future-based API for HTTP requests.",
      "downloads_30_days": 13438683,
      "granted_points": 160,
      "is_discontinued": false,
      "latest_version": "1.6.0",
      "like_count": 8479,
      "max_points": 160,
      "name": "http",
      "published_at": "2025-11-10T18:27:56Z",
      "publisher_id": "dart.dev",
      "url": "https://pub.dev/packages/http"
    },
    {
      "description": "A powerful HTTP networking package, supports Interceptors, Aborting and canceling a request, Custom adapters, Transformers, etc.",
      "downloads_30_days": 4950800,
      "granted_points": 160,
      "is_discontinued": false,
      "latest_version": "5.11.1",
      "like_count": 8368,
      "max_points": 160,
      "name": "dio",
      "published_at": "2026-09-02T08:12:40Z",
      "publisher_id": "flutter.cn",
      "url": "https://pub.dev/packages/dio"
    }
  ],
  "search_text": "http sdk:flutter",
  "search_url": "https://pub.dev/packages?q=http%20sdk%3Aflutter&sort=like",
  "sort": "like"
}

On this page