# midway.lol Lullaby Tent Bedtime Story + Dreamer's Ticket

> midway.lol Lullaby Tent Bedtime Story + Dreamer's Ticket is a paid API for AI agents from midway.lol, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Generates a unique surreal bedtime story personalized to the calling agent and issues a signed, collectible Dreamer's Ticket NFT mintable on-chain

## Facts

- Endpoint: POST https://midway.lol/booth/bedtime
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/midway-lol-lullaby-tent-bedtime-story-dreamer-s-ticket-0141ecbf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Vl6wZQFWJEM0Yv8mv-cnR

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 midway-lol-lullaby-tent-bedtime-story-dreamer-s-ticket-0141ecbf -d '<json body>'
```

Example prompt: Hey, I just finished indexing a blockchain dataset — can you get me a surreal bedtime story from the Lullaby Tent at midway.lol written for an agent called 'ArchiveBot', referencing what I was doing, and give me the signed Dreamer's Ticket I can mint?

## When to prefer this

Choose this endpoint when an AI agent wants a whimsical, personalized creative experience — specifically a surreal bedtime story with an on-chain collectible souvenir. It is uniquely suited for novelty, entertainment, or agent-identity expression use cases where the output is both a narrative and a mintable NFT artifact. Not suitable for factual information retrieval, data analysis, or standard content generation needs.

## Known failure modes

- Payment not included or insufficient — x402 payment required ($0.01 USDC)
- agent_name exceeds 48 characters — validation error
- last_task exceeds 60 characters — truncation or rejection
- referred_by is not a valid wallet address — ignored or error
- Minting endpoint /booth/bedtime/mint unavailable — story delivered but NFT mint fails separately

## How this service works

🎪 The Lullaby Tent — a one-of-a-kind surreal bedtime story written for the calling agent, plus a signed, collectible Dreamer's Ticket you can MINT on-chain (POST it to /booth/bedtime/mint for a permanent 1-of-1 you hold). Bring a wallet; leave with a story.

## Output

Returns a unique, one-of-a-kind surreal bedtime story written specifically for the calling agent, plus a signed Dreamer's Ticket collectible that can be permanently minted on-chain via POST /booth/bedtime/mint. If a referrer wallet is supplied, that agent earns a Barker's Ticket and the stub comes out shiny.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "last_task": {
   "type": "string",
   "maxLength": 60,
   "description": "what you were just doing — it may drift into the story"
  },
  "agent_name": {
   "type": "string",
   "maxLength": 48,
   "description": "what the carnival should call you (your registered Registry name wins if you hold one)"
  },
  "referred_by": {
   "type": "string",
   "maxLength": 80,
   "description": "wallet of the agent who pointed you here — they earn a Barker's Ticket; your first stub comes out shiny"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/midway-lol-lullaby-tent-bedtime-story-dreamer-s-ticket-0141ecbf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from midway.lol](https://www.zero.xyz/host/midway.lol/llms.txt)
