Web extraction, OCR (Japanese-strong), invoice and company data for AI agents. x402, no API key.
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
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.
Absolute http(s) URL of the input (web page or PDF, per tool)
Also run issuer enrichment on the parsed invoice
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.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
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.
| Argument | 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. |
{
"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."
}
}
}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.
| Argument | 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' |
{
"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'"
}
}
}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.
| Argument | 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. |
{
"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."
}
}
}Mart402 product catalog: all products, prices, payment config, error codes, rate limits. Free.
No arguments.
{
"type": "object",
"properties": {}
}Re-fetch a previously paid result for free by receipt id (every paid response carries receipt_id).
| Argument | Type | Description |
|---|---|---|
| receipt_id* | string | receipt_id from a paid response (rcpt_...) |
{
"type": "object",
"required": [
"receipt_id"
],
"properties": {
"receipt_id": {
"type": "string",
"description": "receipt_id from a paid response (rcpt_...)"
}
}
}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.
| Argument | 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-info, pdf-merge, pdf-pages, portrait-analysis, report-pack, structured, style-profile, style-report, verify. Product id (see the enum) |
{
"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)"
}
}
}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.
| Argument | 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 |
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.
| Argument | 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 |
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).
| Argument | 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. |
{
"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."
}
}
}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.
| Argument | 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 |
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.
| Argument | 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) |
{
"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)"
}
}
}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).
| Argument | 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 |
{
"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"
}
}
}Mortgage schedules (level payment/principal), total interest, prepayment effect. $0.005/call. Deterministic, cites primary sources; errors and unverified rules are never billed.
| Argument | 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 |
{
"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"
}
}
}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.
| Argument | 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 |
{
"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"
}
}
}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.
| Argument | 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 |
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.
| Argument | 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) |
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.
| Argument | 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) |
{
"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)"
}
}
}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.
| Argument | 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) |
{
"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)"
}
}
}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.
| Argument | 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) |
{
"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)"
}
}
}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.
| Argument | 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) |
{
"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"
]
}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.
| Argument | 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) |
{
"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"
]
}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.
| Argument | Type | Description |
|---|---|---|
| operator* | string | operator domain, e.g. mart402.com |
{
"type": "object",
"required": [
"operator"
],
"properties": {
"operator": {
"type": "string",
"description": "operator domain, e.g. mart402.com"
}
}
}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.
| Argument | 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. |
{
"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"
]
}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.
| Argument | 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. |
{
"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."
}
}
}Merge 2-10 PDFs into one, in order. Deterministic, $0.003.
| Argument | 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. |
{
"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."
}
}
}Extract pages from a PDF by 1-based ranges (e.g. 1-3,7) into a new PDF. Deterministic, $0.002.
| Argument | 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. |
{
"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."
}
}
}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.
| Argument | 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) |
{
"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"
]
}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.
| Argument | 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) |
{
"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"
]
}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).
| Argument | Type | Description |
|---|---|---|
| url* | string | PDF URL |
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "PDF URL"
}
}
}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.
| Argument | 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. |
{
"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."
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| q* | string | Capability keyword, e.g. 'ocr', 'market-data', 'weather' |
| limit | integer | Maximum results (default 10) |
{
"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)"
}
}
}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.
| Argument | 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 |
{
"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"
}
}
}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.
| Argument | 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 |
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.
| Argument | 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. |
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.
| Argument | 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 |
{
"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"
}
}
}| integer |
| Previous month's pay after social insurance (withholding table lookup) |
{
"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)"
}
}
}| 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. |
| saturday_off | boolean | Treat Saturdays as non-business days (default true) |
{
"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)"
}
}
}| Taxable period last day YYYY-MM-DD (two_percent) |
| taxable_period_start | string | Taxable period first day YYYY-MM-DD (two_percent) |
| taxable_sales_excl_yen | integer | Taxable sales excluding tax, in yen |
{
"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"
}
}
}| integer |
| Annual gross salary in yen |
{
"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"
}
}
}{
"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)"
}
}
}| body_image_base64 |
| string |
| See the product's input spec in /catalog |
{
"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"
]
}| image_base64 | string | 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 |
{
"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"
]
}