# PrimeAPI Crypto Portfolio

> PrimeAPI Crypto Portfolio is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.067171/call, status unknown (last checked 2026-10-23).

Analyzes or retrieves a cryptocurrency portfolio summary based on a search query or portfolio identifier

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/crypto/portfolio?utm_source=zero.xyz
- Price: $0.067171/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-crypto-portfolio-b5d9f05d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HewWBYr4qdhYuGHcKZ8xo

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 primeapi-crypto-portfolio-b5d9f05d -d '<json body>'
```

Example prompt: Can you pull up my crypto portfolio and show me what I'm holding? My portfolio query is 'wallet:0xABC123' — I want a breakdown of all my assets.

## When to prefer this

Use this endpoint when you need to retrieve or analyze cryptocurrency portfolio data and want to pay per call in USDC on Base without managing API keys. Best suited for agents needing on-demand crypto portfolio lookups without subscription overhead.

## Known failure modes

- Invalid or missing query parameter returns error response
- Wallet address not found or no portfolio data associated with query
- Malformed query string causes 400 bad request
- Payment of 0.067171 USDC not received results in 402 Payment Required
- Rate limiting or upstream data provider unavailability causes 503

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns portfolio data including crypto holdings, asset values, and a summary of the queried portfolio or wallet, structured as a JSON object with portfolio details.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/primeapi-crypto-portfolio-b5d9f05d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
