com.mart402/extract is an MCP server published by com.mart402, hosted at mart402.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 35 tools, including get_catalog, quote_parse, get_receipt, search_x402_services, get_sample.
Web extraction, OCR (Japanese-strong), invoice and company data for AI agents. x402, no API key.
12 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Mart402 product catalog: all products, prices, payment config, error codes, rate limits. Free.
No parameters.
{
"name": "get_catalog",
"title": "Mart402 catalog (products, prices, policies)",
"description": "Mart402 product catalog: all products, prices, payment config, error codes, rate limits. Free.",
"inputSchema": {
"type": "object",
"properties": {}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Mart402 catalog (products, prices, policies)",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Free quote for PDF parsing: page count, route (text/scan-OCR) and the exact final price, before any payment. Use the returned quote_id with parse_document (on /mcp or /mcp/docs).
| Parameter | Type | Description |
|---|---|---|
| url * | string | PDF URL |
{
"name": "quote_parse",
"title": "Quote a PDF parse (free, exact price)",
"description": "Free quote for PDF parsing: page count, route (text/scan-OCR) and the exact final price, before any payment. Use the returned quote_id with parse_document (on /mcp or /mcp/docs).",
"inputSchema": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "PDF URL"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Quote a PDF parse (free, exact price)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Re-fetch a previously paid result for free by receipt id (every paid response carries receipt_id).
| Parameter | Type | Description |
|---|---|---|
| receipt_id * | string | receipt_id from a paid response (rcpt_...) |
{
"name": "get_receipt",
"title": "Re-fetch a paid result by receipt",
"description": "Re-fetch a previously paid result for free by receipt id (every paid response carries receipt_id).",
"inputSchema": {
"type": "object",
"required": [
"receipt_id"
],
"properties": {
"receipt_id": {
"type": "string",
"description": "receipt_id from a paid response (rcpt_...)"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Re-fetch a paid result by receipt",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Search the Market402 verified index of the whole x402 economy by capability (e.g. 'ocr', 'market-data'). Every result is a real, probed resource with a measured 402 Score. Free.
| Parameter | Type | Description |
|---|---|---|
| q * | string | Capability keyword, e.g. 'ocr', 'market-data', 'weather' |
| limit | integer | Maximum results (default 10) |
{
"name": "search_x402_services",
"title": "Search x402 services (Market402 index)",
"description": "Search the Market402 verified index of the whole x402 economy by capability (e.g. 'ocr', 'market-data'). Every result is a real, probed resource with a measured 402 Score. Free.",
"inputSchema": {
"type": "object",
"required": [
"q"
],
"properties": {
"q": {
"type": "string",
"description": "Capability keyword, e.g. 'ocr', 'market-data', 'weather'"
},
"limit": {
"type": "integer",
"default": 10,
"description": "Maximum results (default 10)"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Search x402 services (Market402 index)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Free recorded sample response for a paid product (from real production runs, marked sample:true) - see the exact response shape before paying anything. Available: document-pipeline, enrich, extract, jp-bonus-net, jp-business-days, jp-company, jp-consumption-tax, jp-crypto-tax, jp-dependent-threshold, jp-mortgage, jp-overtime-wage, jp-payroll-net, jp-payroll-suite, jp-payslip-audit, jp-retirement-tax, jp-social-insurance, meal-vision, ocr, parse, pdf-info, pdf-merge, pdf-pages, portrait-analysis, report-pack, structured, style-profile, style-report, verify.
| Parameter | Type | Description |
|---|---|---|
| product * | string | One of: document-pipeline, enrich, extract, jp-bonus-net, jp-business-days, jp-company, jp-consumption-tax, jp-crypto-tax, jp-dependent-threshold, jp-mortgage, jp-overtime-wage, jp-payroll-net, jp-payroll-suite, jp-payslip-audit, jp-retirement-tax, jp-social-insurance, meal-vision, ocr, parse, pdf-i… |
{
"name": "get_sample",
"title": "Mart402 sample output",
"description": "Free recorded sample response for a paid product (from real production runs, marked sample:true) - see the exact response shape before paying anything. Available: document-pipeline, enrich, extract, jp-bonus-net, jp-business-days, jp-company, jp-consumption-tax, jp-crypto-tax, jp-dependent-threshold, jp-mortgage, jp-overtime-wage, jp-payroll-net, jp-payroll-suite, jp-payslip-audit, jp-retirement-tax, jp-social-insurance, meal-vision, ocr, parse, pdf-info, pdf-merge, pdf-pages, portrait-analysis, report-pack, structured, style-profile, style-report, verify.",
"inputSchema": {
"type": "object",
"required": [
"product"
],
"properties": {
"product": {
"enum": [
"document-pipeline",
"enrich",
"extract",
"jp-bonus-net",
"jp-business-days",
"jp-company",
"jp-consumption-tax",
"jp-crypto-tax",
"jp-dependent-threshold",
"jp-mortgage",
"jp-overtime-wage",
"jp-payroll-net",
"jp-payroll-suite",
"jp-payslip-audit",
"jp-retirement-tax",
"jp-social-insurance",
"meal-vision",
"ocr",
"parse",
"pdf-info",
"pdf-merge",
"pdf-pages",
"portrait-analysis",
"report-pack",
"structured",
"style-profile",
"style-report",
"verify"
],
"type": "string",
"description": "One of: document-pipeline, enrich, extract, jp-bonus-net, jp-business-days, jp-company, jp-consumption-tax, jp-crypto-tax, jp-dependent-threshold, jp-mortgage, jp-overtime-wage, jp-payroll-net, jp-payroll-suite, jp-payslip-audit, jp-retirement-tax, jp-social-insurance, meal-vision, ocr, parse, pdf-info, pdf-merge, pdf-pages, portrait-analysis, report-pack, structured, style-profile, style-report, verify. Product id (see the enum)"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Mart402 sample output",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}FREE analyzability check before paying for portrait_analysis: is a face detectable, is the photo quality good enough (clipping/color cast)? Deterministic, no LLM. 10/hour/IP.
| Parameter | Type | Description |
|---|---|---|
| image_url | string | Absolute http(s) URL of the image (JPEG/PNG/WebP) |
| image_base64 | string | Base64-encoded image bytes (alternative to image_url) |
{
"name": "portrait_precheck",
"title": "Check a portrait photo (free)",
"description": "FREE analyzability check before paying for portrait_analysis: is a face detectable, is the photo quality good enough (clipping/color cast)? Deterministic, no LLM. 10/hour/IP.",
"inputSchema": {
"type": "object",
"properties": {
"image_url": {
"type": "string",
"description": "Absolute http(s) URL of the image (JPEG/PNG/WebP)"
},
"image_base64": {
"type": "string",
"description": "Base64-encoded image bytes (alternative to image_url)"
}
},
"x-required-one-of": [
"image_url",
"image_base64"
]
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Check a portrait photo (free)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Free 12-week measured score history for any x402 operator from the Market402 index (weekly series, trend, volatility, badge). Check a seller's record before your agent pays an unfamiliar endpoint.
| Parameter | Type | Description |
|---|---|---|
| operator * | string | operator domain, e.g. mart402.com |
{
"name": "operator_history",
"title": "x402 operator track record (Market402)",
"description": "Free 12-week measured score history for any x402 operator from the Market402 index (weekly series, trend, volatility, badge). Check a seller's record before your agent pays an unfamiliar endpoint.",
"inputSchema": {
"type": "object",
"required": [
"operator"
],
"properties": {
"operator": {
"type": "string",
"description": "operator domain, e.g. mart402.com"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "x402 operator track record (Market402)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Extract a web page to clean Markdown + metadata (auto JS rendering, robots.txt respected). $0.005 fast / $0.01 rendered; cached results half price. Choose this when you need a web PAGE as clean Markdown to read yourself; to fill a schema use structured_extract, for a PDF use pdf_info then parse_document.
| Parameter | Type | Description |
|---|---|---|
| ttl | integer | cache seconds (0 = no cache) |
| url * | string | Absolute http(s) URL of the input (web page or PDF, per tool) |
| mode | string | Extraction mode: auto (fast with rendered fallback), fast, heavy |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
{
"name": "extract_url",
"title": "Extract Url",
"description": "Extract a web page to clean Markdown + metadata (auto JS rendering, robots.txt respected). $0.005 fast / $0.01 rendered; cached results half price. Choose this when you need a web PAGE as clean Markdown to read yourself; to fill a schema use structured_extract, for a PDF use pdf_info then parse_document.",
"inputSchema": {
"type": "object",
"required": [
"url"
],
"properties": {
"ttl": {
"type": "integer",
"default": 86400,
"description": "cache seconds (0 = no cache)"
},
"url": {
"type": "string",
"description": "Absolute http(s) URL of the input (web page or PDF, per tool)"
},
"mode": {
"enum": [
"auto",
"fast",
"heavy"
],
"type": "string",
"default": "auto",
"description": "Extraction mode: auto (fast with rendered fallback), fast, heavy"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Extract Url",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Parse a PDF to structured Markdown (hallucination-guarded OCR for scanned pages, Japanese-strong). Pass url (one step: the 402 quotes the exact price for that PDF) or quote_id from quote_parse (price fixed by the quote). One of the two is required. Choose this when the input is a PDF and you want its full text as Markdown; call pdf_info first if you do not know whether it is scanned, and use document_pipeline instead for invoices you also want verified.
| Parameter | Type | Description |
|---|---|---|
| url | string | Absolute http(s) URL of the PDF (one-step form) |
| quote_id | string | quote_id returned by quote_parse (price is fixed by the quote) |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
{
"name": "parse_document",
"title": "Parse Document",
"description": "Parse a PDF to structured Markdown (hallucination-guarded OCR for scanned pages, Japanese-strong). Pass url (one step: the 402 quotes the exact price for that PDF) or quote_id from quote_parse (price fixed by the quote). One of the two is required. Choose this when the input is a PDF and you want its full text as Markdown; call pdf_info first if you do not know whether it is scanned, and use document_pipeline instead for invoices you also want verified.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"url": {
"type": "string",
"description": "Absolute http(s) URL of the PDF (one-step form)"
},
"quote_id": {
"type": "string",
"description": "quote_id returned by quote_parse (price is fixed by the quote)"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
}
},
"x-required-one-of": [
"url",
"quote_id"
]
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Parse Document",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}OCR one image to text with dual-engine consensus, calibrated confidence and per-segment corroboration. Japanese-strong. Flat $0.05/image. Choose this when the input is an IMAGE (photo, screenshot, receipt); for PDFs use parse_document.
| Parameter | Type | Description |
|---|---|---|
| lang | string | One of: japanese, latin. Expected script for OCR: japanese or latin |
| image_url | string | Absolute http(s) URL of the image (JPEG/PNG/WebP) |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| image_base64 | string | Base64-encoded image bytes (alternative to image_url) |
{
"name": "ocr_image",
"title": "Ocr Image",
"description": "OCR one image to text with dual-engine consensus, calibrated confidence and per-segment corroboration. Japanese-strong. Flat $0.05/image. Choose this when the input is an IMAGE (photo, screenshot, receipt); for PDFs use parse_document.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"lang": {
"enum": [
"japanese",
"latin"
],
"type": "string",
"default": "japanese",
"description": "One of: japanese, latin. Expected script for OCR: japanese or latin"
},
"image_url": {
"type": "string",
"description": "Absolute http(s) URL of the image (JPEG/PNG/WebP)"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"image_base64": {
"type": "string",
"description": "Base64-encoded image bytes (alternative to image_url)"
}
},
"x-required-one-of": [
"image_url",
"image_base64"
]
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Ocr Image",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Verify extracted invoice fields: arithmetic consistency, line-item totals, JP registration number check-digit + corporate-number existence observation (official Japan NTA registry), accounting-ready JSON. $0.015/call. Choose this when you already HAVE invoice fields (from your own extraction) and only need them checked; to start from a PDF use document_pipeline.
| Parameter | Type | Description |
|---|---|---|
| fields * | object | Extracted invoice fields: total_jpy, tax_jpy, reg_no, invoice_no, issue_date, due_date, vendor, customer |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| line_items | array | Optional line items [{description, amount_jpy}] to reconcile against the subtotal |
{
"name": "verify_invoice",
"title": "Verify Invoice",
"description": "Verify extracted invoice fields: arithmetic consistency, line-item totals, JP registration number check-digit + corporate-number existence observation (official Japan NTA registry), accounting-ready JSON. $0.015/call. Choose this when you already HAVE invoice fields (from your own extraction) and only need them checked; to start from a PDF use document_pipeline.",
"inputSchema": {
"type": "object",
"required": [
"fields"
],
"properties": {
"fields": {
"type": "object",
"description": "Extracted invoice fields: total_jpy, tax_jpy, reg_no, invoice_no, issue_date, due_date, vendor, customer"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"line_items": {
"type": "array",
"description": "Optional line items [{description, amount_jpy}] to reconcile against the subtotal"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Verify Invoice",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Company name/domain/URL to a verified profile from primary sources + GLEIF LEI and Japan NTA corporate-number registries. Per-field evidence + confidence, honest nulls; unresolved lookups never charged. $0.03/company. Choose this when you have a company NAME or DOMAIN and need a registry-grounded profile (GLEIF LEI / Japan NTA) with per-field evidence; pass country_hint 'jp' for Japanese companies.
| Parameter | Type | Description |
|---|---|---|
| company * | string | Company name, domain or URL |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| country_hint | string | ISO country hint for registry lookups, e.g. 'jp' |
{
"name": "enrich_company",
"title": "Enrich Company",
"description": "Company name/domain/URL to a verified profile from primary sources + GLEIF LEI and Japan NTA corporate-number registries. Per-field evidence + confidence, honest nulls; unresolved lookups never charged. $0.03/company. Choose this when you have a company NAME or DOMAIN and need a registry-grounded profile (GLEIF LEI / Japan NTA) with per-field evidence; pass country_hint 'jp' for Japanese companies.",
"inputSchema": {
"type": "object",
"required": [
"company"
],
"properties": {
"company": {
"type": "string",
"description": "Company name, domain or URL"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"country_hint": {
"type": "string",
"description": "ISO country hint for registry lookups, e.g. 'jp'"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Enrich Company",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Fill YOUR JSON schema from any URL (hybrid LLM + deterministic canonicalization). $0.03/call. Choose this when you have your OWN JSON schema to fill from any page; for company profiles use enrich_company or jp_company_profile.
| Parameter | Type | Description |
|---|---|---|
| url * | string | Absolute http(s) URL of the input (web page or PDF, per tool) |
| schema * | object | {key: description} pairs |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| instructions | string | optional extra guidance for filling the schema |
{
"name": "structured_extract",
"title": "Structured Extract",
"description": "Fill YOUR JSON schema from any URL (hybrid LLM + deterministic canonicalization). $0.03/call. Choose this when you have your OWN JSON schema to fill from any page; for company profiles use enrich_company or jp_company_profile.",
"inputSchema": {
"type": "object",
"required": [
"url",
"schema"
],
"properties": {
"url": {
"type": "string",
"description": "Absolute http(s) URL of the input (web page or PDF, per tool)"
},
"schema": {
"type": "object",
"description": "{key: description} pairs"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"instructions": {
"type": "string",
"description": "optional extra guidance for filling the schema"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Structured Extract",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Japanese company site to a standard profile JSON (name, address, representative, capital, contact). $0.03/site. Choose this when you have the URL of a Japanese company's OWN site and want its standard profile fields read from the page; for name/domain lookups use enrich_company (country_hint: jp).
| Parameter | Type | Description |
|---|---|---|
| url * | string | Absolute http(s) URL of the input (web page or PDF, per tool) |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
{
"name": "jp_company_profile",
"title": "Jp Company Profile",
"description": "Japanese company site to a standard profile JSON (name, address, representative, capital, contact). $0.03/site. Choose this when you have the URL of a Japanese company's OWN site and want its standard profile fields read from the page; for name/domain lookups use enrich_company (country_hint: jp).",
"inputSchema": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "Absolute http(s) URL of the input (web page or PDF, per tool)"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Jp Company Profile",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}One call: PDF invoice to parse (hallucination-guarded OCR) + field extraction + arithmetic verification (+optional issuer enrich). Flat $0.05/document; inputs validated before payment. Choose this when a PDF is an invoice/receipt and you want parse + field extraction + arithmetic verification in one paid call; for text only use parse_document.
| Parameter | Type | Description |
|---|---|---|
| url * | string | Absolute http(s) URL of the input (web page or PDF, per tool) |
| enrich | boolean | Also run issuer enrichment on the parsed invoice |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
{
"name": "document_pipeline",
"title": "Document Pipeline",
"description": "One call: PDF invoice to parse (hallucination-guarded OCR) + field extraction + arithmetic verification (+optional issuer enrich). Flat $0.05/document; inputs validated before payment. Choose this when a PDF is an invoice/receipt and you want parse + field extraction + arithmetic verification in one paid call; for text only use parse_document.",
"inputSchema": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "Absolute http(s) URL of the input (web page or PDF, per tool)"
},
"enrich": {
"type": "boolean",
"default": false,
"description": "Also run issuer enrichment on the parsed invoice"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Document Pipeline",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Merge 2-10 PDFs into one, in order. Deterministic, $0.003.
| Parameter | Type | Description |
|---|---|---|
| urls * | array | List of absolute PDF URLs, in order (2-10) |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
{
"name": "pdf_merge",
"title": "Pdf Merge",
"description": "Merge 2-10 PDFs into one, in order. Deterministic, $0.003.",
"inputSchema": {
"type": "object",
"required": [
"urls"
],
"properties": {
"urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of absolute PDF URLs, in order (2-10)"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Pdf Merge",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Extract pages from a PDF by 1-based ranges (e.g. 1-3,7) into a new PDF. Deterministic, $0.002.
| Parameter | Type | Description |
|---|---|---|
| url * | string | Absolute http(s) URL of the input (web page or PDF, per tool) |
| pages * | string | 1-based page ranges, e.g. '1-3,7' |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
{
"name": "pdf_pages",
"title": "Pdf Pages",
"description": "Extract pages from a PDF by 1-based ranges (e.g. 1-3,7) into a new PDF. Deterministic, $0.002.",
"inputSchema": {
"type": "object",
"required": [
"url",
"pages"
],
"properties": {
"url": {
"type": "string",
"description": "Absolute http(s) URL of the input (web page or PDF, per tool)"
},
"pages": {
"type": "string",
"description": "1-based page ranges, e.g. '1-3,7'"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Pdf Pages",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}PDF facts before you pay for parsing: pages, metadata, per-page text volume, scanned-or-not estimate. $0.001. Choose this first for any unknown PDF (cheapest real call); then parse_document, pdf_pages or document_pipeline.
| Parameter | Type | Description |
|---|---|---|
| url * | string | Absolute http(s) URL of the input (web page or PDF, per tool) |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
{
"name": "pdf_info",
"title": "Pdf Info",
"description": "PDF facts before you pay for parsing: pages, metadata, per-page text volume, scanned-or-not estimate. $0.001. Choose this first for any unknown PDF (cheapest real call); then parse_document, pdf_pages or document_pipeline.",
"inputSchema": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "Absolute http(s) URL of the input (web page or PDF, per tool)"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Pdf Info",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Analyze a meal photo to itemized nutrition JSON: dishes, portions, kcal, macros with per-item confidence, reference-object scale calibration, scene-complexity detection, a disclosed calibrated kcal range, PFC balance ratios and alcohol-aware 4/4/9 cross-checks. Calibrated on 30 weighed meals (range contained truth in 26/30). Every call is a 3-run consensus with disclosed spread + item agreement. $0.05/image.
| Parameter | Type | Description |
|---|---|---|
| hints | string | cuisine/context hint, e.g. 'Japanese teishoku, small diet portions' - measurably improves accuracy on regional home-style meals |
| image_url | string | Absolute http(s) URL of the image (JPEG/PNG/WebP) |
| pack_code | string | retry credit issued after an unbilled failed call (replaces payment) |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| image_base64 | string | Base64-encoded image bytes (alternative to image_url) |
{
"name": "meal_vision",
"title": "Meal Vision",
"description": "Analyze a meal photo to itemized nutrition JSON: dishes, portions, kcal, macros with per-item confidence, reference-object scale calibration, scene-complexity detection, a disclosed calibrated kcal range, PFC balance ratios and alcohol-aware 4/4/9 cross-checks. Calibrated on 30 weighed meals (range contained truth in 26/30). Every call is a 3-run consensus with disclosed spread + item agreement. $0.05/image.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"hints": {
"type": "string",
"description": "cuisine/context hint, e.g. 'Japanese teishoku, small diet portions' - measurably improves accuracy on regional home-style meals"
},
"image_url": {
"type": "string",
"description": "Absolute http(s) URL of the image (JPEG/PNG/WebP)"
},
"pack_code": {
"type": "string",
"description": "retry credit issued after an unbilled failed call (replaces payment)"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"image_base64": {
"type": "string",
"description": "Base64-encoded image bytes (alternative to image_url)"
}
},
"x-required-one-of": [
"image_url",
"image_base64"
]
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Meal Vision",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Integrated styling verdict: seasonal color (measured colorimetry consensus) + face-impression zone (published geometry rules) + body frame + integration rules (palette subset, taste, silhouette, modifiers). 1-3 face photos, optional full-body + questionnaire. Flat $0.05/call. Choose this when you want the integrated styling analysis as JSON to use or render yourself; it is the same analysis that style_report turns into a PDF. For color only use portrait_analysis.
| Parameter | Type | Description |
|---|---|---|
| style | string | One of: feminine, masculine, neutral. Styling context: feminine, masculine or neutral |
| images | array | Up to 3 objects {image_url | image_base64} |
| image_url | string | Absolute http(s) URL of the image (JPEG/PNG/WebP) |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| image_base64 | string | Base64-encoded image bytes (alternative to image_url) |
| questionnaire | object | Optional frame questionnaire answers (see /catalog input spec) |
| body_image_url | string | Optional full-body photo URL for frame estimation |
| body_image_base64 | string |
Client-ready deliverable: the style-profile analysis rendered as a finished PDF report in English or Japanese (palette with color names, style-aware outfit formulas, virtual draping boards with disclosed candidate conflicts, honest confidence) returned as report_pdf_base64 + full profile JSON. For agents serving human end-clients. Flat $2.99/call, or $1.99/unit with a prepaid report_pack credit (pass pack_code). Choose this when the result goes to a HUMAN end-client as a finished document; if you will present the result yourself, style_profile returns the same analysis as JSON for less.
| Parameter | Type | Description |
|---|---|---|
| name | string | client name printed on the report (same field as REST; client_name is accepted as an alias) |
| style | string | One of: feminine, masculine, neutral. Styling context: feminine, masculine or neutral |
| images | array | 1-3 face photos |
| language | string | report language |
| image_url | string | Absolute http(s) URL of the image (JPEG/PNG/WebP) |
| pack_code | string | prepaid credit from report_pack (replaces payment) |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| image_base64 | string |
Volume pricing for style_report: one $19.90 payment returns 10 single-use credit codes ($1.99/unit vs $2.99 single, en or ja, no expiry). Treat codes like cash. Not an analysis: it buys prepaid style_report credits. Choose this only when you expect to produce several style_report PDFs; pass each code as pack_code to style_report.
| Parameter | Type | Description |
|---|---|---|
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
{
"name": "report_pack",
"title": "Report Pack",
"description": "Volume pricing for style_report: one $19.90 payment returns 10 single-use credit codes ($1.99/unit vs $2.99 single, en or ja, no expiry). Treat codes like cash. Not an analysis: it buys prepaid style_report credits. Choose this only when you expect to produce several style_report PDFs; pass each code as pack_code to style_report.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Report Pack",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Personal color analysis from 1-3 portraits: measured pixel colorimetry (CIELAB/ITA) cross-checked against vision-model attributes, cross-photo lighting consistency, then a published deterministic rule table gives the 4-season verdict with palette and style advice. No identification; images not stored. Flat $0.05/call. Choose this when you need only the seasonal color verdict and palette as JSON. For the fuller styling verdict (face impression, body frame, silhouette) use style_profile; for a finished PDF for a human client use style_report.
| Parameter | Type | Description |
|---|---|---|
| style | string | One of: feminine, masculine, neutral. Styling context: feminine, masculine or neutral |
| images | array | up to 3 of {image_url|image_base64}; different lighting recommended |
| image_url | string | Absolute http(s) URL of the image (JPEG/PNG/WebP) |
| pack_code | string | retry credit issued after an unbilled failed call (replaces payment) |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| image_base64 | string | Base64-encoded image bytes (alternative to image_url) |
Annual gross salary to net take-home (social insurance + income tax + resident tax). Exact NTA Beppyo-5 table. $0.02/call. Deterministic, cites primary sources; errors and unverified rules are never billed. Choose this for a whole YEAR: annual gross salary to annual take-home after social insurance, income tax and resident tax. For one bonus use jp_bonus_net; for one month's premiums only use jp_social_insurance; to check an actual payslip use jp_payslip_audit.
| Parameter | Type | Description |
|---|---|---|
| age | integer | Age in years (selects care-insurance and other age-gated rules) |
| year | integer | Calendar year |
| as_of | string | Calculation reference date YYYY-MM-DD (default today); selects the rules version |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| dependents | object | Dependents object (see /catalog input spec) |
| prefecture * | string | Prefecture (romaji or Japanese), e.g. 'Tokyo' |
| annual_bonus_yen | integer | Annual bonus total in yen |
| annual_gross_yen * | integer |
Bonus net pay: social insurance and withholding tax (official rate table, based on previous month salary). $0.01/call. Deterministic, cites primary sources; errors and unverified rules are never billed. Choose this for ONE bonus payment: its social insurance and withholding tax (the tax rate depends on the previous month's salary after social insurance). For annual totals use jp_payroll_net.
| Parameter | Type | Description |
|---|---|---|
| age | integer | Age in years (selects care-insurance and other age-gated rules) |
| as_of | string | Calculation reference date YYYY-MM-DD (default today); selects the rules version |
| bonus_yen * | integer | Bonus amount in yen |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| dependents | integer | Dependents object (see /catalog input spec) |
| prefecture * | string | Prefecture (romaji or Japanese), e.g. 'Tokyo' |
| ytd_bonus_yen | integer | Bonus paid so far in the fiscal year (health-insurance annual cap check) |
| previous_month_after_si_yen | integer |
Monthly social insurance premiums from the official Kyokai-Kenpo grade table (FY2026). $0.01/call. Deterministic, cites primary sources; errors and unverified rules are never billed. Choose this when you only need the monthly social insurance premiums for a given monthly remuneration (official grade table); no tax is computed - for take-home pay use jp_payroll_net.
| Parameter | Type | Description |
|---|---|---|
| age | integer | Age in years (selects care-insurance and other age-gated rules) |
| as_of | string | Calculation reference date YYYY-MM-DD (default today); selects the rules version |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| prefecture * | string | Prefecture (romaji or Japanese), e.g. 'Tokyo' |
| monthly_remuneration_yen * | integer | Monthly remuneration in yen (grade table lookup) |
{
"name": "jp_social_insurance",
"title": "Jp Social Insurance",
"description": "Monthly social insurance premiums from the official Kyokai-Kenpo grade table (FY2026). $0.01/call. Deterministic, cites primary sources; errors and unverified rules are never billed. Choose this when you only need the monthly social insurance premiums for a given monthly remuneration (official grade table); no tax is computed - for take-home pay use jp_payroll_net.",
"inputSchema": {
"type": "object",
"required": [
"monthly_remuneration_yen",
"prefecture"
],
"properties": {
"age": {
"type": "integer",
"default": 30,
"description": "Age in years (selects care-insurance and other age-gated rules)"
},
"as_of": {
"type": "string",
"format": "date",
"description": "Calculation reference date YYYY-MM-DD (default today); selects the rules version"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"prefecture": {
"type": "string",
"description": "Prefecture (romaji or Japanese), e.g. 'Tokyo'"
},
"monthly_remuneration_yen": {
"type": "integer",
"description": "Monthly remuneration in yen (grade table lookup)"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Jp Social Insurance",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Income-wall analysis: tax, social insurance (1.06M/1.30M), spousal and student-dependent walls. $0.02/call. Deterministic, cites primary sources; errors and unverified rules are never billed. Choose this for 'how much can be earned before ...' questions: it locates the income walls (tax, social insurance, spousal, student dependent) for an annual income. It does not compute take-home pay (use jp_payroll_net).
| Parameter | Type | Description |
|---|---|---|
| year | integer | Calendar year |
| as_of | string | Calculation reference date YYYY-MM-DD (default today); selects the rules version |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| annual_income_yen * | integer | Expected annual income in yen |
{
"name": "jp_dependent_threshold",
"title": "Jp Dependent Threshold",
"description": "Income-wall analysis: tax, social insurance (1.06M/1.30M), spousal and student-dependent walls. $0.02/call. Deterministic, cites primary sources; errors and unverified rules are never billed. Choose this for 'how much can be earned before ...' questions: it locates the income walls (tax, social insurance, spousal, student dependent) for an annual income. It does not compute take-home pay (use jp_payroll_net).",
"inputSchema": {
"type": "object",
"required": [
"annual_income_yen"
],
"properties": {
"year": {
"type": "integer",
"default": 2026,
"description": "Calendar year"
},
"as_of": {
"type": "string",
"format": "date",
"description": "Calculation reference date YYYY-MM-DD (default today); selects the rules version"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"annual_income_yen": {
"type": "integer",
"description": "Expected annual income in yen"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Jp Dependent Threshold",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Consumption tax: per-rate invoice rounding, qualified-invoice validation, simplified taxation, 20% special. $0.01/call. Deterministic, cites primary sources; errors and unverified rules are never billed. Required by mode (default invoice_totals): invoice_totals -> lines; validate_invoice -> document; simplified -> taxable_sales_excl_yen, category; two_percent -> taxable_sales_excl_yen, taxable_period_start, taxable_period_end.
| Parameter | Type | Description |
|---|---|---|
| mode | string | Required by mode (default invoice_totals): invoice_totals -> lines; validate_invoice -> document; simplified -> taxable_sales_excl_yen, category; two_percent -> taxable_sales_excl_yen, taxable_period_start, taxable_period_end. |
| as_of | string | Calculation reference date YYYY-MM-DD (default today); selects the rules version |
| lines | array | Invoice lines [{amount_yen, qty, rate_key: standard|reduced}] |
| category | string | Simplified-taxation business class 1-6 |
| document | object | Qualified-invoice fields to validate (registration_number etc.) |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| taxable_period_end | string | Taxable period last day YYYY-MM-DD (two_percent) |
| taxable_period_start |
Japanese holidays, business-day arithmetic, statutory filing deadlines with holiday shift, wareki conversion. $0.003/call. Deterministic, cites primary sources; errors and unverified rules are never billed. Required by mode (default add): add -> from, days; between -> from, to; holidays -> year; deadline -> kind, base_date; wareki -> date.
| Parameter | Type | Description |
|---|---|---|
| to | string | End date YYYY-MM-DD |
| date | string | Date YYYY-MM-DD |
| days | integer | Number of business days to add |
| from | string | Start date YYYY-MM-DD |
| kind | string | One of: withholding_tax_monthly, social_insurance_monthly, corporate_tax, consumption_tax_corporate, income_tax_final, consumption_tax_individual, depreciable_assets, legal_records. Statutory deadline kind (see enum) |
| mode | string | Required by mode (default add): add -> from, days; between -> from, to; holidays -> year; deadline -> kind, base_date; wareki -> date. |
| year | integer | Calendar year |
| base_date | string | Base date YYYY-MM-DD for deadline calculation |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
Overtime premium pay (Labor Standards Act Art.37, official rounding notice) and Article-36 limit check. $0.015/call. Deterministic, cites primary sources; errors and unverified rules are never billed. Required by mode (default pay): pay -> monthly_salary_yen, monthly_scheduled_hours, hours; check36 -> monthly_overtime_hours.
| Parameter | Type | Description |
|---|---|---|
| mode | string | Required by mode (default pay): pay -> monthly_salary_yen, monthly_scheduled_hours, hours; check36 -> monthly_overtime_hours. |
| hours | object | Hours worked |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| monthly_salary_yen | integer | Monthly base salary in yen |
| monthly_overtime_hours | array | List of monthly overtime hours (36-agreement check) |
| monthly_scheduled_hours | number | Scheduled working hours per month |
{
"name": "jp_overtime_wage",
"title": "Jp Overtime Wage",
"description": "Overtime premium pay (Labor Standards Act Art.37, official rounding notice) and Article-36 limit check. $0.015/call. Deterministic, cites primary sources; errors and unverified rules are never billed. Required by mode (default pay): pay -> monthly_salary_yen, monthly_scheduled_hours, hours; check36 -> monthly_overtime_hours.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"mode": {
"enum": [
"pay",
"check36"
],
"type": "string",
"default": "pay",
"description": "Required by mode (default pay): pay -> monthly_salary_yen, monthly_scheduled_hours, hours; check36 -> monthly_overtime_hours."
},
"hours": {
"type": "object",
"description": "Hours worked"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"monthly_salary_yen": {
"type": "integer",
"description": "Monthly base salary in yen"
},
"monthly_overtime_hours": {
"type": "array",
"description": "List of monthly overtime hours (36-agreement check)"
},
"monthly_scheduled_hours": {
"type": "number",
"description": "Scheduled working hours per month"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Jp Overtime Wage",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Retirement income tax: deduction by years of service, half-taxation rules, exact withholding rounding. $0.02/call. Deterministic, cites primary sources; errors and unverified rules are never billed.
| Parameter | Type | Description |
|---|---|---|
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| disability | boolean | True if retirement is due to disability (extra deduction) |
| is_officer | boolean | True for an officer/executive (short-service officer rules) |
| payout_yen * | integer | Retirement allowance paid, in yen |
| years_of_service * | integer | Years of service (retirement income deduction) |
{
"name": "jp_retirement_tax",
"title": "Jp Retirement Tax",
"description": "Retirement income tax: deduction by years of service, half-taxation rules, exact withholding rounding. $0.02/call. Deterministic, cites primary sources; errors and unverified rules are never billed.",
"inputSchema": {
"type": "object",
"required": [
"payout_yen",
"years_of_service"
],
"properties": {
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"disability": {
"type": "boolean",
"default": false,
"description": "True if retirement is due to disability (extra deduction)"
},
"is_officer": {
"type": "boolean",
"default": false,
"description": "True for an officer/executive (short-service officer rules)"
},
"payout_yen": {
"type": "integer",
"description": "Retirement allowance paid, in yen"
},
"years_of_service": {
"type": "integer",
"description": "Years of service (retirement income deduction)"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Jp Retirement Tax",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Mortgage schedules (level payment/principal), total interest, prepayment effect. $0.005/call. Deterministic, cites primary sources; errors and unverified rules are never billed.
| Parameter | Type | Description |
|---|---|---|
| method | string | One of: level_payment, level_principal. Cost method: total_average or moving_average |
| months * | integer | Loan term in months |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| prepayment | object | Optional prepayment {at_month, amount_yen, mode: reduce_term|reduce_payment} |
| annual_rate * | number | Annual interest rate as a decimal, e.g. 0.01 |
| principal_yen * | integer | Loan principal in yen |
{
"name": "jp_mortgage",
"title": "Jp Mortgage",
"description": "Mortgage schedules (level payment/principal), total interest, prepayment effect. $0.005/call. Deterministic, cites primary sources; errors and unverified rules are never billed.",
"inputSchema": {
"type": "object",
"required": [
"principal_yen",
"annual_rate",
"months"
],
"properties": {
"method": {
"enum": [
"level_payment",
"level_principal"
],
"type": "string",
"default": "level_payment",
"description": "One of: level_payment, level_principal. Cost method: total_average or moving_average"
},
"months": {
"type": "integer",
"description": "Loan term in months"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"prepayment": {
"type": "object",
"description": "Optional prepayment {at_month, amount_yen, mode: reduce_term|reduce_payment}"
},
"annual_rate": {
"type": "number",
"description": "Annual interest rate as a decimal, e.g. 0.01"
},
"principal_yen": {
"type": "integer",
"description": "Loan principal in yen"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Jp Mortgage",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Audit a Japanese payslip: recompute statutory premiums and withholding tax from official tables and diff against the actual amounts, with per-item verdicts (match/explainable/mismatch). $0.02/call. Deterministic, cites primary sources; errors and unverified rules are never billed. Choose this when you HAVE an actual payslip and want each deduction checked against the official tables (match/explainable/mismatch); to compute expected amounts from a salary alone use jp_payroll_net or jp_social_insurance.
| Parameter | Type | Description |
|---|---|---|
| age | integer | Age in years (selects care-insurance and other age-gated rules) |
| as_of | string | Calculation reference date YYYY-MM-DD (default today); selects the rules version |
| payslip * | object | Payslip fields to audit - see /catalog input spec |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| prefecture * | string | Prefecture (romaji or Japanese), e.g. 'Tokyo' |
| standard_monthly_yen | integer | Standard monthly remuneration if known (else estimated from salary) |
Japan crypto-asset tax: realized income under the NTA total-average or moving-average method (sell/spend/exchange as disposals, fees deductible), verified against the official NTA FAQ examples. $0.05/call. Deterministic, cites primary sources; errors and unverified rules are never billed.
| Parameter | Type | Description |
|---|---|---|
| year | integer | Calendar year |
| as_of | string | Calculation reference date YYYY-MM-DD (default today); selects the rules version |
| method | string | One of: total_average, moving_average. Cost method: total_average or moving_average |
| opening | array | Carried-over holdings [{asset, qty, cost_jpy}] |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| transactions * | array | Crypto transactions list (max 300) - see /catalog input spec |
| other_taxable_income_yen | integer | Other taxable income in yen (returns incremental income tax as reference) |
Japan payroll suite: net salary + social insurance + income walls (+bonus) in one call. Flat $0.05. Choose this when you want take-home pay, social insurance and the income walls (and the bonus, if given) together from one annual figure in one call; if you only need the take-home amount, jp_payroll_net is cheaper.
| Parameter | Type | Description |
|---|---|---|
| age | integer | Age in years (selects care-insurance and other age-gated rules) |
| x_payment | string | Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged. |
| dependents | object | Dependents object (see /catalog input spec) |
| prefecture * | string | Prefecture (romaji or Japanese), e.g. 'Tokyo' |
| annual_bonus_yen | integer | Annual bonus total in yen |
| annual_gross_yen * | integer | Annual gross salary in yen |
| previous_month_after_si_yen | integer | Previous month's pay after social insurance (withholding table lookup) |
Mart402: pay-per-call APIs for AI agents - documents & web, Japan statutory calculations, calibrated vision (x402, USDC on Base; no account, no API key). Free tools work immediately. Paid tools called without x_payment return the exact payment requirements instead of charging you. Typical workflow: check an unfamiliar x402 seller for free (search_x402_services, operator_history), pay it, then verify what it returned (verify_invoice, document_pipeline; free samples via get_sample). Cheapest first real calls to test your payment loop end to end: jp_business_days at $0.003 (deterministic, LLM-free) or pdf_info at $0.001. Line-specific endpoints with smaller tool sets: /mcp/docs, /mcp/jp, /mcp/vision, /mcp/market. Docs: https://mart402.com/agents.md
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| See the product's input spec in /catalog |
{
"name": "style_profile",
"title": "Style Profile",
"description": "Integrated styling verdict: seasonal color (measured colorimetry consensus) + face-impression zone (published geometry rules) + body frame + integration rules (palette subset, taste, silhouette, modifiers). 1-3 face photos, optional full-body + questionnaire. Flat $0.05/call. Choose this when you want the integrated styling analysis as JSON to use or render yourself; it is the same analysis that style_report turns into a PDF. For color only use portrait_analysis.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"style": {
"enum": [
"feminine",
"masculine",
"neutral"
],
"type": "string",
"default": "neutral",
"description": "One of: feminine, masculine, neutral. Styling context: feminine, masculine or neutral"
},
"images": {
"type": "array",
"items": {
"type": "object"
},
"description": "Up to 3 objects {image_url | image_base64}"
},
"image_url": {
"type": "string",
"description": "Absolute http(s) URL of the image (JPEG/PNG/WebP)"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"image_base64": {
"type": "string",
"description": "Base64-encoded image bytes (alternative to image_url)"
},
"questionnaire": {
"type": "object",
"description": "Optional frame questionnaire answers (see /catalog input spec)"
},
"body_image_url": {
"type": "string",
"description": "Optional full-body photo URL for frame estimation"
},
"body_image_base64": {
"type": "string",
"description": "See the product's input spec in /catalog"
}
},
"x-required-one-of": [
"image_url",
"image_base64",
"images"
]
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Style Profile",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| Base64-encoded image bytes (alternative to image_url) |
| questionnaire | object | optional answers (see /catalog style-report input) |
| body_image_url | string | optional full-body photo URL (body-shape layer) |
| body_image_base64 | string | optional full-body photo as base64 |
{
"name": "style_report",
"title": "Style Report",
"description": "Client-ready deliverable: the style-profile analysis rendered as a finished PDF report in English or Japanese (palette with color names, style-aware outfit formulas, virtual draping boards with disclosed candidate conflicts, honest confidence) returned as report_pdf_base64 + full profile JSON. For agents serving human end-clients. Flat $2.99/call, or $1.99/unit with a prepaid report_pack credit (pass pack_code). Choose this when the result goes to a HUMAN end-client as a finished document; if you will present the result yourself, style_profile returns the same analysis as JSON for less.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"name": {
"type": "string",
"description": "client name printed on the report (same field as REST; client_name is accepted as an alias)"
},
"style": {
"enum": [
"feminine",
"masculine",
"neutral"
],
"type": "string",
"default": "neutral",
"description": "One of: feminine, masculine, neutral. Styling context: feminine, masculine or neutral"
},
"images": {
"type": "array",
"items": {
"type": "object"
},
"description": "1-3 face photos"
},
"language": {
"enum": [
"en",
"ja"
],
"type": "string",
"default": "en",
"description": "report language"
},
"image_url": {
"type": "string",
"description": "Absolute http(s) URL of the image (JPEG/PNG/WebP)"
},
"pack_code": {
"type": "string",
"description": "prepaid credit from report_pack (replaces payment)"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"image_base64": {
"type": "string",
"description": "Base64-encoded image bytes (alternative to image_url)"
},
"questionnaire": {
"type": "object",
"description": "optional answers (see /catalog style-report input)"
},
"body_image_url": {
"type": "string",
"description": "optional full-body photo URL (body-shape layer)"
},
"body_image_base64": {
"type": "string",
"description": "optional full-body photo as base64"
}
},
"x-required-one-of": [
"image_url",
"image_base64",
"images"
]
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Style Report",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "portrait_analysis",
"title": "Portrait Analysis",
"description": "Personal color analysis from 1-3 portraits: measured pixel colorimetry (CIELAB/ITA) cross-checked against vision-model attributes, cross-photo lighting consistency, then a published deterministic rule table gives the 4-season verdict with palette and style advice. No identification; images not stored. Flat $0.05/call. Choose this when you need only the seasonal color verdict and palette as JSON. For the fuller styling verdict (face impression, body frame, silhouette) use style_profile; for a finished PDF for a human client use style_report.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"style": {
"enum": [
"feminine",
"masculine",
"neutral"
],
"type": "string",
"default": "neutral",
"description": "One of: feminine, masculine, neutral. Styling context: feminine, masculine or neutral"
},
"images": {
"type": "array",
"items": {
"type": "object"
},
"description": "up to 3 of {image_url|image_base64}; different lighting recommended"
},
"image_url": {
"type": "string",
"description": "Absolute http(s) URL of the image (JPEG/PNG/WebP)"
},
"pack_code": {
"type": "string",
"description": "retry credit issued after an unbilled failed call (replaces payment)"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"image_base64": {
"type": "string",
"description": "Base64-encoded image bytes (alternative to image_url)"
}
},
"x-required-one-of": [
"image_url",
"image_base64",
"images"
]
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Portrait Analysis",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| Annual gross salary in yen |
{
"name": "jp_payroll_net",
"title": "Jp Payroll Net",
"description": "Annual gross salary to net take-home (social insurance + income tax + resident tax). Exact NTA Beppyo-5 table. $0.02/call. Deterministic, cites primary sources; errors and unverified rules are never billed. Choose this for a whole YEAR: annual gross salary to annual take-home after social insurance, income tax and resident tax. For one bonus use jp_bonus_net; for one month's premiums only use jp_social_insurance; to check an actual payslip use jp_payslip_audit.",
"inputSchema": {
"type": "object",
"required": [
"annual_gross_yen",
"prefecture"
],
"properties": {
"age": {
"type": "integer",
"default": 30,
"description": "Age in years (selects care-insurance and other age-gated rules)"
},
"year": {
"type": "integer",
"default": 2026,
"description": "Calendar year"
},
"as_of": {
"type": "string",
"format": "date",
"description": "Calculation reference date YYYY-MM-DD (default today); selects the rules version"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"dependents": {
"type": "object",
"description": "Dependents object (see /catalog input spec)"
},
"prefecture": {
"type": "string",
"description": "Prefecture (romaji or Japanese), e.g. 'Tokyo'"
},
"annual_bonus_yen": {
"type": "integer",
"default": 0,
"description": "Annual bonus total in yen"
},
"annual_gross_yen": {
"type": "integer",
"description": "Annual gross salary in yen"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Jp Payroll Net",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| Previous month's pay after social insurance (withholding table lookup) |
{
"name": "jp_bonus_net",
"title": "Jp Bonus Net",
"description": "Bonus net pay: social insurance and withholding tax (official rate table, based on previous month salary). $0.01/call. Deterministic, cites primary sources; errors and unverified rules are never billed. Choose this for ONE bonus payment: its social insurance and withholding tax (the tax rate depends on the previous month's salary after social insurance). For annual totals use jp_payroll_net.",
"inputSchema": {
"type": "object",
"required": [
"bonus_yen",
"prefecture"
],
"properties": {
"age": {
"type": "integer",
"default": 30,
"description": "Age in years (selects care-insurance and other age-gated rules)"
},
"as_of": {
"type": "string",
"format": "date",
"description": "Calculation reference date YYYY-MM-DD (default today); selects the rules version"
},
"bonus_yen": {
"type": "integer",
"description": "Bonus amount in yen"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"dependents": {
"type": "integer",
"default": 0,
"description": "Dependents object (see /catalog input spec)"
},
"prefecture": {
"type": "string",
"description": "Prefecture (romaji or Japanese), e.g. 'Tokyo'"
},
"ytd_bonus_yen": {
"type": "integer",
"default": 0,
"description": "Bonus paid so far in the fiscal year (health-insurance annual cap check)"
},
"previous_month_after_si_yen": {
"type": "integer",
"description": "Previous month's pay after social insurance (withholding table lookup)"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Jp Bonus Net",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| Taxable period first day YYYY-MM-DD (two_percent) |
| taxable_sales_excl_yen | integer | Taxable sales excluding tax, in yen |
{
"name": "jp_consumption_tax",
"title": "Jp Consumption Tax",
"description": "Consumption tax: per-rate invoice rounding, qualified-invoice validation, simplified taxation, 20% special. $0.01/call. Deterministic, cites primary sources; errors and unverified rules are never billed. Required by mode (default invoice_totals): invoice_totals -> lines; validate_invoice -> document; simplified -> taxable_sales_excl_yen, category; two_percent -> taxable_sales_excl_yen, taxable_period_start, taxable_period_end.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"mode": {
"enum": [
"invoice_totals",
"validate_invoice",
"simplified",
"two_percent"
],
"type": "string",
"default": "invoice_totals",
"description": "Required by mode (default invoice_totals): invoice_totals -> lines; validate_invoice -> document; simplified -> taxable_sales_excl_yen, category; two_percent -> taxable_sales_excl_yen, taxable_period_start, taxable_period_end."
},
"as_of": {
"type": "string",
"format": "date",
"description": "Calculation reference date YYYY-MM-DD (default today); selects the rules version"
},
"lines": {
"type": "array",
"description": "Invoice lines [{amount_yen, qty, rate_key: standard|reduced}]"
},
"category": {
"type": "string",
"description": "Simplified-taxation business class 1-6"
},
"document": {
"type": "object",
"description": "Qualified-invoice fields to validate (registration_number etc.)"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"taxable_period_end": {
"type": "string",
"format": "date",
"description": "Taxable period last day YYYY-MM-DD (two_percent)"
},
"taxable_period_start": {
"type": "string",
"format": "date",
"description": "Taxable period first day YYYY-MM-DD (two_percent)"
},
"taxable_sales_excl_yen": {
"type": "integer",
"description": "Taxable sales excluding tax, in yen"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Jp Consumption Tax",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| saturday_off | boolean | Treat Saturdays as non-business days (default true) |
{
"name": "jp_business_days",
"title": "Jp Business Days",
"description": "Japanese holidays, business-day arithmetic, statutory filing deadlines with holiday shift, wareki conversion. $0.003/call. Deterministic, cites primary sources; errors and unverified rules are never billed. Required by mode (default add): add -> from, days; between -> from, to; holidays -> year; deadline -> kind, base_date; wareki -> date.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"to": {
"type": "string",
"format": "date",
"description": "End date YYYY-MM-DD"
},
"date": {
"type": "string",
"format": "date",
"description": "Date YYYY-MM-DD"
},
"days": {
"type": "integer",
"description": "Number of business days to add"
},
"from": {
"type": "string",
"format": "date",
"description": "Start date YYYY-MM-DD"
},
"kind": {
"enum": [
"withholding_tax_monthly",
"social_insurance_monthly",
"corporate_tax",
"consumption_tax_corporate",
"income_tax_final",
"consumption_tax_individual",
"depreciable_assets",
"legal_records"
],
"type": "string",
"description": "One of: withholding_tax_monthly, social_insurance_monthly, corporate_tax, consumption_tax_corporate, income_tax_final, consumption_tax_individual, depreciable_assets, legal_records. Statutory deadline kind (see enum)"
},
"mode": {
"enum": [
"add",
"between",
"holidays",
"deadline",
"wareki"
],
"type": "string",
"default": "add",
"description": "Required by mode (default add): add -> from, days; between -> from, to; holidays -> year; deadline -> kind, base_date; wareki -> date."
},
"year": {
"type": "integer",
"description": "Calendar year"
},
"base_date": {
"type": "string",
"format": "date",
"description": "Base date YYYY-MM-DD for deadline calculation"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"saturday_off": {
"type": "boolean",
"default": true,
"description": "Treat Saturdays as non-business days (default true)"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Jp Business Days",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "jp_payslip_audit",
"title": "Jp Payslip Audit",
"description": "Audit a Japanese payslip: recompute statutory premiums and withholding tax from official tables and diff against the actual amounts, with per-item verdicts (match/explainable/mismatch). $0.02/call. Deterministic, cites primary sources; errors and unverified rules are never billed. Choose this when you HAVE an actual payslip and want each deduction checked against the official tables (match/explainable/mismatch); to compute expected amounts from a salary alone use jp_payroll_net or jp_social_insurance.",
"inputSchema": {
"type": "object",
"required": [
"prefecture",
"payslip"
],
"properties": {
"age": {
"type": "integer",
"default": 30,
"description": "Age in years (selects care-insurance and other age-gated rules)"
},
"as_of": {
"type": "string",
"format": "date",
"description": "Calculation reference date YYYY-MM-DD (default today); selects the rules version"
},
"payslip": {
"type": "object",
"required": [
"monthly_gross_yen"
],
"properties": {
"monthly_gross_yen": {
"type": "integer"
}
},
"description": "Payslip fields to audit - see /catalog input spec"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"prefecture": {
"type": "string",
"description": "Prefecture (romaji or Japanese), e.g. 'Tokyo'"
},
"standard_monthly_yen": {
"type": "integer",
"description": "Standard monthly remuneration if known (else estimated from salary)"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Jp Payslip Audit",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "jp_crypto_tax",
"title": "Jp Crypto Tax",
"description": "Japan crypto-asset tax: realized income under the NTA total-average or moving-average method (sell/spend/exchange as disposals, fees deductible), verified against the official NTA FAQ examples. $0.05/call. Deterministic, cites primary sources; errors and unverified rules are never billed.",
"inputSchema": {
"type": "object",
"required": [
"transactions"
],
"properties": {
"year": {
"type": "integer",
"default": 2026,
"description": "Calendar year"
},
"as_of": {
"type": "string",
"format": "date",
"description": "Calculation reference date YYYY-MM-DD (default today); selects the rules version"
},
"method": {
"enum": [
"total_average",
"moving_average"
],
"type": "string",
"default": "total_average",
"description": "One of: total_average, moving_average. Cost method: total_average or moving_average"
},
"opening": {
"type": "array",
"description": "Carried-over holdings [{asset, qty, cost_jpy}]"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"transactions": {
"type": "array",
"description": "Crypto transactions list (max 300) - see /catalog input spec"
},
"other_taxable_income_yen": {
"type": "integer",
"description": "Other taxable income in yen (returns incremental income tax as reference)"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Jp Crypto Tax",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "jp_payroll_suite",
"title": "Jp Payroll Suite",
"description": "Japan payroll suite: net salary + social insurance + income walls (+bonus) in one call. Flat $0.05. Choose this when you want take-home pay, social insurance and the income walls (and the bonus, if given) together from one annual figure in one call; if you only need the take-home amount, jp_payroll_net is cheaper.",
"inputSchema": {
"type": "object",
"required": [
"annual_gross_yen",
"prefecture"
],
"properties": {
"age": {
"type": "integer",
"description": "Age in years (selects care-insurance and other age-gated rules)"
},
"x_payment": {
"type": "string",
"description": "Optional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged."
},
"dependents": {
"type": "object",
"description": "Dependents object (see /catalog input spec)"
},
"prefecture": {
"type": "string",
"description": "Prefecture (romaji or Japanese), e.g. 'Tokyo'"
},
"annual_bonus_yen": {
"type": "integer",
"description": "Annual bonus total in yen"
},
"annual_gross_yen": {
"type": "integer",
"description": "Annual gross salary in yen"
},
"previous_month_after_si_yen": {
"type": "integer",
"description": "Previous month's pay after social insurance (withholding table lookup)"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status",
"body"
],
"properties": {
"body": {
"description": "JSON body of the underlying call (see /samples/{product} for each product's shape)"
},
"status": {
"type": "integer",
"description": "HTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)"
},
"how_to_pay": {
"type": "string"
},
"receipt_id": {
"type": "string",
"description": "set on paid results; free re-fetch via get_receipt"
},
"payment_required": {
"type": "boolean",
"description": "true when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment"
}
}
},
"annotations": {
"title": "Jp Payroll Suite",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}