# x402 Hello Demo

> x402 Hello Demo is a paid API for AI agents from functions.miniup.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

A minimal demo endpoint that returns a simple OK response to verify x402 micropayment-gated HTTP access is working

## Facts

- Endpoint: GET https://functions.miniup.app/x402-hello-demo
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-hello-demo-05ecd116
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oSwnxRkV66B3H7xwXAfB2

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 x402-hello-demo-05ecd116
```

Example prompt: Can you hit the x402 Hello Demo endpoint on miniup.app to verify my micropayment setup is working and confirm I get an ok response?

## When to prefer this

Use this endpoint when you need to validate that your x402 micropayment infrastructure, wallet, or facilitator setup is working end-to-end. It is the simplest possible paid endpoint — ideal for smoke testing, onboarding demos, or confirming USDC payment flows before integrating more complex x402-gated services.

## Known failure modes

- Insufficient USDC balance causes payment failure and 402 response
- Malformed request body (non-JSON or missing required fields) returns error
- Network timeout if miniup.app functions service is unavailable
- Invalid or expired x402 payment token rejected by facilitator

## How this service works

x402 Hello Demo: 

## Output

Returns a JSON object with a boolean 'ok' field set to true, confirming the x402 micropayment was accepted and the endpoint is reachable and functional.

## 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",
     "properties": {}
    },
    "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",
     "properties": {
      "ok": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-hello-demo-05ecd116/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from functions.miniup.app](https://www.zero.xyz/host/functions.miniup.app/llms.txt)
