# MindPulse Sleep & Mental Health Advisor

> MindPulse Sleep & Mental Health Advisor is a paid API for AI agents from mindpulse.theaslangroupllc.com, paid per call via x402, $0.08/call, status unknown (last checked 2026-09-13).

Returns a CBT-I protocol, the sleep-mood connection explanation, and guidance on when to seek specialist help for sleep-related mental health concerns.

## Facts

- Endpoint: GET https://mindpulse.theaslangroupllc.com/api/mind/sleep
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mindpulse-sleep-mental-health-advisor-1fd61029
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l-oC8cru7WwnQI-hCH-CW

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 mindpulse-sleep-mental-health-advisor-1fd61029
```

Example prompt: I've been struggling with insomnia for a few weeks and I think it's making my depression worse — can you walk me through what CBT-I involves, explain how my sleep problems and mood are connected, and let me know whether I should be seeing a specialist?

## When to prefer this

Use this endpoint when a user needs evidence-based guidance on sleep issues in a mental health context — specifically when CBT-I protocol information, sleep-mood connection education, or specialist referral criteria are needed. Prefer this over generic wellness endpoints when the concern explicitly involves insomnia or sleep-related mood disruption.

## Known failure modes

- Endpoint may return generic guidance if no specific sleep concern context is provided
- Service may be unavailable or return a payment error if USDC balance is insufficient (x402 payment required)
- Response may not account for medical contraindications or comorbidities not described in the query

## How this service works

Sleep and mental health for mental-health and wellness agents. Returns a CBT-I protocol, the sleep-mood connection, and when to seek specialist help.

## Output

Returns structured content including a CBT-I (Cognitive Behavioral Therapy for Insomnia) protocol outline, an explanation of the bidirectional sleep-mood connection, and criteria or guidance for when to escalate to a sleep specialist or mental health professional.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "lang": {
       "type": "string",
       "description": "en | es | fr | de | zh | ja | ko | pt | ar | hi"
      },
      "concern": {
       "type": "string",
       "description": "insomnia | oversleeping | nightmares | sleep-apnea | restless-legs | jet-lag | shift-work"
      },
      "symptoms": {
       "type": "string",
       "description": "trouble falling asleep | waking at 3am | tired despite 8hrs | snoring"
      },
      "mental_health_context": {
       "type": "string",
       "description": "anxiety | depression | ptsd | none"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "errors": {
     "type": "object",
     "description": "Documented error responses, keyed by HTTP status code",
     "additionalProperties": {
      "type": "object",
      "required": [
       "description"
      ],
      "properties": {
       "example": {
        "type": "object"
       },
       "description": {
        "type": "string"
       }
      }
     }
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "diagnosis_likely": "chronic insomnia",
  "cbt_i_recommended": true,
  "sleep_hygiene_tips": [
   "Consistent wake time — even weekends",
   "No screens 60 min before bed"
  ],
  "when_to_see_doctor": "Snoring + daytime sleepiness — sleep apnea screen"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mindpulse-sleep-mental-health-advisor-1fd61029/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mindpulse.theaslangroupllc.com](https://www.zero.xyz/host/mindpulse.theaslangroupllc.com/llms.txt)
