Japanese dream-interpretation agent API
Japanese dream-interpretation agent API. Returns a Gemini-generated full interpretation from madoromi's curated dream-motif knowledge base (result schema agent-dream-insight.full.v1). Japanese output only. Dream text is never stored or logged. Async by default: the paid POST returns a job id in seconds; fetch the result with a plain free HTTP GET (no x402 client) at /api/agent/interpret/result/{job_id} (ready in ~15s). options.sync=true for one sync response (10-20s; client timeout 60s+).
10000 (raw units)
price
8
calls / 30d
6
unique payers
2026-09-17
updated
Provider
madoromi.fun · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x60675cc0dA2131dfD2E8B887ebf8356b2cBD701e",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"dream": "海で泳いでいる夢を見ました。",
"output_language": "ja"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"job": {
"expires_in_seconds": 3600,
"id": "6f9d2c9e-6f60-4b6a-9e1f-3ad1c2b6a111",
"poll_after_seconds": 5,
"result_schema_version": "agent-dream-insight.full.v1",
"result_url": "/api/agent/interpret/result/6f9d2c9e-6f60-4b6a-9e1f-3ad1c2b6a111",
"status": "processing",
"tier": "full"
},
"mode": "async",
"note": "Generation continues server-side. Poll result_url with a plain HTTP GET until status is done — it is free: no payment, no x402 client, no PAYMENT-SIGNATURE header needed.",
"ok": true,
"schema_version": "agent-dream-insight.job.v1"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"dream": {
"maxLength": 1600,
"minLength": 4,
"type": "string"
},
"options": {
"properties": {
"sync": {
"type": "boolean"
}
},
"type": "object"
},
"output_language": {
"enum": [
"ja"
],
"type": "string"
},
"persona": {
"type": "string"
}
},
"required": [
"dream"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"job": {
"properties": {
"expires_in_seconds": {
"type": "integer"
},
"id": {
"type": "string"
},
"poll_after_seconds": {
"type": "integer"
},
"result_schema_version": {
"type": "string"
},
"result_url": {
"type": "string"
},
"status": {
"const": "processing",
"type": "string"
},
"tier": {
"enum": [
"full",
"deep"
],
"type": "string"
}
},
"required": [
"id",
"status",
"result_url"
],
"type": "object"
},
"mode": {
"const": "async",
"type": "string"
},
"note": {
"type": "string"
},
"ok": {
"type": "boolean"
},
"schema_version": {
"const": "agent-dream-insight.job.v1",
"type": "string"
}
},
"required": [
"ok",
"schema_version",
"mode",
"job"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://madoromi.fun/api/agent/interpret/full" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://madoromi.fun/api/agent/interpret/full");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://madoromi.fun/api/agent/interpret/full")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/2457.json, and this resource appears in /discovery/resources and /discovery/search.