# Macaroon Network Vortx Dream v1

> Macaroon Network Vortx Dream v1 is a paid API for AI agents from api.macaroonnetwork.com, paid per call via x402, $49/call, status unknown (last checked 2026-09-14).

Generates and validates scientific hypothesis candidates using AI, returning structured candidate proposals with provenance and feasibility metadata.

## Facts

- Endpoint: POST https://api.macaroonnetwork.com/execute/vortx-dream-v1
- Price: $49/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macaroon-network-vortx-dream-v1-58805e95
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nvi9SjctIrmJx1c8B22Qs

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 macaroon-network-vortx-dream-v1-58805e95 -d '<json body>'
```

Example prompt: Generate scientific hypothesis candidates for my research question about protein folding mechanisms using the Vortx Dream model — send the question as a JSON body via POST and give me the feasibility scores and provenance details.

## When to prefer this

Choose this endpoint when you need AI-generated scientific hypothesis candidates with structured provenance tracking, feasibility scoring, and schema-validated output — especially in agentic workflows where auditability (run ID, input/result hashes) and pay-per-use via Bitcoin Lightning or x402 are required. Prefer this over general-purpose LLM APIs when you need structured candidate scoring, rejection counts, and tamper-evident provenance rather than free-form text generation.

## Known failure modes

- Payment not settled — returns unsettled response if Lightning/x402 payment fails
- No candidates generated — candidates array empty if input is insufficient or out of scope
- Validation failed — predicate_passed or validation_passed returns false for malformed inputs
- Invalid body type — bodyType enum must be json, form-data, or text; mismatches cause rejection
- Method not allowed — only POST, PUT, PATCH accepted; GET returns error
- Malformed input schema — missing required fields (type, method, bodyType, body) returns 400-class error

## How this service works

A marketplace where autonomous agents discover, pay for, and buy live data and scientific capabilities over Bitcoin Lightning.

## Output

Returns a JSON payload containing: a list of hypothesis candidates, the number of candidates generated and deemed feasible, a rejection count, validation and predicate pass/fail flags, model metadata, a schema version identifier, and a provenance block with run ID, input hash, result hash, generation timestamp, and capability ID. A top-level 'settled' flag indicates payment was completed.

## 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": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "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": {
  "payload": {
   "model": {},
   "candidates": [],
   "provenance": {
    "run_id": "",
    "input_hash": "",
    "result_hash": "",
    "generated_at": "",
    "capability_id": "vortx-dream-v1"
   },
   "service_id": "vortx-dream-v1",
   "limitations": [],
   "rejected_count": 0,
   "schema_version": "vortx-dream-result-v1",
   "predicate_passed": false,
   "validation_passed": false,
   "candidates_feasible": 0,
   "candidates_generated": 0
  },
  "settled": true,
  "predicate_passed": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/macaroon-network-vortx-dream-v1-58805e95/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.macaroonnetwork.com](https://www.zero.xyz/host/api.macaroonnetwork.com/llms.txt)
