{"openapi":"3.1.0","info":{"title":"Micro Data API Factory — Broker","version":"v1","description":"Official single-host gateway for JP Local Pack, JP Data Enrich, and JP Grants. Wallet-free preview at /preview/v1/...; marketplace API-key path at /marketplace/rapidapi/v1/... (= pay through marketplace, not crypto); x402 USDC on Base at /v1/... for agent-native buyers. x402 is one option, not the only one. Production access is not gated on x402. Total public-sold endpoints described: 21 (× 3 surface paths each: preview / marketplace / x402-direct).","contact":{"name":"Micro Data API Factory","url":"https://api.kasanegi.com"}},"servers":[{"url":"https://api.kasanegi.com"}],"tags":[{"name":"JP Local Pack","description":"JP Local Pack endpoint family (/v1/local/...)."},{"name":"JP Data Enrich","description":"JP Data Enrich endpoint family (/v1/enrich/...)."},{"name":"JP Grants","description":"JP Grants endpoint family (/v1/grants/...)."}],"paths":{"/keys/create":{"post":{"summary":"Issue an API key (no wallet, no signup). Auto-grants active free-trial credit.","responses":{"201":{"description":"Key issued; api_key returned ONCE."}}}},"/keys/status":{"get":{"summary":"Inspect balance / entitlements / recent usage.","parameters":[{"name":"X-API-Key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Key state."},"401":{"description":"Missing/invalid key."}}}},"/broker/call":{"post":{"summary":"Call a product endpoint via broker (metered against trial credit).","parameters":[{"name":"X-API-Key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Upstream JSON; balance decremented."}}}},"/feedback":{"post":{"summary":"Record anonymous buyer/agent feedback for a current sales product."}},"/feedback/schema":{"get":{"summary":"Describe accepted feedback fields and privacy boundary."}},"/products":{"get":{"summary":"List current sales products with gateway preview/production URLs."}},"/products/{id}":{"get":{"summary":"Product detail (registry-derived).","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]}},"/product-status.json":{"get":{"summary":"Machine-readable release and current product status."}},"/.well-known/broker-manifest.json":{"get":{"summary":"Broker manifest for discovery."}},"/.well-known/x402":{"get":{"summary":"Origin-level x402 auto-discovery (= every public-sold endpoint with network/asset/payTo/amount)."}},"/supported":{"get":{"summary":"x402scan-compatible alias of /.well-known/x402."}},"/llms.txt":{"get":{"summary":"LLM-readable quick start."}},"/portal.md":{"get":{"summary":"Markdown buyer portal for LLM readers."}},"/v1/local/combined/payroll-summary":{"get":{"summary":"Japan monthly payroll combo: deductions + social insurance + holiday + tax in one call.","description":"Japan monthly payroll combo: deductions + social insurance + holiday + tax in one call. Source: NTA monthly withholding table (FY2026); Kyokai Kenpo prefectural rates; Cabinet Office national holidays. Freshness: FY2026 master tables; verify with sharoushi for binding determinations. Pricing: $0.015 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/local/combined/payroll-summary","tags":["JP Local Pack"],"operationId":"paid_local_payroll_summary","parameters":[{"name":"monthly_salary","in":"query","required":true,"description":"Monthly salary in JPY (integer). 0 .. 99999999.","schema":{"type":"integer","minimum":0,"maximum":99999999}},{"name":"age","in":"query","required":false,"description":"Employee age (15-100).","schema":{"type":"integer","minimum":15,"maximum":100,"default":40}},{"name":"dependents","in":"query","required":false,"description":"Number of dependents (0-10).","schema":{"type":"integer","minimum":0,"maximum":10,"default":0}},{"name":"pref_code","in":"query","required":false,"description":"JIS X 0401 2-digit prefecture code (01-47). Optional.","schema":{"type":"string","pattern":"^(0[1-9]|[1-3][0-9]|4[0-7])$"}},{"name":"year_month","in":"query","required":false,"description":"Target year-month YYYY-MM. Defaults to current month.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}$"}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paid response — Japan monthly payroll combo: deductions + social insurance + holiday + tax in one call.","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"15000","price_usdc":"$0.015","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/local/combined/payroll-summary","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/local/combined/payroll-summary","x-product-id":"jp-local-pack","x-endpoint-id":"local-payroll-summary","x-lifecycle":"paid_open"}},"/preview/v1/local/combined/payroll-summary":{"get":{"summary":"Japan monthly payroll combo: deductions + social insurance + holiday + tax in one call. (preview, free, no wallet)","description":"Wallet-free preview of: Japan monthly payroll combo: deductions + social insurance + holiday + tax in one call. Same handler as the paid production path; for evaluation only.","tags":["JP Local Pack","preview"],"operationId":"preview_local_payroll_summary","parameters":[{"name":"monthly_salary","in":"query","required":true,"description":"Monthly salary in JPY (integer). 0 .. 99999999.","schema":{"type":"integer","minimum":0,"maximum":99999999}},{"name":"age","in":"query","required":false,"description":"Employee age (15-100).","schema":{"type":"integer","minimum":15,"maximum":100,"default":40}},{"name":"dependents","in":"query","required":false,"description":"Number of dependents (0-10).","schema":{"type":"integer","minimum":0,"maximum":10,"default":0}},{"name":"pref_code","in":"query","required":false,"description":"JIS X 0401 2-digit prefecture code (01-47). Optional.","schema":{"type":"string","pattern":"^(0[1-9]|[1-3][0-9]|4[0-7])$"}},{"name":"year_month","in":"query","required":false,"description":"Target year-month YYYY-MM. Defaults to current month.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}$"}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Preview response — Japan monthly payroll combo: deductions + social insurance + holiday + tax in one call.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-local-pack","x-endpoint-id":"local-payroll-summary","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/local/combined/payroll-summary":{"get":{"summary":"Japan monthly payroll combo: deductions + social insurance + holiday + tax in one call. (marketplace, API-key path)","description":"Japan monthly payroll combo: deductions + social insurance + holiday + tax in one call. (marketplace API-key path; pay through marketplace, not crypto). Source: NTA monthly withholding table (FY2026); Kyokai Kenpo prefectural rates; Cabinet Office national holidays. Freshness: FY2026 master tables; verify with sharoushi for binding determinations. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Local Pack","marketplace"],"operationId":"marketplace_local_payroll_summary","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"monthly_salary","in":"query","required":true,"description":"Monthly salary in JPY (integer). 0 .. 99999999.","schema":{"type":"integer","minimum":0,"maximum":99999999}},{"name":"age","in":"query","required":false,"description":"Employee age (15-100).","schema":{"type":"integer","minimum":15,"maximum":100,"default":40}},{"name":"dependents","in":"query","required":false,"description":"Number of dependents (0-10).","schema":{"type":"integer","minimum":0,"maximum":10,"default":0}},{"name":"pref_code","in":"query","required":false,"description":"JIS X 0401 2-digit prefecture code (01-47). Optional.","schema":{"type":"string","pattern":"^(0[1-9]|[1-3][0-9]|4[0-7])$"}},{"name":"year_month","in":"query","required":false,"description":"Target year-month YYYY-MM. Defaults to current month.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}$"}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Marketplace response — Japan monthly payroll combo: deductions + social insurance + holiday + tax in one call.. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-local-pack","x-endpoint-id":"local-payroll-summary","x-lifecycle":"paid_open"}},"/v1/local/payroll/calc-by-salary":{"get":{"summary":"Japan payroll deduction calc by monthly salary: tax + social insurance.","description":"Japan payroll deduction calc by monthly salary: tax + social insurance. Source: NTA FY2026 master; Kyokai Kenpo. Freshness: FY2026. Pricing: $0.01 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/local/payroll/calc-by-salary","tags":["JP Local Pack"],"operationId":"paid_local_payroll_calc","parameters":[{"name":"monthly_salary","in":"query","required":true,"description":"Monthly salary JPY 0-99999999.","schema":{"type":"integer","minimum":0,"maximum":99999999}},{"name":"dependents","in":"query","required":false,"description":"Dependents count (0-10).","schema":{"type":"integer","minimum":0,"maximum":10,"default":0}},{"name":"age","in":"query","required":false,"description":"Employee age 15-100.","schema":{"type":"integer","minimum":15,"maximum":100,"default":40}},{"name":"pref_code","in":"query","required":false,"description":"JIS X 0401 2-digit prefecture code (01-47). Optional.","schema":{"type":"string","pattern":"^(0[1-9]|[1-3][0-9]|4[0-7])$"}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paid response — Japan payroll deduction calc by monthly salary: tax + social insurance.","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"10000","price_usdc":"$0.01","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/local/payroll/calc-by-salary","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/local/payroll/calc-by-salary","x-product-id":"jp-local-pack","x-endpoint-id":"local-payroll-calc","x-lifecycle":"paid_open"}},"/preview/v1/local/payroll/calc-by-salary":{"get":{"summary":"Japan payroll deduction calc by monthly salary: tax + social insurance. (preview, free, no wallet)","description":"Wallet-free preview of: Japan payroll deduction calc by monthly salary: tax + social insurance. Same handler as the paid production path; for evaluation only.","tags":["JP Local Pack","preview"],"operationId":"preview_local_payroll_calc","parameters":[{"name":"monthly_salary","in":"query","required":true,"description":"Monthly salary JPY 0-99999999.","schema":{"type":"integer","minimum":0,"maximum":99999999}},{"name":"dependents","in":"query","required":false,"description":"Dependents count (0-10).","schema":{"type":"integer","minimum":0,"maximum":10,"default":0}},{"name":"age","in":"query","required":false,"description":"Employee age 15-100.","schema":{"type":"integer","minimum":15,"maximum":100,"default":40}},{"name":"pref_code","in":"query","required":false,"description":"JIS X 0401 2-digit prefecture code (01-47). Optional.","schema":{"type":"string","pattern":"^(0[1-9]|[1-3][0-9]|4[0-7])$"}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Preview response — Japan payroll deduction calc by monthly salary: tax + social insurance.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-local-pack","x-endpoint-id":"local-payroll-calc","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/local/payroll/calc-by-salary":{"get":{"summary":"Japan payroll deduction calc by monthly salary: tax + social insurance. (marketplace, API-key path)","description":"Japan payroll deduction calc by monthly salary: tax + social insurance. (marketplace API-key path; pay through marketplace, not crypto). Source: NTA FY2026 master; Kyokai Kenpo. Freshness: FY2026. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Local Pack","marketplace"],"operationId":"marketplace_local_payroll_calc","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"monthly_salary","in":"query","required":true,"description":"Monthly salary JPY 0-99999999.","schema":{"type":"integer","minimum":0,"maximum":99999999}},{"name":"dependents","in":"query","required":false,"description":"Dependents count (0-10).","schema":{"type":"integer","minimum":0,"maximum":10,"default":0}},{"name":"age","in":"query","required":false,"description":"Employee age 15-100.","schema":{"type":"integer","minimum":15,"maximum":100,"default":40}},{"name":"pref_code","in":"query","required":false,"description":"JIS X 0401 2-digit prefecture code (01-47). Optional.","schema":{"type":"string","pattern":"^(0[1-9]|[1-3][0-9]|4[0-7])$"}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Marketplace response — Japan payroll deduction calc by monthly salary: tax + social insurance.. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-local-pack","x-endpoint-id":"local-payroll-calc","x-lifecycle":"paid_open"}},"/v1/local/social-insurance/standard-remuneration":{"get":{"summary":"Japan standard-remuneration grade lookup from monthly salary.","description":"Japan standard-remuneration grade lookup from monthly salary. Source: Kyokai Kenpo standard remuneration table. Freshness: FY2026. Pricing: $0.01 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/local/social-insurance/standard-remuneration","tags":["JP Local Pack"],"operationId":"paid_local_standard_remuneration","parameters":[{"name":"monthly_salary","in":"query","required":true,"description":"Monthly salary JPY 0-99999999.","schema":{"type":"integer","minimum":0,"maximum":99999999}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paid response — Japan standard-remuneration grade lookup from monthly salary.","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"10000","price_usdc":"$0.01","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/local/social-insurance/standard-remuneration","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/local/social-insurance/standard-remuneration","x-product-id":"jp-local-pack","x-endpoint-id":"local-standard-remuneration","x-lifecycle":"paid_open"}},"/preview/v1/local/social-insurance/standard-remuneration":{"get":{"summary":"Japan standard-remuneration grade lookup from monthly salary. (preview, free, no wallet)","description":"Wallet-free preview of: Japan standard-remuneration grade lookup from monthly salary. Same handler as the paid production path; for evaluation only.","tags":["JP Local Pack","preview"],"operationId":"preview_local_standard_remuneration","parameters":[{"name":"monthly_salary","in":"query","required":true,"description":"Monthly salary JPY 0-99999999.","schema":{"type":"integer","minimum":0,"maximum":99999999}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Preview response — Japan standard-remuneration grade lookup from monthly salary.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-local-pack","x-endpoint-id":"local-standard-remuneration","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/local/social-insurance/standard-remuneration":{"get":{"summary":"Japan standard-remuneration grade lookup from monthly salary. (marketplace, API-key path)","description":"Japan standard-remuneration grade lookup from monthly salary. (marketplace API-key path; pay through marketplace, not crypto). Source: Kyokai Kenpo standard remuneration table. Freshness: FY2026. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Local Pack","marketplace"],"operationId":"marketplace_local_standard_remuneration","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"monthly_salary","in":"query","required":true,"description":"Monthly salary JPY 0-99999999.","schema":{"type":"integer","minimum":0,"maximum":99999999}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Marketplace response — Japan standard-remuneration grade lookup from monthly salary.. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-local-pack","x-endpoint-id":"local-standard-remuneration","x-lifecycle":"paid_open"}},"/v1/local/tax/consumption/rate":{"get":{"summary":"Japan consumption tax rate (= invoice system aware) lookup by date.","description":"Japan consumption tax rate (= invoice system aware) lookup by date. Source: NTA consumption tax rate. Freshness: FY2026 invoice-system-active. Pricing: $0.001 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/local/tax/consumption/rate","tags":["JP Local Pack"],"operationId":"paid_local_consumption_tax","parameters":[{"name":"date","in":"query","required":false,"description":"ISO-8601 date YYYY-MM-DD. Default current date.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paid response — Japan consumption tax rate (= invoice system aware) lookup by date.","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"1000","price_usdc":"$0.001","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/local/tax/consumption/rate","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/local/tax/consumption/rate","x-product-id":"jp-local-pack","x-endpoint-id":"local-consumption-tax","x-lifecycle":"paid_open"}},"/preview/v1/local/tax/consumption/rate":{"get":{"summary":"Japan consumption tax rate (= invoice system aware) lookup by date. (preview, free, no wallet)","description":"Wallet-free preview of: Japan consumption tax rate (= invoice system aware) lookup by date. Same handler as the paid production path; for evaluation only.","tags":["JP Local Pack","preview"],"operationId":"preview_local_consumption_tax","parameters":[{"name":"date","in":"query","required":false,"description":"ISO-8601 date YYYY-MM-DD. Default current date.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Preview response — Japan consumption tax rate (= invoice system aware) lookup by date.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-local-pack","x-endpoint-id":"local-consumption-tax","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/local/tax/consumption/rate":{"get":{"summary":"Japan consumption tax rate (= invoice system aware) lookup by date. (marketplace, API-key path)","description":"Japan consumption tax rate (= invoice system aware) lookup by date. (marketplace API-key path; pay through marketplace, not crypto). Source: NTA consumption tax rate. Freshness: FY2026 invoice-system-active. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Local Pack","marketplace"],"operationId":"marketplace_local_consumption_tax","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"date","in":"query","required":false,"description":"ISO-8601 date YYYY-MM-DD. Default current date.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Marketplace response — Japan consumption tax rate (= invoice system aware) lookup by date.. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-local-pack","x-endpoint-id":"local-consumption-tax","x-lifecycle":"paid_open"}},"/v1/local/holiday/jp":{"get":{"summary":"Japan national holiday list for a given year (2024-2027).","description":"Japan national holiday list for a given year (2024-2027). Source: Cabinet Office national holiday list. Freshness: Static for 2024-2027 window. Pricing: $0.001 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/local/holiday/jp","tags":["JP Local Pack"],"operationId":"paid_local_holiday","parameters":[{"name":"year","in":"query","required":false,"description":"Year 2024-2027. Default current year.","schema":{"type":"integer","minimum":2024,"maximum":2027}},{"name":"verbose","in":"query","required":false,"description":"Verbose flag.","schema":{"type":"string"}}],"responses":{"200":{"description":"Paid response — Japan national holiday list for a given year (2024-2027).","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"1000","price_usdc":"$0.001","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/local/holiday/jp","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/local/holiday/jp","x-product-id":"jp-local-pack","x-endpoint-id":"local-holiday","x-lifecycle":"paid_open"}},"/preview/v1/local/holiday/jp":{"get":{"summary":"Japan national holiday list for a given year (2024-2027). (preview, free, no wallet)","description":"Wallet-free preview of: Japan national holiday list for a given year (2024-2027). Same handler as the paid production path; for evaluation only.","tags":["JP Local Pack","preview"],"operationId":"preview_local_holiday","parameters":[{"name":"year","in":"query","required":false,"description":"Year 2024-2027. Default current year.","schema":{"type":"integer","minimum":2024,"maximum":2027}},{"name":"verbose","in":"query","required":false,"description":"Verbose flag.","schema":{"type":"string"}}],"responses":{"200":{"description":"Preview response — Japan national holiday list for a given year (2024-2027).","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-local-pack","x-endpoint-id":"local-holiday","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/local/holiday/jp":{"get":{"summary":"Japan national holiday list for a given year (2024-2027). (marketplace, API-key path)","description":"Japan national holiday list for a given year (2024-2027). (marketplace API-key path; pay through marketplace, not crypto). Source: Cabinet Office national holiday list. Freshness: Static for 2024-2027 window. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Local Pack","marketplace"],"operationId":"marketplace_local_holiday","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"year","in":"query","required":false,"description":"Year 2024-2027. Default current year.","schema":{"type":"integer","minimum":2024,"maximum":2027}},{"name":"verbose","in":"query","required":false,"description":"Verbose flag.","schema":{"type":"string"}}],"responses":{"200":{"description":"Marketplace response — Japan national holiday list for a given year (2024-2027).. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-local-pack","x-endpoint-id":"local-holiday","x-lifecycle":"paid_open"}},"/v1/local/houjin-lookup/by-name":{"get":{"summary":"Japan corporate-number candidate lookup from company name (= 5-mode disambiguation).","description":"Japan corporate-number candidate lookup from company name (= 5-mode disambiguation). Source: gBizINFO + brand alias map. Freshness: Near-real-time gBizINFO query. Pricing: $0.02 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/local/houjin-lookup/by-name","tags":["JP Local Pack"],"operationId":"paid_local_houjin_lookup","parameters":[{"name":"name","in":"query","required":true,"description":"Company name (Japanese or romaji).","schema":{"type":"string","pattern":"^.+$"}},{"name":"limit","in":"query","required":false,"description":"Max candidates 1-50. Default 10.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"pref","in":"query","required":false,"description":"Prefecture filter.","schema":{"type":"string","pattern":"^.+$"}},{"name":"verbose","in":"query","required":false,"description":"Verbose flag.","schema":{"type":"string"}}],"responses":{"200":{"description":"Paid response — Japan corporate-number candidate lookup from company name (= 5-mode disambiguation).","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"20000","price_usdc":"$0.02","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/local/houjin-lookup/by-name","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/local/houjin-lookup/by-name","x-product-id":"jp-local-pack","x-endpoint-id":"local-houjin-lookup","x-lifecycle":"paid_open"}},"/preview/v1/local/houjin-lookup/by-name":{"get":{"summary":"Japan corporate-number candidate lookup from company name (= 5-mode disambiguation). (preview, free, no wallet)","description":"Wallet-free preview of: Japan corporate-number candidate lookup from company name (= 5-mode disambiguation). Same handler as the paid production path; for evaluation only.","tags":["JP Local Pack","preview"],"operationId":"preview_local_houjin_lookup","parameters":[{"name":"name","in":"query","required":true,"description":"Company name (Japanese or romaji).","schema":{"type":"string","pattern":"^.+$"}},{"name":"limit","in":"query","required":false,"description":"Max candidates 1-50. Default 10.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"pref","in":"query","required":false,"description":"Prefecture filter.","schema":{"type":"string","pattern":"^.+$"}},{"name":"verbose","in":"query","required":false,"description":"Verbose flag.","schema":{"type":"string"}}],"responses":{"200":{"description":"Preview response — Japan corporate-number candidate lookup from company name (= 5-mode disambiguation).","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-local-pack","x-endpoint-id":"local-houjin-lookup","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/local/houjin-lookup/by-name":{"get":{"summary":"Japan corporate-number candidate lookup from company name (= 5-mode disambiguation). (marketplace, API-key path)","description":"Japan corporate-number candidate lookup from company name (= 5-mode disambiguation). (marketplace API-key path; pay through marketplace, not crypto). Source: gBizINFO + brand alias map. Freshness: Near-real-time gBizINFO query. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Local Pack","marketplace"],"operationId":"marketplace_local_houjin_lookup","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"name","in":"query","required":true,"description":"Company name (Japanese or romaji).","schema":{"type":"string","pattern":"^.+$"}},{"name":"limit","in":"query","required":false,"description":"Max candidates 1-50. Default 10.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"pref","in":"query","required":false,"description":"Prefecture filter.","schema":{"type":"string","pattern":"^.+$"}},{"name":"verbose","in":"query","required":false,"description":"Verbose flag.","schema":{"type":"string"}}],"responses":{"200":{"description":"Marketplace response — Japan corporate-number candidate lookup from company name (= 5-mode disambiguation).. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-local-pack","x-endpoint-id":"local-houjin-lookup","x-lifecycle":"paid_open"}},"/v1/local/houjin-number/lookup":{"get":{"summary":"Japan corporate profile by 13-digit corporate number (= gBizINFO live).","description":"Japan corporate profile by 13-digit corporate number (= gBizINFO live). Source: gBizINFO live. Freshness: Near-real-time. Pricing: $0.01 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/local/houjin-number/lookup","tags":["JP Local Pack"],"operationId":"paid_local_houjin_number","parameters":[{"name":"number","in":"query","required":true,"description":"13-digit corporate number.","schema":{"type":"string","pattern":"^\\d{13}$"}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paid response — Japan corporate profile by 13-digit corporate number (= gBizINFO live).","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"10000","price_usdc":"$0.01","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/local/houjin-number/lookup","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/local/houjin-number/lookup","x-product-id":"jp-local-pack","x-endpoint-id":"local-houjin-number","x-lifecycle":"paid_open"}},"/preview/v1/local/houjin-number/lookup":{"get":{"summary":"Japan corporate profile by 13-digit corporate number (= gBizINFO live). (preview, free, no wallet)","description":"Wallet-free preview of: Japan corporate profile by 13-digit corporate number (= gBizINFO live). Same handler as the paid production path; for evaluation only.","tags":["JP Local Pack","preview"],"operationId":"preview_local_houjin_number","parameters":[{"name":"number","in":"query","required":true,"description":"13-digit corporate number.","schema":{"type":"string","pattern":"^\\d{13}$"}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Preview response — Japan corporate profile by 13-digit corporate number (= gBizINFO live).","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-local-pack","x-endpoint-id":"local-houjin-number","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/local/houjin-number/lookup":{"get":{"summary":"Japan corporate profile by 13-digit corporate number (= gBizINFO live). (marketplace, API-key path)","description":"Japan corporate profile by 13-digit corporate number (= gBizINFO live). (marketplace API-key path; pay through marketplace, not crypto). Source: gBizINFO live. Freshness: Near-real-time. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Local Pack","marketplace"],"operationId":"marketplace_local_houjin_number","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"number","in":"query","required":true,"description":"13-digit corporate number.","schema":{"type":"string","pattern":"^\\d{13}$"}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Marketplace response — Japan corporate profile by 13-digit corporate number (= gBizINFO live).. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-local-pack","x-endpoint-id":"local-houjin-number","x-lifecycle":"paid_open"}},"/v1/local/invoice/issuer-by-name":{"get":{"summary":"Qualified invoice issuer (T-number) candidate lookup by company name.","description":"Qualified invoice issuer (T-number) candidate lookup by company name. Source: gBizINFO + NTA T-number derivation. Freshness: gBizINFO live; NTA cross-check pending API ID. Pricing: $0.02 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/local/invoice/issuer-by-name","tags":["JP Local Pack"],"operationId":"paid_local_invoice_issuer","parameters":[{"name":"name","in":"query","required":true,"description":"Company name (Japanese or romaji).","schema":{"type":"string","pattern":"^.+$"}},{"name":"limit","in":"query","required":false,"description":"Max candidates 1-50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"verbose","in":"query","required":false,"description":"Verbose flag.","schema":{"type":"string"}}],"responses":{"200":{"description":"Paid response — Qualified invoice issuer (T-number) candidate lookup by company name.","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"20000","price_usdc":"$0.02","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/local/invoice/issuer-by-name","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/local/invoice/issuer-by-name","x-product-id":"jp-local-pack","x-endpoint-id":"local-invoice-issuer","x-lifecycle":"paid_open"}},"/preview/v1/local/invoice/issuer-by-name":{"get":{"summary":"Qualified invoice issuer (T-number) candidate lookup by company name. (preview, free, no wallet)","description":"Wallet-free preview of: Qualified invoice issuer (T-number) candidate lookup by company name. Same handler as the paid production path; for evaluation only.","tags":["JP Local Pack","preview"],"operationId":"preview_local_invoice_issuer","parameters":[{"name":"name","in":"query","required":true,"description":"Company name (Japanese or romaji).","schema":{"type":"string","pattern":"^.+$"}},{"name":"limit","in":"query","required":false,"description":"Max candidates 1-50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"verbose","in":"query","required":false,"description":"Verbose flag.","schema":{"type":"string"}}],"responses":{"200":{"description":"Preview response — Qualified invoice issuer (T-number) candidate lookup by company name.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-local-pack","x-endpoint-id":"local-invoice-issuer","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/local/invoice/issuer-by-name":{"get":{"summary":"Qualified invoice issuer (T-number) candidate lookup by company name. (marketplace, API-key path)","description":"Qualified invoice issuer (T-number) candidate lookup by company name. (marketplace API-key path; pay through marketplace, not crypto). Source: gBizINFO + NTA T-number derivation. Freshness: gBizINFO live; NTA cross-check pending API ID. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Local Pack","marketplace"],"operationId":"marketplace_local_invoice_issuer","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"name","in":"query","required":true,"description":"Company name (Japanese or romaji).","schema":{"type":"string","pattern":"^.+$"}},{"name":"limit","in":"query","required":false,"description":"Max candidates 1-50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"verbose","in":"query","required":false,"description":"Verbose flag.","schema":{"type":"string"}}],"responses":{"200":{"description":"Marketplace response — Qualified invoice issuer (T-number) candidate lookup by company name.. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-local-pack","x-endpoint-id":"local-invoice-issuer","x-lifecycle":"paid_open"}},"/v1/local/invoice/issuer-registration-lookup":{"get":{"summary":"Qualified invoice issuer registration lookup by T-number.","description":"Qualified invoice issuer registration lookup by T-number. Source: NTA T-number derivation. Freshness: Static + gBizINFO cross-check. Pricing: $0.005 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/local/invoice/issuer-registration-lookup","tags":["JP Local Pack"],"operationId":"paid_local_invoice_lookup","parameters":[{"name":"number","in":"query","required":true,"description":"T-number or 13-digit corporate number.","schema":{"type":"string","pattern":"^T?\\d{13}$"}}],"responses":{"200":{"description":"Paid response — Qualified invoice issuer registration lookup by T-number.","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"5000","price_usdc":"$0.005","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/local/invoice/issuer-registration-lookup","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/local/invoice/issuer-registration-lookup","x-product-id":"jp-local-pack","x-endpoint-id":"local-invoice-lookup","x-lifecycle":"paid_open"}},"/preview/v1/local/invoice/issuer-registration-lookup":{"get":{"summary":"Qualified invoice issuer registration lookup by T-number. (preview, free, no wallet)","description":"Wallet-free preview of: Qualified invoice issuer registration lookup by T-number. Same handler as the paid production path; for evaluation only.","tags":["JP Local Pack","preview"],"operationId":"preview_local_invoice_lookup","parameters":[{"name":"number","in":"query","required":true,"description":"T-number or 13-digit corporate number.","schema":{"type":"string","pattern":"^T?\\d{13}$"}}],"responses":{"200":{"description":"Preview response — Qualified invoice issuer registration lookup by T-number.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-local-pack","x-endpoint-id":"local-invoice-lookup","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/local/invoice/issuer-registration-lookup":{"get":{"summary":"Qualified invoice issuer registration lookup by T-number. (marketplace, API-key path)","description":"Qualified invoice issuer registration lookup by T-number. (marketplace API-key path; pay through marketplace, not crypto). Source: NTA T-number derivation. Freshness: Static + gBizINFO cross-check. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Local Pack","marketplace"],"operationId":"marketplace_local_invoice_lookup","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"number","in":"query","required":true,"description":"T-number or 13-digit corporate number.","schema":{"type":"string","pattern":"^T?\\d{13}$"}}],"responses":{"200":{"description":"Marketplace response — Qualified invoice issuer registration lookup by T-number.. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-local-pack","x-endpoint-id":"local-invoice-lookup","x-lifecycle":"paid_open"}},"/v1/local/invoice/peppol-validate":{"post":{"summary":"Peppol BIS invoice XML validation (= 100KB body cap).","description":"Peppol BIS invoice XML validation (= 100KB body cap). Source: Peppol BIS Billing 3.0 schema. Freshness: Schema is static. Pricing: $0.01 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/local/invoice/peppol-validate","tags":["JP Local Pack"],"operationId":"paid_local_peppol_validate","parameters":[],"responses":{"200":{"description":"Paid response — Peppol BIS invoice XML validation (= 100KB body cap).","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"10000","price_usdc":"$0.01","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/local/invoice/peppol-validate","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/local/invoice/peppol-validate","x-product-id":"jp-local-pack","x-endpoint-id":"local-peppol-validate","x-lifecycle":"paid_open"}},"/preview/v1/local/invoice/peppol-validate":{"post":{"summary":"Peppol BIS invoice XML validation (= 100KB body cap). (preview, free, no wallet)","description":"Wallet-free preview of: Peppol BIS invoice XML validation (= 100KB body cap). Same handler as the paid production path; for evaluation only.","tags":["JP Local Pack","preview"],"operationId":"preview_local_peppol_validate","parameters":[],"responses":{"200":{"description":"Preview response — Peppol BIS invoice XML validation (= 100KB body cap).","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-local-pack","x-endpoint-id":"local-peppol-validate","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/local/invoice/peppol-validate":{"post":{"summary":"Peppol BIS invoice XML validation (= 100KB body cap). (marketplace, API-key path)","description":"Peppol BIS invoice XML validation (= 100KB body cap). (marketplace API-key path; pay through marketplace, not crypto). Source: Peppol BIS Billing 3.0 schema. Freshness: Schema is static. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Local Pack","marketplace"],"operationId":"marketplace_local_peppol_validate","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}}],"responses":{"200":{"description":"Marketplace response — Peppol BIS invoice XML validation (= 100KB body cap).. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-local-pack","x-endpoint-id":"local-peppol-validate","x-lifecycle":"paid_open"}},"/v1/enrich/company-by-name":{"get":{"summary":"Japan company candidate resolution from name (= 5-mode disambiguation).","description":"Japan company candidate resolution from name (= 5-mode disambiguation). Source: gBizINFO + brand alias map. Freshness: Near-real-time gBizINFO. Pricing: $0.02 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/enrich/company-by-name","tags":["JP Data Enrich"],"operationId":"paid_enrich_company_by_name","parameters":[{"name":"name","in":"query","required":true,"description":"Company name (Japanese or romaji). Non-empty.","schema":{"type":"string","pattern":"^.+$"}},{"name":"limit","in":"query","required":false,"description":"Max candidates 1-50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"pref","in":"query","required":false,"description":"Prefecture filter.","schema":{"type":"string"}},{"name":"match_mode","in":"query","required":false,"description":"Disambiguation mode.","schema":{"type":"string","enum":["auto","brand","legal_exact","candidate","houjin_only"],"default":"auto"}},{"name":"entity_type","in":"query","required":false,"description":"Entity type filter (e.g. kabushiki_kaisha).","schema":{"type":"string"}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paid response — Japan company candidate resolution from name (= 5-mode disambiguation).","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"20000","price_usdc":"$0.02","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/enrich/company-by-name","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/enrich/company-by-name","x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-company-by-name","x-lifecycle":"paid_open"}},"/preview/v1/enrich/company-by-name":{"get":{"summary":"Japan company candidate resolution from name (= 5-mode disambiguation). (preview, free, no wallet)","description":"Wallet-free preview of: Japan company candidate resolution from name (= 5-mode disambiguation). Same handler as the paid production path; for evaluation only.","tags":["JP Data Enrich","preview"],"operationId":"preview_enrich_company_by_name","parameters":[{"name":"name","in":"query","required":true,"description":"Company name (Japanese or romaji). Non-empty.","schema":{"type":"string","pattern":"^.+$"}},{"name":"limit","in":"query","required":false,"description":"Max candidates 1-50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"pref","in":"query","required":false,"description":"Prefecture filter.","schema":{"type":"string"}},{"name":"match_mode","in":"query","required":false,"description":"Disambiguation mode.","schema":{"type":"string","enum":["auto","brand","legal_exact","candidate","houjin_only"],"default":"auto"}},{"name":"entity_type","in":"query","required":false,"description":"Entity type filter (e.g. kabushiki_kaisha).","schema":{"type":"string"}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Preview response — Japan company candidate resolution from name (= 5-mode disambiguation).","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-company-by-name","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/enrich/company-by-name":{"get":{"summary":"Japan company candidate resolution from name (= 5-mode disambiguation). (marketplace, API-key path)","description":"Japan company candidate resolution from name (= 5-mode disambiguation). (marketplace API-key path; pay through marketplace, not crypto). Source: gBizINFO + brand alias map. Freshness: Near-real-time gBizINFO. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Data Enrich","marketplace"],"operationId":"marketplace_enrich_company_by_name","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"name","in":"query","required":true,"description":"Company name (Japanese or romaji). Non-empty.","schema":{"type":"string","pattern":"^.+$"}},{"name":"limit","in":"query","required":false,"description":"Max candidates 1-50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"pref","in":"query","required":false,"description":"Prefecture filter.","schema":{"type":"string"}},{"name":"match_mode","in":"query","required":false,"description":"Disambiguation mode.","schema":{"type":"string","enum":["auto","brand","legal_exact","candidate","houjin_only"],"default":"auto"}},{"name":"entity_type","in":"query","required":false,"description":"Entity type filter (e.g. kabushiki_kaisha).","schema":{"type":"string"}},{"name":"verbose","in":"query","required":false,"description":"Include diagnostic fields. Default false.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Marketplace response — Japan company candidate resolution from name (= 5-mode disambiguation).. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-company-by-name","x-lifecycle":"paid_open"}},"/v1/enrich/company-by-domain":{"get":{"summary":"Japan company resolution from web domain (= ~40% coverage).","description":"Japan company resolution from web domain (= ~40% coverage). Source: gBizINFO name-search + curated brand resolver. Freshness: Near-real-time. Pricing: $0.01 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/enrich/company-by-domain","tags":["JP Data Enrich"],"operationId":"paid_enrich_company_by_domain","parameters":[{"name":"domain","in":"query","required":true,"description":"Domain (e.g. cyberagent.co.jp).","schema":{"type":"string","pattern":"^[a-z0-9.-]+\\.[a-z]+$"}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paid response — Japan company resolution from web domain (= ~40% coverage).","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"10000","price_usdc":"$0.01","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/enrich/company-by-domain","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/enrich/company-by-domain","x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-company-by-domain","x-lifecycle":"paid_open"}},"/preview/v1/enrich/company-by-domain":{"get":{"summary":"Japan company resolution from web domain (= ~40% coverage). (preview, free, no wallet)","description":"Wallet-free preview of: Japan company resolution from web domain (= ~40% coverage). Same handler as the paid production path; for evaluation only.","tags":["JP Data Enrich","preview"],"operationId":"preview_enrich_company_by_domain","parameters":[{"name":"domain","in":"query","required":true,"description":"Domain (e.g. cyberagent.co.jp).","schema":{"type":"string","pattern":"^[a-z0-9.-]+\\.[a-z]+$"}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Preview response — Japan company resolution from web domain (= ~40% coverage).","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-company-by-domain","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/enrich/company-by-domain":{"get":{"summary":"Japan company resolution from web domain (= ~40% coverage). (marketplace, API-key path)","description":"Japan company resolution from web domain (= ~40% coverage). (marketplace API-key path; pay through marketplace, not crypto). Source: gBizINFO name-search + curated brand resolver. Freshness: Near-real-time. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Data Enrich","marketplace"],"operationId":"marketplace_enrich_company_by_domain","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"domain","in":"query","required":true,"description":"Domain (e.g. cyberagent.co.jp).","schema":{"type":"string","pattern":"^[a-z0-9.-]+\\.[a-z]+$"}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Marketplace response — Japan company resolution from web domain (= ~40% coverage).. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-company-by-domain","x-lifecycle":"paid_open"}},"/v1/enrich/company-by-houjin-number":{"get":{"summary":"Japan company profile from 13-digit corporate number (= gBizINFO live).","description":"Japan company profile from 13-digit corporate number (= gBizINFO live). Source: gBizINFO live. Freshness: Near-real-time. Pricing: $0.01 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/enrich/company-by-houjin-number","tags":["JP Data Enrich"],"operationId":"paid_enrich_company_by_houjin","parameters":[{"name":"houjin_number","in":"query","required":true,"description":"13-digit Japanese corporate number (NTA assigned).","schema":{"type":"string","pattern":"^\\d{13}$"}},{"name":"fields","in":"query","required":false,"description":"Comma-separated field selector.","schema":{"type":"string"}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paid response — Japan company profile from 13-digit corporate number (= gBizINFO live).","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"10000","price_usdc":"$0.01","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/enrich/company-by-houjin-number","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/enrich/company-by-houjin-number","x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-company-by-houjin","x-lifecycle":"paid_open"}},"/preview/v1/enrich/company-by-houjin-number":{"get":{"summary":"Japan company profile from 13-digit corporate number (= gBizINFO live). (preview, free, no wallet)","description":"Wallet-free preview of: Japan company profile from 13-digit corporate number (= gBizINFO live). Same handler as the paid production path; for evaluation only.","tags":["JP Data Enrich","preview"],"operationId":"preview_enrich_company_by_houjin","parameters":[{"name":"houjin_number","in":"query","required":true,"description":"13-digit Japanese corporate number (NTA assigned).","schema":{"type":"string","pattern":"^\\d{13}$"}},{"name":"fields","in":"query","required":false,"description":"Comma-separated field selector.","schema":{"type":"string"}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Preview response — Japan company profile from 13-digit corporate number (= gBizINFO live).","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-company-by-houjin","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/enrich/company-by-houjin-number":{"get":{"summary":"Japan company profile from 13-digit corporate number (= gBizINFO live). (marketplace, API-key path)","description":"Japan company profile from 13-digit corporate number (= gBizINFO live). (marketplace API-key path; pay through marketplace, not crypto). Source: gBizINFO live. Freshness: Near-real-time. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Data Enrich","marketplace"],"operationId":"marketplace_enrich_company_by_houjin","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"houjin_number","in":"query","required":true,"description":"13-digit Japanese corporate number (NTA assigned).","schema":{"type":"string","pattern":"^\\d{13}$"}},{"name":"fields","in":"query","required":false,"description":"Comma-separated field selector.","schema":{"type":"string"}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Marketplace response — Japan company profile from 13-digit corporate number (= gBizINFO live).. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-company-by-houjin","x-lifecycle":"paid_open"}},"/v1/enrich/business-signals-by-houjin":{"get":{"summary":"Public-procurement and gazette signals by corporate number.","description":"Public-procurement and gazette signals by corporate number. Source: 官報 (Kanpo) + 公共調達. Freshness: Near-real-time public-source ingestion. Pricing: $0.05 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/enrich/business-signals-by-houjin","tags":["JP Data Enrich"],"operationId":"paid_enrich_business_signals","parameters":[{"name":"houjin_number","in":"query","required":true,"description":"13-digit Japanese corporate number (NTA assigned).","schema":{"type":"string","pattern":"^\\d{13}$"}},{"name":"include","in":"query","required":false,"description":"Signal categories to include.","schema":{"type":"string"}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paid response — Public-procurement and gazette signals by corporate number.","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"50000","price_usdc":"$0.05","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/enrich/business-signals-by-houjin","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/enrich/business-signals-by-houjin","x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-business-signals","x-lifecycle":"paid_open"}},"/preview/v1/enrich/business-signals-by-houjin":{"get":{"summary":"Public-procurement and gazette signals by corporate number. (preview, free, no wallet)","description":"Wallet-free preview of: Public-procurement and gazette signals by corporate number. Same handler as the paid production path; for evaluation only.","tags":["JP Data Enrich","preview"],"operationId":"preview_enrich_business_signals","parameters":[{"name":"houjin_number","in":"query","required":true,"description":"13-digit Japanese corporate number (NTA assigned).","schema":{"type":"string","pattern":"^\\d{13}$"}},{"name":"include","in":"query","required":false,"description":"Signal categories to include.","schema":{"type":"string"}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Preview response — Public-procurement and gazette signals by corporate number.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-business-signals","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/enrich/business-signals-by-houjin":{"get":{"summary":"Public-procurement and gazette signals by corporate number. (marketplace, API-key path)","description":"Public-procurement and gazette signals by corporate number. (marketplace API-key path; pay through marketplace, not crypto). Source: 官報 (Kanpo) + 公共調達. Freshness: Near-real-time public-source ingestion. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Data Enrich","marketplace"],"operationId":"marketplace_enrich_business_signals","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"houjin_number","in":"query","required":true,"description":"13-digit Japanese corporate number (NTA assigned).","schema":{"type":"string","pattern":"^\\d{13}$"}},{"name":"include","in":"query","required":false,"description":"Signal categories to include.","schema":{"type":"string"}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Marketplace response — Public-procurement and gazette signals by corporate number.. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-business-signals","x-lifecycle":"paid_open"}},"/v1/enrich/edinet-filings":{"get":{"summary":"EDINET regulatory filings list by EDINET code.","description":"EDINET regulatory filings list by EDINET code. Source: EDINET public-filing API. Freshness: Near-real-time EDINET fetch. Pricing: $0.05 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/enrich/edinet-filings","tags":["JP Data Enrich"],"operationId":"paid_enrich_edinet_filings","parameters":[{"name":"edinet_code","in":"query","required":true,"description":"EDINET 6-character code (e.g. E02144).","schema":{"type":"string","pattern":"^E\\d{5}$"}},{"name":"doc_type","in":"query","required":false,"description":"Document type filter.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max filings 1-10.","schema":{"type":"integer","minimum":1,"maximum":10,"default":5}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paid response — EDINET regulatory filings list by EDINET code.","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"50000","price_usdc":"$0.05","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/enrich/edinet-filings","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/enrich/edinet-filings","x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-edinet-filings","x-lifecycle":"paid_open"}},"/preview/v1/enrich/edinet-filings":{"get":{"summary":"EDINET regulatory filings list by EDINET code. (preview, free, no wallet)","description":"Wallet-free preview of: EDINET regulatory filings list by EDINET code. Same handler as the paid production path; for evaluation only.","tags":["JP Data Enrich","preview"],"operationId":"preview_enrich_edinet_filings","parameters":[{"name":"edinet_code","in":"query","required":true,"description":"EDINET 6-character code (e.g. E02144).","schema":{"type":"string","pattern":"^E\\d{5}$"}},{"name":"doc_type","in":"query","required":false,"description":"Document type filter.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max filings 1-10.","schema":{"type":"integer","minimum":1,"maximum":10,"default":5}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Preview response — EDINET regulatory filings list by EDINET code.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-edinet-filings","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/enrich/edinet-filings":{"get":{"summary":"EDINET regulatory filings list by EDINET code. (marketplace, API-key path)","description":"EDINET regulatory filings list by EDINET code. (marketplace API-key path; pay through marketplace, not crypto). Source: EDINET public-filing API. Freshness: Near-real-time EDINET fetch. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Data Enrich","marketplace"],"operationId":"marketplace_enrich_edinet_filings","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"edinet_code","in":"query","required":true,"description":"EDINET 6-character code (e.g. E02144).","schema":{"type":"string","pattern":"^E\\d{5}$"}},{"name":"doc_type","in":"query","required":false,"description":"Document type filter.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max filings 1-10.","schema":{"type":"integer","minimum":1,"maximum":10,"default":5}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Marketplace response — EDINET regulatory filings list by EDINET code.. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-edinet-filings","x-lifecycle":"paid_open"}},"/v1/enrich/people-by-houjin":{"get":{"summary":"Listed-company officers (= EDINET annual-report rows) by corporate number.","description":"Listed-company officers (= EDINET annual-report rows) by corporate number. Source: EDINET annual-report officer rows. Freshness: Updated each EDINET filing cycle. Pricing: $0.01 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/enrich/people-by-houjin","tags":["JP Data Enrich"],"operationId":"paid_enrich_people_by_houjin","parameters":[{"name":"houjin_number","in":"query","required":true,"description":"13-digit Japanese corporate number (NTA assigned).","schema":{"type":"string","pattern":"^\\d{13}$"}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paid response — Listed-company officers (= EDINET annual-report rows) by corporate number.","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"10000","price_usdc":"$0.01","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/enrich/people-by-houjin","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/enrich/people-by-houjin","x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-people-by-houjin","x-lifecycle":"paid_open"}},"/preview/v1/enrich/people-by-houjin":{"get":{"summary":"Listed-company officers (= EDINET annual-report rows) by corporate number. (preview, free, no wallet)","description":"Wallet-free preview of: Listed-company officers (= EDINET annual-report rows) by corporate number. Same handler as the paid production path; for evaluation only.","tags":["JP Data Enrich","preview"],"operationId":"preview_enrich_people_by_houjin","parameters":[{"name":"houjin_number","in":"query","required":true,"description":"13-digit Japanese corporate number (NTA assigned).","schema":{"type":"string","pattern":"^\\d{13}$"}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Preview response — Listed-company officers (= EDINET annual-report rows) by corporate number.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-people-by-houjin","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/enrich/people-by-houjin":{"get":{"summary":"Listed-company officers (= EDINET annual-report rows) by corporate number. (marketplace, API-key path)","description":"Listed-company officers (= EDINET annual-report rows) by corporate number. (marketplace API-key path; pay through marketplace, not crypto). Source: EDINET annual-report officer rows. Freshness: Updated each EDINET filing cycle. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Data Enrich","marketplace"],"operationId":"marketplace_enrich_people_by_houjin","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"houjin_number","in":"query","required":true,"description":"13-digit Japanese corporate number (NTA assigned).","schema":{"type":"string","pattern":"^\\d{13}$"}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Marketplace response — Listed-company officers (= EDINET annual-report rows) by corporate number.. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-people-by-houjin","x-lifecycle":"paid_open"}},"/v1/enrich/batch":{"post":{"summary":"Batch company enrichment from name/domain/houjin (mixed, max 10 items).","description":"Batch company enrichment from name/domain/houjin (mixed, max 10 items). Source: gBizINFO + brand alias map. Freshness: Near-real-time. Pricing: $0.05 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/enrich/batch","tags":["JP Data Enrich"],"operationId":"paid_enrich_batch","parameters":[],"responses":{"200":{"description":"Paid response — Batch company enrichment from name/domain/houjin (mixed, max 10 items).","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"50000","price_usdc":"$0.05","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/enrich/batch","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/enrich/batch","x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-batch","x-lifecycle":"paid_open"}},"/preview/v1/enrich/batch":{"post":{"summary":"Batch company enrichment from name/domain/houjin (mixed, max 10 items). (preview, free, no wallet)","description":"Wallet-free preview of: Batch company enrichment from name/domain/houjin (mixed, max 10 items). Same handler as the paid production path; for evaluation only.","tags":["JP Data Enrich","preview"],"operationId":"preview_enrich_batch","parameters":[],"responses":{"200":{"description":"Preview response — Batch company enrichment from name/domain/houjin (mixed, max 10 items).","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-batch","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/enrich/batch":{"post":{"summary":"Batch company enrichment from name/domain/houjin (mixed, max 10 items). (marketplace, API-key path)","description":"Batch company enrichment from name/domain/houjin (mixed, max 10 items). (marketplace API-key path; pay through marketplace, not crypto). Source: gBizINFO + brand alias map. Freshness: Near-real-time. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Data Enrich","marketplace"],"operationId":"marketplace_enrich_batch","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}}],"responses":{"200":{"description":"Marketplace response — Batch company enrichment from name/domain/houjin (mixed, max 10 items).. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-data-enrich","x-endpoint-id":"enrich-batch","x-lifecycle":"paid_open"}},"/v1/grants/detail":{"get":{"summary":"Single-grant detail with structured fields, deadline, contact, and amount-extraction safety.","description":"Single-grant detail with structured fields, deadline, contact, and amount-extraction safety. Source: Digital Agency J-Grants PDL 1.0; Mirasapo Plus (cross-reference). Freshness: Near-real-time fetch with monthly 30-day deadline lag risk. Pricing: $0.02 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/grants/detail","tags":["JP Grants"],"operationId":"paid_grants_detail","parameters":[{"name":"id","in":"query","required":true,"description":"J-Grants subsidy ID.","schema":{"type":"string","pattern":"^[A-Za-z0-9]{15,30}$"}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paid response — Single-grant detail with structured fields, deadline, contact, and amount-extraction safety.","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"20000","price_usdc":"$0.02","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/grants/detail","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/grants/detail","x-product-id":"jp-grants","x-endpoint-id":"grants-detail","x-lifecycle":"paid_open"}},"/preview/v1/grants/detail":{"get":{"summary":"Single-grant detail with structured fields, deadline, contact, and amount-extraction safety. (preview, free, no wallet)","description":"Wallet-free preview of: Single-grant detail with structured fields, deadline, contact, and amount-extraction safety. Same handler as the paid production path; for evaluation only.","tags":["JP Grants","preview"],"operationId":"preview_grants_detail","parameters":[{"name":"id","in":"query","required":true,"description":"J-Grants subsidy ID.","schema":{"type":"string","pattern":"^[A-Za-z0-9]{15,30}$"}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Preview response — Single-grant detail with structured fields, deadline, contact, and amount-extraction safety.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-grants","x-endpoint-id":"grants-detail","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/grants/detail":{"get":{"summary":"Single-grant detail with structured fields, deadline, contact, and amount-extraction safety. (marketplace, API-key path)","description":"Single-grant detail with structured fields, deadline, contact, and amount-extraction safety. (marketplace API-key path; pay through marketplace, not crypto). Source: Digital Agency J-Grants PDL 1.0; Mirasapo Plus (cross-reference). Freshness: Near-real-time fetch with monthly 30-day deadline lag risk. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Grants","marketplace"],"operationId":"marketplace_grants_detail","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"id","in":"query","required":true,"description":"J-Grants subsidy ID.","schema":{"type":"string","pattern":"^[A-Za-z0-9]{15,30}$"}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Marketplace response — Single-grant detail with structured fields, deadline, contact, and amount-extraction safety.. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-grants","x-endpoint-id":"grants-detail","x-lifecycle":"paid_open"}},"/v1/grants/search":{"get":{"summary":"Grant search by keyword + filters (keyword optional, default any).","description":"Grant search by keyword + filters (keyword optional, default any). Source: Digital Agency J-Grants PDL 1.0. Freshness: Near-real-time J-Grants fetch. Pricing: $0.05 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/grants/search","tags":["JP Grants"],"operationId":"paid_grants_search","parameters":[{"name":"keyword","in":"query","required":false,"description":"Keyword filter (Japanese or romaji).","schema":{"type":"string"}},{"name":"deadline_within","in":"query","required":false,"description":"Deadline within N days (1-365).","schema":{"type":"integer","minimum":1,"maximum":365}},{"name":"prefecture","in":"query","required":false,"description":"Prefecture filter.","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"Industry filter.","schema":{"type":"string"}},{"name":"company_size","in":"query","required":false,"description":"Company size filter.","schema":{"type":"string","enum":["micro","small","medium","large","sme","individual"]}},{"name":"offset","in":"query","required":false,"description":"Pagination offset.","schema":{"type":"integer","minimum":0,"default":0}},{"name":"limit","in":"query","required":false,"description":"Max results 1-50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paid response — Grant search by keyword + filters (keyword optional, default any).","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"50000","price_usdc":"$0.05","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/grants/search","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/grants/search","x-product-id":"jp-grants","x-endpoint-id":"grants-search","x-lifecycle":"paid_open"}},"/preview/v1/grants/search":{"get":{"summary":"Grant search by keyword + filters (keyword optional, default any). (preview, free, no wallet)","description":"Wallet-free preview of: Grant search by keyword + filters (keyword optional, default any). Same handler as the paid production path; for evaluation only.","tags":["JP Grants","preview"],"operationId":"preview_grants_search","parameters":[{"name":"keyword","in":"query","required":false,"description":"Keyword filter (Japanese or romaji).","schema":{"type":"string"}},{"name":"deadline_within","in":"query","required":false,"description":"Deadline within N days (1-365).","schema":{"type":"integer","minimum":1,"maximum":365}},{"name":"prefecture","in":"query","required":false,"description":"Prefecture filter.","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"Industry filter.","schema":{"type":"string"}},{"name":"company_size","in":"query","required":false,"description":"Company size filter.","schema":{"type":"string","enum":["micro","small","medium","large","sme","individual"]}},{"name":"offset","in":"query","required":false,"description":"Pagination offset.","schema":{"type":"integer","minimum":0,"default":0}},{"name":"limit","in":"query","required":false,"description":"Max results 1-50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Preview response — Grant search by keyword + filters (keyword optional, default any).","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-grants","x-endpoint-id":"grants-search","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/grants/search":{"get":{"summary":"Grant search by keyword + filters (keyword optional, default any). (marketplace, API-key path)","description":"Grant search by keyword + filters (keyword optional, default any). (marketplace API-key path; pay through marketplace, not crypto). Source: Digital Agency J-Grants PDL 1.0. Freshness: Near-real-time J-Grants fetch. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Grants","marketplace"],"operationId":"marketplace_grants_search","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"keyword","in":"query","required":false,"description":"Keyword filter (Japanese or romaji).","schema":{"type":"string"}},{"name":"deadline_within","in":"query","required":false,"description":"Deadline within N days (1-365).","schema":{"type":"integer","minimum":1,"maximum":365}},{"name":"prefecture","in":"query","required":false,"description":"Prefecture filter.","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"Industry filter.","schema":{"type":"string"}},{"name":"company_size","in":"query","required":false,"description":"Company size filter.","schema":{"type":"string","enum":["micro","small","medium","large","sme","individual"]}},{"name":"offset","in":"query","required":false,"description":"Pagination offset.","schema":{"type":"integer","minimum":0,"default":0}},{"name":"limit","in":"query","required":false,"description":"Max results 1-50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Marketplace response — Grant search by keyword + filters (keyword optional, default any).. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-grants","x-endpoint-id":"grants-search","x-lifecycle":"paid_open"}},"/v1/grants/upcoming":{"get":{"summary":"Grant deadline calendar within N days (= 1-90, default 90).","description":"Grant deadline calendar within N days (= 1-90, default 90). Source: Digital Agency J-Grants PDL 1.0. Freshness: Near-real-time. Pricing: $0.05 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/grants/upcoming","tags":["JP Grants"],"operationId":"paid_grants_upcoming","parameters":[{"name":"days","in":"query","required":false,"description":"Window in days 1-90.","schema":{"type":"integer","minimum":1,"maximum":90,"default":90}},{"name":"prefecture","in":"query","required":false,"description":"Prefecture filter.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max items 1-50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}}],"responses":{"200":{"description":"Paid response — Grant deadline calendar within N days (= 1-90, default 90).","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"50000","price_usdc":"$0.05","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/grants/upcoming","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/grants/upcoming","x-product-id":"jp-grants","x-endpoint-id":"grants-upcoming","x-lifecycle":"paid_open"}},"/preview/v1/grants/upcoming":{"get":{"summary":"Grant deadline calendar within N days (= 1-90, default 90). (preview, free, no wallet)","description":"Wallet-free preview of: Grant deadline calendar within N days (= 1-90, default 90). Same handler as the paid production path; for evaluation only.","tags":["JP Grants","preview"],"operationId":"preview_grants_upcoming","parameters":[{"name":"days","in":"query","required":false,"description":"Window in days 1-90.","schema":{"type":"integer","minimum":1,"maximum":90,"default":90}},{"name":"prefecture","in":"query","required":false,"description":"Prefecture filter.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max items 1-50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}}],"responses":{"200":{"description":"Preview response — Grant deadline calendar within N days (= 1-90, default 90).","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-grants","x-endpoint-id":"grants-upcoming","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/grants/upcoming":{"get":{"summary":"Grant deadline calendar within N days (= 1-90, default 90). (marketplace, API-key path)","description":"Grant deadline calendar within N days (= 1-90, default 90). (marketplace API-key path; pay through marketplace, not crypto). Source: Digital Agency J-Grants PDL 1.0. Freshness: Near-real-time. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Grants","marketplace"],"operationId":"marketplace_grants_upcoming","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"days","in":"query","required":false,"description":"Window in days 1-90.","schema":{"type":"integer","minimum":1,"maximum":90,"default":90}},{"name":"prefecture","in":"query","required":false,"description":"Prefecture filter.","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Max items 1-50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}}],"responses":{"200":{"description":"Marketplace response — Grant deadline calendar within N days (= 1-90, default 90).. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-grants","x-endpoint-id":"grants-upcoming","x-lifecycle":"paid_open"}},"/v1/grants/eligible":{"get":{"summary":"Grant ranking for company profile (= 5-factor weighted; review-required).","description":"Grant ranking for company profile (= 5-factor weighted; review-required). Source: J-Grants PDL 1.0 + Mirasapo case_count + e-Stat adoption_rate (when ESTAT_LIVE_IMPLEMENTED). Freshness: Near-real-time J-Grants; e-Stat history depends on ESTAT_LIVE_IMPLEMENTED flag. Pricing: $0.05 USDC per call (x402 USDC on Base). Wallet-free preview: https://api.kasanegi.com/preview/v1/grants/eligible","tags":["JP Grants"],"operationId":"paid_grants_eligible","parameters":[{"name":"company_size","in":"query","required":true,"description":"Company size bracket.","schema":{"type":"string","enum":["micro","small","medium","large","sme","individual"]}},{"name":"industry","in":"query","required":true,"description":"JSIC division code (A-T) or documented alias.","schema":{"type":"string","enum":["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T"]}},{"name":"prefecture","in":"query","required":false,"description":"JIS X 0401 code or 4 documented romaji forms.","schema":{"type":"string"}},{"name":"revenue_band","in":"query","required":false,"description":"Revenue band hint.","schema":{"type":"string"}},{"name":"employee_count","in":"query","required":false,"description":"Employee count.","schema":{"type":"integer","minimum":1}},{"name":"business_age_years","in":"query","required":false,"description":"Business age in years.","schema":{"type":"integer","minimum":0}},{"name":"founded_year","in":"query","required":false,"description":"Founded year.","schema":{"type":"integer","minimum":1900,"maximum":2100}},{"name":"deadline_within","in":"query","required":false,"description":"Deadline window in days 1-365.","schema":{"type":"integer","minimum":1,"maximum":365,"default":90}},{"name":"limit","in":"query","required":false,"description":"Max items 1-50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Paid response — Grant ranking for company profile (= 5-factor weighted; review-required).","content":{"application/json":{"schema":{"type":"object","description":"Endpoint payload + `_gateway` block describing product/endpoint/lifecycle on a paid call."}}}},"402":{"description":"Payment required (x402, USDC on Base). Settle the listed accepts and retry with X-PAYMENT, or evaluate via the wallet-free preview path.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/X402PaymentRequired"}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Gateway x402 not configured on this deployment. Owner runbook is included in the body."}},"x-x402":{"amount_micro_usdc":"50000","price_usdc":"$0.05","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","preview_url":"https://api.kasanegi.com/preview/v1/grants/eligible","mimeType":"application/json"},"x-preview-url":"https://api.kasanegi.com/preview/v1/grants/eligible","x-product-id":"jp-grants","x-endpoint-id":"grants-eligible","x-lifecycle":"paid_open"}},"/preview/v1/grants/eligible":{"get":{"summary":"Grant ranking for company profile (= 5-factor weighted; review-required). (preview, free, no wallet)","description":"Wallet-free preview of: Grant ranking for company profile (= 5-factor weighted; review-required). Same handler as the paid production path; for evaluation only.","tags":["JP Grants","preview"],"operationId":"preview_grants_eligible","parameters":[{"name":"company_size","in":"query","required":true,"description":"Company size bracket.","schema":{"type":"string","enum":["micro","small","medium","large","sme","individual"]}},{"name":"industry","in":"query","required":true,"description":"JSIC division code (A-T) or documented alias.","schema":{"type":"string","enum":["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T"]}},{"name":"prefecture","in":"query","required":false,"description":"JIS X 0401 code or 4 documented romaji forms.","schema":{"type":"string"}},{"name":"revenue_band","in":"query","required":false,"description":"Revenue band hint.","schema":{"type":"string"}},{"name":"employee_count","in":"query","required":false,"description":"Employee count.","schema":{"type":"integer","minimum":1}},{"name":"business_age_years","in":"query","required":false,"description":"Business age in years.","schema":{"type":"integer","minimum":0}},{"name":"founded_year","in":"query","required":false,"description":"Founded year.","schema":{"type":"integer","minimum":1900,"maximum":2100}},{"name":"deadline_within","in":"query","required":false,"description":"Deadline window in days 1-365.","schema":{"type":"integer","minimum":1,"maximum":365,"default":90}},{"name":"limit","in":"query","required":false,"description":"Max items 1-50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Preview response — Grant ranking for company profile (= 5-factor weighted; review-required).","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}}},"x-product-id":"jp-grants","x-endpoint-id":"grants-eligible","x-lifecycle":"paid_open"}},"/marketplace/rapidapi/v1/grants/eligible":{"get":{"summary":"Grant ranking for company profile (= 5-factor weighted; review-required). (marketplace, API-key path)","description":"Grant ranking for company profile (= 5-factor weighted; review-required). (marketplace API-key path; pay through marketplace, not crypto). Source: J-Grants PDL 1.0 + Mirasapo case_count + e-Stat adoption_rate (when ESTAT_LIVE_IMPLEMENTED). Freshness: Near-real-time J-Grants; e-Stat history depends on ESTAT_LIVE_IMPLEMENTED flag. End buyers should not call this origin path directly — use the published marketplace listing. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. Without one of these headers this origin returns 401/503.","tags":["JP Grants","marketplace"],"operationId":"marketplace_grants_eligible","parameters":[{"name":"X-RapidAPI-Proxy-Secret","in":"header","required":true,"description":"Shared secret injected by RapidAPI on every forwarded request. End buyers never see this header; it is set by the marketplace, not the buyer. Compatible non-RapidAPI marketplaces may use X-Kasanegi-Marketplace-Secret. The origin returns 503 marketplace_proxy_not_configured when the secret is unset, 401 marketplace_proxy_secret_required when both accepted headers are missing, and 403 marketplace_proxy_secret_mismatch when the value is wrong.","schema":{"type":"string"}},{"name":"company_size","in":"query","required":true,"description":"Company size bracket.","schema":{"type":"string","enum":["micro","small","medium","large","sme","individual"]}},{"name":"industry","in":"query","required":true,"description":"JSIC division code (A-T) or documented alias.","schema":{"type":"string","enum":["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T"]}},{"name":"prefecture","in":"query","required":false,"description":"JIS X 0401 code or 4 documented romaji forms.","schema":{"type":"string"}},{"name":"revenue_band","in":"query","required":false,"description":"Revenue band hint.","schema":{"type":"string"}},{"name":"employee_count","in":"query","required":false,"description":"Employee count.","schema":{"type":"integer","minimum":1}},{"name":"business_age_years","in":"query","required":false,"description":"Business age in years.","schema":{"type":"integer","minimum":0}},{"name":"founded_year","in":"query","required":false,"description":"Founded year.","schema":{"type":"integer","minimum":1900,"maximum":2100}},{"name":"deadline_within","in":"query","required":false,"description":"Deadline window in days 1-365.","schema":{"type":"integer","minimum":1,"maximum":365,"default":90}},{"name":"limit","in":"query","required":false,"description":"Max items 1-50.","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}},{"name":"verbose","in":"query","required":false,"description":"Verbose.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Marketplace response — Grant ranking for company profile (= 5-factor weighted; review-required).. Same payload shape as the paid production path.","content":{"application/json":{"schema":{"type":"object","description":"Same payload shape as the paid production path."}}}},"401":{"description":"Missing X-RapidAPI-Proxy-Secret or X-Kasanegi-Marketplace-Secret header."},"403":{"description":"Marketplace proxy secret value did not match the configured shared secret."},"422":{"description":"Invalid query parameter; correction_hints included.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"}}}},"503":{"description":"Marketplace proxy not configured (RAPIDAPI_PROXY_SECRET unset on the worker)."}},"x-sales-channel":"marketplace_rapidapi","x-product-id":"jp-grants","x-endpoint-id":"grants-eligible","x-lifecycle":"paid_open"}}},"components":{"schemas":{"X402PaymentRequired":{"type":"object","description":"x402 Payment Required envelope (= mirrors the base64-encoded `payment-required` response header). Settle the listed accepts with an x402 SDK and retry with X-PAYMENT.","required":["x402Version","error","accepts"],"properties":{"x402Version":{"type":"integer","const":2},"error":{"type":"string","const":"Payment required"},"resource":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}}},"accepts":{"type":"array","items":{"type":"object","required":["scheme","network","amount","asset","payTo"],"properties":{"scheme":{"type":"string","const":"exact"},"network":{"type":"string","description":"CAIP-2 network id (e.g. eip155:8453)."},"amount":{"type":"string","description":"Micro-USDC integer string (= price * 1_000_000)."},"asset":{"type":"string","description":"USDC contract address."},"payTo":{"type":"string","description":"Receiving wallet address."},"maxTimeoutSeconds":{"type":"integer","const":300},"extra":{"type":"object","properties":{"name":{"type":"string","const":"USD Coin"},"version":{"type":"string","const":"2"},"mint":{"type":"string"}}}}}},"_try_free":{"type":"object","description":"Wallet-free preview path on the same gateway host.","properties":{"info":{"type":"string"},"preview_url":{"type":"string","format":"uri"},"curl_example":{"type":"string"}}},"_gateway":{"type":"object","properties":{"product_id":{"type":"string"},"product_name":{"type":"string"},"endpoint_id":{"type":"string"},"gateway_resource":{"type":"string"},"gateway_preview_resource":{"type":"string"},"lifecycle":{"type":"string"}}}}},"ValidationError":{"type":"object","required":["error","field","message"],"properties":{"error":{"type":"string","const":"unprocessable_entity"},"field":{"type":"string"},"message":{"type":"string"},"correction_hints":{"type":"array","items":{"type":"object","properties":{"from_pattern":{"type":"string"},"to":{"type":"string"},"reason":{"type":"string"}}}}}}}},"x-x402":{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x57aF85eFCAec627eF91709C394f627586dbEBe7a","scheme":"exact","mode":"cdp_mainnet","well_known":"https://api.kasanegi.com/.well-known/x402","supported_alias":"https://api.kasanegi.com/supported","product_count":3,"sold_endpoint_count":21},"x-sales-channels":{"buyer_entry_url":"https://kasanegi.com","human_first_sales_url":"https://kasanegi.com","agent_catalog_url":"https://api.kasanegi.com/products","channels":[{"channel_id":"preview_walletfree","label":"Wallet-free preview","audience":"Anyone evaluating the data before paying.","base_path":"https://api.kasanegi.com/preview/v1/{local|enrich|grants}/...","status":"live","owner_action_required":false,"description":"No signup, no wallet, no marketplace account. Same JSON shape as paid path; intended for evaluation only."},{"channel_id":"marketplace_rapidapi","label":"Marketplace / API-key path (RapidAPI-class provider proxy)","audience":"Human / normal-developer buyers paying via card or platform credits.","base_path":"https://api.kasanegi.com/marketplace/rapidapi/v1/{local|enrich|grants}/...","status":"live_public_listing","owner_action_required":false,"description":"Origin route behind public marketplace listings. One public marketplace listing is live for all current products at https://rapidapi.com/kasanegi123/api/jp-local-pack-japan-payroll-invoice-tax-apis. RapidAPI injects X-RapidAPI-Proxy-Secret on every forwarded request; compatible marketplaces may inject X-Kasanegi-Marketplace-Secret. End buyers subscribe on the marketplace and pay by card or platform credit; the marketplace proxies the call to this origin over HTTPS with the secret header. End buyers should not call this origin path directly.","listing_url":"https://rapidapi.com/kasanegi123/api/jp-local-pack-japan-payroll-invoice-tax-apis","listed_product_namespaces":["local","enrich","grants"],"pending_product_namespaces":[],"notes":["Buyers pay the marketplace; the marketplace proxies the request to this origin. We do not claim actual revenue here.","Payout account linkage on the marketplace is owner-managed and may be incomplete; this does not affect buyer ability to subscribe to the listing.","Marketplace listing coverage: live product namespaces = local, enrich, grants; pending product namespaces = (none).","Additional marketplace listings can be added later under the same origin route."]},{"channel_id":"x402_direct","label":"x402 direct micropayment (USDC on Base)","audience":"Agent / agent-stack buyers settling per-call without account creation.","base_path":"https://api.kasanegi.com/v1/{local|enrich|grants}/...","status":"live","owner_action_required":false,"description":"402 envelope without X-PAYMENT; settle and retry with X-PAYMENT (open x402 protocol). USDC on Base mainnet via CDP facilitator. Optional, not required. One of several supported sales paths, not the only one."},{"channel_id":"card_checkout","label":"Card / fiat checkout (Stripe / Polar / equivalent)","audience":"Human buyers who prefer to pay by card or invoice for higher tiers.","base_path":"(owner_action_required)","status":"owner_account_required","owner_action_required":true,"description":"Not yet wired. Owner must create the merchant account, configure pricing, and (when the merchant landing page is up) point its API-key minting at this broker via the existing /keys/create primitive."}],"rule":"x402 is one option, not the only one. One public marketplace listing is live for all current products at https://rapidapi.com/kasanegi123/api/jp-local-pack-japan-payroll-invoice-tax-apis. Buyers who do not hold crypto can subscribe to public marketplace listings for listed products (card / platform credit) or, in the future, the card / fiat checkout path. Production access is not gated on x402.","marketplace_listing_url":"https://rapidapi.com/kasanegi123/api/jp-local-pack-japan-payroll-invoice-tax-apis"},"x-marketplace-rapidapi":{"base_url":"https://api.kasanegi.com/marketplace/rapidapi/v1","listing_url":"https://rapidapi.com/kasanegi123/api/jp-local-pack-japan-payroll-invoice-tax-apis","listing_status":"live_public_listing","live_product_namespaces":["local","enrich","grants"],"pending_product_namespaces":[],"shared_secret_header":"X-Kasanegi-Marketplace-Secret","sold_endpoint_count":21,"note":"Origin route for marketplace / RapidAPI-class provider proxies. End buyers pay the marketplace; the marketplace proxies the request here over HTTPS with the shared secret header. End buyers should not call this origin path directly."},"x-source-of-truth":"src/lib/product-contract.ts (= PRODUCT_REGISTRY)"}