# CoCo Package Check

> CoCo Package Check is a paid API for AI agents from cocoeatsai.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-19).

Checks whether a specific software package exists and returns its latest version number

## Facts

- Endpoint: GET https://cocoeatsai.com/area4/agent/tools/package-check?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coco-package-check-2245e715
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x98N1EGpa_0_a9wUVyK2i

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 coco-package-check-2245e715
```

Example prompt: Can you check if the package called 'express' exists and what the latest version is?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call check on whether a software package exists and what its latest version is, without needing full registry metadata or download stats. Prefer this over scraping npm or PyPI directly when you need a simple boolean existence check with minimal overhead.

## Known failure modes

- Package name not provided — returns exists: false or an error
- Package does not exist in the registry — returns exists: false with no version
- Network or upstream registry timeout — may return an error or empty response
- Malformed query parameters — endpoint may return a generic error

## How this service works

Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.

## Output

Returns a JSON object with an 'exists' boolean indicating whether the package was found, and optionally a 'latest' field containing the most recent version string (e.g. '1.0.0') if the package exists.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ]
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "exists"
     ],
     "properties": {
      "exists": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "exists": true,
  "latest": "1.0.0"
 },
 "exampleNote": "Illustrative response subset; not a live observation."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coco-package-check-2245e715/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cocoeatsai.com](https://www.zero.xyz/host/cocoeatsai.com/llms.txt)
