80trust / 100
Interpret Full
by madoromi in Other
x402 APIPassing, checked 3 h ago
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+).
POST https://madoromi.fun/api/agent/interpret/full
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 539 ms typical, 539 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://madoromi.fun/api/agent/interpret/full" \
-H "content-type: application/json" \
-d '{"dream":"海で泳いでいる夢を見ました。","output_language":"ja"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmadoromi.fun%2Fapi%2Fagent%2Finterpret%2Ffull
const res = await pay("https://madoromi.fun/api/agent/interpret/full", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"dream":"海で泳いでいる夢を見ました。","output_language":"ja"}),
});
console.log(await res.json());Example input
{
"dream": "海で泳いでいる夢を見ました。",
"output_language": "ja"
}Example output
{
"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"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 539 ms | $0.01 |
| 6 h ago | Passed | 402 | 503 ms | $0.01 |
| 11 h ago | Passed | 402 | 628 ms | $0.01 |