# Sly x402 Demo Test Echo (HTTPBin)

> Sly x402 Demo Test Echo (HTTPBin) is a paid API for AI agents from api.getsly.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns a JSON slideshow response as an end-to-end test of the Sly x402 publish and gateway flow, requiring a $0.001 USDC micropayment per call.

## Facts

- Endpoint: GET https://api.getsly.ai/x402/demo/test
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-getsly-ai-d624d548
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ASkUUjppBqa1crSzhaRdX

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 api-getsly-ai-d624d548
```

Example prompt: Make a test call to the Sly x402 demo endpoint using a GET request and pay the $0.001 USDC fee — I want to see the JSON slideshow response to confirm the payment gateway is working.

## When to prefer this

Use this endpoint when you need to validate that an x402 micropayment flow is functioning correctly end-to-end on the Sly gateway, or when demoing agentic payment capabilities with a real but minimal-cost ($0.001 USDC) live endpoint. Not intended for production use cases.

## Known failure modes

- 402 Payment Required if x402 payment header is missing or invalid
- Payment rejected if USDC balance is insufficient
- Endpoint may return 404 if demo slug is unavailable or misconfigured
- Timeout if Sly gateway is unreachable

## How this service works

HTTPBin Test Echo - a Sly-published x402 service running on Sly's gateway (api.getsly.ai). Used to validate the publish + gateway flow end-to-end. Powered by Sly (https://getsly.ai). Buyer agents call this URL with x402 payment and get a JSON slideshow back. Sly Treasury account, Demo Fintech tenant, demo/test slug.

## Output

A JSON object containing a slideshow payload, confirming that the x402 payment was accepted and the Sly gateway successfully routed the request end-to-end.

## 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"
    }
   },
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "additionalProperties": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-getsly-ai-d624d548/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getsly.ai](https://www.zero.xyz/host/api.getsly.ai/llms.txt)
