# ForeverBetter Health Data Query

> ForeverBetter Health Data Query is a paid API for AI agents from api.foreverbetter.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Answers grounded natural-language questions over health data and analyses owned by the paying wallet.

## Facts

- Endpoint: POST https://api.foreverbetter.xyz/query
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/foreverbetter-health-data-query-557dcc9f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZJ3-qbcQItj2ndZvnI2zo

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 foreverbetter-health-data-query-557dcc9f -d '<json body>'
```

Example prompt: Ask my ForeverBetter health workspace: based on my latest biomarker and genetics analyses, what are the most significant factors affecting my metabolic health?

## When to prefer this

Use this endpoint when you need to ask an open-ended natural-language question against a user's private, wallet-scoped health data — especially when the answer should be grounded in their actual biomarker results, genetics analyses, or wearable data rather than generic health information. Prefer this over the analysis-specific endpoints (recommendations, action plan, dashboard) when the question spans multiple analyses or data types, or when the user's intent is exploratory rather than requesting a specific structured output.

## Known failure modes

- No health data or analyses found for the wallet — returns empty or error response
- Ambiguous query that cannot be resolved against available data
- Invalid or inaccessible analysis_ids provided
- Payment not attached or insufficient USDC — request rejected
- Query outside the scope of stored health context — no grounded answer available

## How this service works

Ask a grounded question across health data and analyses owned by the paying wallet.

## Output

A grounded, data-backed answer derived from the wallet-owner's personal health data and analyses, potentially referencing specific biomarker values, genetic variants, wearable readings, or prior analysis outputs.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "query"
     ],
     "properties": {
      "query": {
       "type": "string",
       "description": "Question to answer from the wallet-owned health context."
      },
      "analysis_ids": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Optional analysis IDs to focus on."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "answer": "...",
  "evidence": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foreverbetter-health-data-query-557dcc9f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.foreverbetter.xyz](https://www.zero.xyz/host/api.foreverbetter.xyz/llms.txt)
