# CRA AGENT PyPI Package Metadata

> CRA AGENT PyPI Package Metadata is a paid API for AI agents from api.cra-agent.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Returns latest version, Python requirement, licence, dependencies, and security advisories for a PyPI package.

## Facts

- Endpoint: GET https://api.cra-agent.tech/v1/paid/packages/pypi?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/cra-agent-pypi-package-metadata-7cbce52f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_btKW6MncwDwVJd_SE47E6

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 cra-agent-pypi-package-metadata-7cbce52f
```

Example prompt: What's the latest version of the requests package on PyPI, what Python version does it require, what licence does it use, and are there any security advisories against the current release?

## When to prefer this

Use this endpoint when you need a single call to get current PyPI package metadata including security advisories, Python compatibility, and licence info — particularly useful in agentic pipelines that need to vet dependencies before installation or audit open source usage for compliance.

## Known failure modes

- Package name not found on PyPI — returns 404 or empty result
- Misspelled package name yields no match
- PyPI API unavailability causes timeout or 503
- Packages with no advisory data may return empty advisories array

## How this service works

Latest version, Python requirement, licence, dependencies and the advisories against the current release of a PyPI project.

## Output

Returns structured data including the latest version string, minimum Python version requirement, licence identifier, list of package dependencies, and any security advisories (CVEs or similar) flagged against the current release of the specified PyPI project.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cra-agent-pypi-package-metadata-7cbce52f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cra-agent.tech](https://www.zero.xyz/host/api.cra-agent.tech/llms.txt)
