# PrimeAPI Sleep Tracker

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

Tracks and retrieves health sleep data based on a query input

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/health/sleep/tracker?utm_source=zero.xyz
- Price: $0.063594/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-sleep-tracker-2b108d88
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NtO2YMJRgaGsIa4Wn9tI_

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-sleep-tracker-2b108d88 -d '<json body>'
```

Example prompt: Can you pull up my sleep tracking data and tell me how well I slept — I want to see my recent sleep health metrics?

## When to prefer this

Use this endpoint when you need to retrieve or analyze sleep health tracking data via a simple query string and are comfortable paying per call in USDC on Base without managing API keys.

## Known failure modes

- Missing or empty query parameter returns 400 bad request
- No sleep data found for the query returns empty result or 404
- Service unavailable returns 503
- Payment not received returns 402 payment required
- Invalid query format returns validation error

## 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 sleep tracking data and health metrics based on the provided query, likely including sleep duration, quality indicators, and related health information.

## 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-sleep-tracker-2b108d88/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)
