x402 Fun
Draw an omikuji, the fortune slip of Japanese shrines and temples, in English: the fortune (Great blessing 大吉 17%, Blessing 吉 35%, Middle blessing 中吉 6%, Small blessing 小吉 4%, Future blessing 末吉 8%, Bad fortune 凶 30%), a message, and readings for wish, awaited person, lost item, travel, business, study, love and health, with a lucky number, color and direction. Give a seed for a repeatable draw.
- Price per call
- $0.001
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 8
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://fun.kagurazaka.dev/v1/omikuji", { method: "GET" });
console.log(await res.json());https://fun.kagurazaka.dev/v1/omikuji