# pub.dev Dart/Flutter Package Search

> pub.dev Dart/Flutter Package Search is a paid API for AI agents from clonecho.builda.company, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Searches pub.dev for Dart and Flutter packages by keyword query, returning matching package metadata as JSON.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/s/pubdev-search
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pub-dev-dart-flutter-package-search-3d3d35dd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QTA3F95_LN5aJNR1C5fB4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability pub-dev-dart-flutter-package-search-3d3d35dd -d '<json body>'
```

Example prompt: Search pub.dev for Flutter packages related to 'state management' and show me the top results with descriptions.

## When to prefer this

Use this endpoint when an agent needs to discover Dart or Flutter packages on pub.dev by keyword — ideal for helping developers find libraries, plugins, or tools available in the Dart ecosystem without scraping pub.dev directly.

## Known failure modes

- Empty or missing q parameter returns no results or error
- Query with no matching packages returns empty results list
- pub.dev upstream unavailable causes failure or timeout
- Malformed query string may yield unexpected results
- Payment not included or invalid returns 402 error

## How this service works

Search pub.dev for Dart/Flutter packages (param q = query). Query: ?q= Returns JSON.

## Output

A JSON array of pub.dev package search results matching the query, including package names, descriptions, and related metadata for Dart/Flutter packages found on pub.dev.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pub-dev-dart-flutter-package-search-3d3d35dd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clonecho.builda.company](https://www.zero.xyz/host/clonecho.builda.company/llms.txt)
