# pub.dev

> 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.

App · 11 actions. Web page: https://docs.lodol.com/docs/integrations/pub-dev

## Actions

### 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**

- Name (`name`, text, required): The package name to check.

**Outputs**

- `could_publish` (true/false): True when the name is free and valid; pub.dev can still refuse a name too close to an existing one
- `description` (text): That package's description; empty when free
- `is_taken` (true/false): True when a package already has this name
- `is_valid` (true/false): True when pub accepts it as the name of a new package
- `latest_version` (text): The latest version of the package using it; empty when free
- `name` (text): The name that was checked
- `problem` (text): Why pub would refuse the name; empty when it would not
- `url` (text): That package's page on pub.dev; empty when free

**Example output**

```json
{
  "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**

- Package (`package`, text, required): 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_at` (text): When its security advisories last changed, in ISO 8601 UTC; empty when never
- `api_docs_url` (text): The package's API reference on pub.dev
- `archive_sha256` (text): The archive's SHA-256 checksum
- `archive_url` (text): Where to download the latest version's archive
- `changelog_url` (text): The package's changelog on pub.dev
- `dart_sdk` (text): The Dart SDK versions it supports, such as ^3.4.0
- `dependencies` (list): What the latest version depends on
- `description` (text): The package's own one-line description
- `dev_dependencies` (list): What it needs only for development and tests
- `documentation` (text): A documentation site the pubspec gives; often empty
- `first_published_at` (text): When the first version was published, in ISO 8601 UTC
- `flutter_sdk` (text): The Flutter versions it supports; empty for a pure Dart package
- `has_verified_publisher` (true/false): True when a verified publisher owns it
- `homepage` (text): The homepage the pubspec gives; often empty
- `is_discontinued` (true/false): True when its author has marked it discontinued
- `is_unlisted` (true/false): True when it is hidden from pub.dev search
- `issue_tracker` (text): Where to report issues; often empty
- `latest_prerelease` (text): A pre-release published after the latest stable version, such as 2.0.0-dev.1; empty when there is none
- `latest_published_at` (text): When the latest stable version was published, in ISO 8601 UTC
- `latest_version` (text): The latest stable version
- `name` (text): The package's name
- `publisher_id` (text): The verified publisher, such as dart.dev; empty when none
- `replaced_by` (text): The package its author recommends instead, when discontinued
- `repository` (text): The source repository the pubspec gives
- `topics` (list): The topics the package is tagged with
- `url` (text): The package's page on pub.dev
- `uses_flutter` (true/false): True when it needs Flutter rather than only Dart
- `version_count` (number): How many versions have been published

**Example output**

```json
{
  "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**

- Package (`package`, text, required): 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.
- Version (`version`, text, required): The version to read. Pick one from the list, or type a version number or latest for the newest stable release.

**Outputs**

- `api_docs_url` (text): This version's API reference on pub.dev
- `archive_sha256` (text): The archive's SHA-256 checksum
- `archive_url` (text): Where to download this version's archive
- `dart_sdk` (text): The Dart SDK versions it supports
- `dependencies` (list): What this version depends on
- `description` (text): The description this version's pubspec gives
- `dev_dependencies` (list): What it needs only for development and tests
- `executables` (list): Command-line tools it installs with dart pub global activate
- `flutter_sdk` (text): The Flutter versions it supports; often empty
- `homepage` (text): The homepage this version's pubspec gives; often empty
- `is_latest` (true/false): True when it is the latest stable version
- `is_prerelease` (true/false): True for a pre-release such as 2.0.0-dev.1
- `is_retracted` (true/false): True when its author has retracted it
- `package` (text): The package's name
- `published_at` (text): When it was published, in ISO 8601 UTC
- `repository` (text): The source repository this version's pubspec gives
- `topics` (list): The topics this version is tagged with
- `url` (text): This version's page on pub.dev
- `version` (text): The version number

**Example output**

```json
{
  "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**

- Package (`package`, text, required): 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**

- `count` (number): How many versions are listed
- `docs_url` (text): The address that always shows the latest API reference
- `latest_has_documentation` (true/false): True when the latest version's API reference exists
- `latest_version` (text): The latest stable version
- `package` (text): The package that was read
- `versions` (list): The versions pub.dev keeps API reference pages for, newest first

**Example output**

```json
{
  "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**

- Package (`package`, text, required): 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_at` (text): When it was analysed, in ISO 8601 UTC
- `analyser_version` (text): The version of pana, pub.dev's analyser, that ran
- `dart_version` (text): The Dart SDK version the analysis used
- `dependency_count` (number): How many packages it pulls in, directly or not
- `docs_status` (text): success when its API reference pages were generated
- `flutter_version` (text): The Flutter version the analysis used
- `granted_points` (number): Pub points earned, out of max_points
- `licenses` (list): The licences found in it, as SPDX identifiers such as MIT
- `max_points` (number): The most pub points the package could earn
- `package` (text): The package that was read
- `report_status` (text): success when the analysis ran to completion
- `sections` (list): How each part of the score was earned or lost
- `url` (text): The package's score page on pub.dev
- `version` (text): The version that was analysed

**Example output**

```json
{
  "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**

- Package (`package`, text, required): 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_days` (number): Downloads in the last 30 days
- `flags` (list): Other findings, such as null-safe, dart3-compatible, wasm-ready or flutter-favorite
- `granted_points` (number): Pub points earned, out of max_points
- `is_analysed` (true/false): False while pub.dev has not finished analysing it
- `is_dart3_compatible` (true/false): True when it works with Dart 3
- `is_flutter_favorite` (true/false): True when it is a Flutter Favorite
- `is_null_safe` (true/false): True when it supports sound null safety
- `is_wasm_ready` (true/false): True when it compiles to WebAssembly
- `licenses` (list): Its licence, such as mit, with osi-approved when it is one
- `like_count` (number): How many people have liked it on pub.dev
- `max_points` (number): The most pub points the package could earn
- `package` (text): The package that was read
- `platforms` (list): The platforms it supports, such as android, ios and web
- `publisher_id` (text): The verified publisher, such as dart.dev; empty when none
- `sdks` (list): The SDKs it works with: dart, flutter or both
- `tags` (list): Every tag pub.dev gave it, as written there, such as platform:web
- `topics` (list): The topics it is tagged with
- `url` (text): The package's score page on pub.dev

**Example output**

```json
{
  "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**

- Publisher (`publisher`, text, required): The publisher's domain, or its pub.dev address.

**Outputs**

- `contact_email` (text): The publisher's public contact address
- `description` (text): How the publisher describes itself
- `packages_url` (text): The publisher's packages on pub.dev
- `publisher_id` (text): The publisher's verified domain, such as dart.dev
- `url` (text): The publisher's page on pub.dev
- `website_url` (text): The publisher's website

**Example output**

```json
{
  "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**

- Package (`package`, text, required): 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 version (`version`, text): Only advisories that affect this version. Pick one, type one, or type latest. Leave empty for every advisory.
- Published on or after (`published_after`, date): Only those published on this day or later (UTC). Leave empty for no limit.

**Outputs**

- `advisories` (list): The matching advisories, newest first
- `checked_version` (text): The version that was checked; empty when none was
- `count` (number): How many advisories are in this result
- `is_affected` (true/false): True when an advisory affects the checked version, or, with no version given, when the package has any
- `package` (text): The package that was read
- `total_count` (number): How many advisories the package has altogether
- `updated_at` (text): When the package's advisories last changed, in ISO 8601 UTC

**Example output**

```json
{
  "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**

- Package (`package`, text, required): 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.
- Order (`order`, text): Which version comes first. One of: `published` (Most recently published first), `version` (Highest version number first). Default: `published`.
- Include pre-releases (`include_prereleases`, true/false): Include versions such as 2.0.0-dev.1 and 1.5.0-beta. Default: `true`.
- Include retracted versions (`include_retracted`, true/false): Include versions their author has retracted. Default: `true`.
- Published on or after (`published_after`, date): Only those published on this day or later (UTC). Leave empty for no limit.
- Published on or before (`published_before`, date): Only versions published on this day or earlier (UTC). Leave empty for no limit.
- How many to return (`limit`, number): How many versions to return. Defaults to 25; the result says how many matched altogether. From 1 to 500. Default: `25`.

**Outputs**

- `count` (number): How many versions are in this result
- `latest_version` (text): The latest stable version
- `matched_count` (number): How many matched before the limit trimmed the list
- `order` (text): published for newest release first, version for highest version first
- `package` (text): The package that was read
- `total_count` (number): How many versions the package has altogether
- `versions` (list): The matching versions, in the order asked for

**Example output**

```json
{
  "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 contains (`contains`, text): Only topics containing this text. Leave empty for all.
- Order (`order`, text): Which topics come first. One of: `packages` (Most used first), `name` (Alphabetical). Default: `packages`.
- How many to return (`limit`, number): How many topics to return. Defaults to 50; the result says how many matched altogether. From 1 to 500. Default: `50`.

**Outputs**

- `count` (number): How many topics are in this result
- `matched_count` (number): How many matched before the limit trimmed the list
- `order` (text): packages for the most used first, name for alphabetical
- `topics` (list): The matching topics, in the order asked for
- `total_count` (number): How many topics pub.dev knows altogether

**Example output**

```json
{
  "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 for (`query`, text): 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.
- SDK (`sdk`, text): Only packages that work with this SDK. Leave empty for both. One of: `dart` (Dart (works without Flutter)), `flutter`.
- Platforms (`platforms`, list): Only packages that support every platform chosen. Leave empty for any. One or more of: `android`, `ios`, `linux`, `macos`, `web`, `windows`.
- Topic (`topic`, text): Only packages tagged with this topic. Pick one of the most used, or type any topic.
- Licence (`license`, text): 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).
- Publisher (`publisher`, text): Only packages from this verified publisher, which is a domain. Leave empty for every publisher.
- Flutter Favorites only (`flutter_favorite`, true/false): Only packages the Flutter team has picked as Flutter Favorites. Default: `false`.
- Sort by (`sort`, text): 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 details (`include_details`, true/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 return (`limit`, number): How many packages to return, up to 100. Defaults to 10. From 1 to 100. Default: `10`.

**Outputs**

- `count` (number): How many packages are in this result
- `includes_details` (true/false): True when each package's version, description and score were read
- `more_available` (true/false): True when pub.dev had further matches past the limit
- `packages` (list): The matching packages, in the order asked for
- `search_text` (text): The search exactly as pub.dev received it, filters included, such as http sdk:flutter topic:network
- `search_url` (text): The same search on pub.dev's website
- `sort` (text): The order the results are in: top, downloads, like, points, updated, created or trending

**Example output**

```json
{
  "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"
}
```
