# x402-toolbox Pub.dev Package Info

> x402-toolbox Pub.dev Package Info is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Fetches metadata and package information for a given Dart/Flutter package from pub.dev

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/dev/pubdev-package-info?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-toolbox-pub-dev-package-info-2a3c8b90
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RX-e-NuvZ-WjDMzXGD_1S

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 x402-toolbox-pub-dev-package-info-2a3c8b90
```

Example prompt: Can you look up the pub.dev package info for 'riverpod' and tell me the latest version, publisher, and a short description?

## When to prefer this

Use this endpoint when you need programmatic, pay-per-call access to pub.dev package metadata without managing API keys or accounts. Ideal for AI agents that need to quickly look up Dart or Flutter package info as part of an automated workflow, dependency check, or software research task.

## Known failure modes

- Package name not found on pub.dev — returns error or empty result
- Invalid or missing 'schema' parameter — request may fail or return unexpected data
- pub.dev API unavailable — upstream timeout or error
- Payment failure via x402 — call not executed if USDC payment not completed

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

Returns a JSON object with package metadata from pub.dev, including package name, latest version, description, publisher, homepage, and potentially dependency and score information.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-toolbox-pub-dev-package-info-2a3c8b90/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
