Japan prize & giveaway limit check (景品表示法 景品規制) for marketing agents
hodoyoku.pages.dev/api/v1/ja-premium-check
Japan prize & giveaway limit check (景品表示法 景品規制) for marketing agents: give the campaign text (e.g. 「3,000円以上ご購入で抽選で1名に5万円分のギフト券」) or structured fields and get the classification (一般懸賞 / 共同懸賞 / 総付景品・先着 / オープン懸賞), the legal top-prize and total-budget limits (20×/100,000円/2%, 300,000円/3%, 200円/20%), over-limit amounts, the カード合わせ (complete-gacha) ban, SNS follow-and-repost handling and fixes in Engli
GET
https://hodoyoku.pages.dev/api/v1/ja-premium-checkUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://hodoyoku.pages.dev/api/v1/ja-premium-check?text=%E3%83%95%E3%82%A9%E3%83%AD%E3%83%BC%EF%BC%86%E3%83%AA%E3%83%9D%E3%82%B9%E3%83%88%E3%81%A7%E6%8A%BD%E9%81%B810%E5%90%8D%E3%81%AB1%E4%B8%87%E5%86%86%E5%88%86%E3%82%AE%E3%83%95%E3%83%88%E5%88%B8&campaign_type=auto&prize_value_yen=50000&expected_sales_yen=2000000&transaction_value_yen=3000");
console.log(await res.json());Example input
{
"text": "フォロー&リポストで抽選10名に1万円分ギフト券",
"campaign_type": "auto",
"prize_value_yen": "50000",
"expected_sales_yen": "2000000",
"transaction_value_yen": "3000"
}