Server definition
- Hash
- sha256:c9210041facc5072ad76f46460c9681025179fb9908112dcdbaffcf949cfc8a6
- What it is
- What a remote MCP server returned when asked what it offers: 35 tools
The blob, as servednamed by its sha256
{
"instructions": "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",
"tools": [
{
"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.",
"inputSchema": {
"properties": {
"enrich": {
"default": false,
"description": "Also run issuer enrichment on the parsed invoice",
"type": "boolean"
},
"url": {
"description": "Absolute http(s) URL of the input (web page or PDF, per tool)",
"type": "string"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "document_pipeline",
"outputSchema": null
},
{
"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": {
"properties": {
"company": {
"description": "Company name, domain or URL",
"type": "string"
},
"country_hint": {
"description": "ISO country hint for registry lookups, e.g. 'jp'",
"type": "string"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [
"company"
],
"type": "object"
},
"name": "enrich_company",
"outputSchema": null
},
{
"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.",
"inputSchema": {
"properties": {
"mode": {
"default": "auto",
"description": "Extraction mode: auto (fast with rendered fallback), fast, heavy",
"enum": [
"auto",
"fast",
"heavy"
],
"type": "string"
},
"url": {
"description": "Absolute http(s) URL of the input (web page or PDF, per tool)",
"type": "string"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "extract_url",
"outputSchema": null
},
{
"description": "Mart402 product catalog: all products, prices, payment config, error codes, rate limits. Free.",
"inputSchema": {
"properties": {},
"type": "object"
},
"name": "get_catalog",
"outputSchema": null
},
{
"description": "Re-fetch a previously paid result for free by receipt id (every paid response carries receipt_id).",
"inputSchema": {
"properties": {
"receipt_id": {
"description": "receipt_id from a paid response (rcpt_...)",
"type": "string"
}
},
"required": [
"receipt_id"
],
"type": "object"
},
"name": "get_receipt",
"outputSchema": null
},
{
"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": {
"properties": {
"product": {
"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)",
"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"
}
},
"required": [
"product"
],
"type": "object"
},
"name": "get_sample",
"outputSchema": null
},
{
"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.",
"inputSchema": {
"properties": {
"age": {
"default": 30,
"description": "Age in years (selects care-insurance and other age-gated rules)",
"type": "integer"
},
"as_of": {
"description": "Calculation reference date YYYY-MM-DD (default today); selects the rules version",
"format": "date",
"type": "string"
},
"bonus_yen": {
"description": "Bonus amount in yen",
"type": "integer"
},
"dependents": {
"default": 0,
"description": "Dependents object (see /catalog input spec)",
"type": "integer"
},
"prefecture": {
"description": "Prefecture (romaji or Japanese), e.g. 'Tokyo'",
"type": "string"
},
"previous_month_after_si_yen": {
"description": "Previous month's pay after social insurance (withholding table lookup)",
"type": "integer"
},
"x_payment": {
"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.",
"type": "string"
},
"ytd_bonus_yen": {
"default": 0,
"description": "Bonus paid so far in the fiscal year (health-insurance annual cap check)",
"type": "integer"
}
},
"required": [
"bonus_yen",
"prefecture"
],
"type": "object"
},
"name": "jp_bonus_net",
"outputSchema": null
},
{
"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.",
"inputSchema": {
"properties": {
"base_date": {
"description": "Base date YYYY-MM-DD for deadline calculation",
"format": "date",
"type": "string"
},
"date": {
"description": "Date YYYY-MM-DD",
"format": "date",
"type": "string"
},
"days": {
"description": "Number of business days to add",
"type": "integer"
},
"from": {
"description": "Start date YYYY-MM-DD",
"format": "date",
"type": "string"
},
"kind": {
"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)",
"enum": [
"withholding_tax_monthly",
"social_insurance_monthly",
"corporate_tax",
"consumption_tax_corporate",
"income_tax_final",
"consumption_tax_individual",
"depreciable_assets",
"legal_records"
],
"type": "string"
},
"mode": {
"description": "One of: add, between, holidays, deadline, wareki",
"enum": [
"add",
"between",
"holidays",
"deadline",
"wareki"
],
"type": "string"
},
"saturday_off": {
"default": true,
"description": "Treat Saturdays as non-business days (default true)",
"type": "boolean"
},
"to": {
"description": "End date YYYY-MM-DD",
"format": "date",
"type": "string"
},
"x_payment": {
"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.",
"type": "string"
},
"year": {
"description": "Calendar year",
"type": "integer"
}
},
"required": [
"mode"
],
"type": "object"
},
"name": "jp_business_days",
"outputSchema": null
},
{
"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": {
"properties": {
"url": {
"description": "Absolute http(s) URL of the input (web page or PDF, per tool)",
"type": "string"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "jp_company_profile",
"outputSchema": null
},
{
"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.",
"inputSchema": {
"properties": {
"as_of": {
"description": "Calculation reference date YYYY-MM-DD (default today); selects the rules version",
"format": "date",
"type": "string"
},
"category": {
"description": "Simplified-taxation business class 1-6",
"type": "string"
},
"document": {
"description": "Qualified-invoice fields to validate (registration_number etc.)",
"type": "object"
},
"lines": {
"description": "Invoice lines [{amount_yen, qty, rate_key: standard|reduced}]",
"type": "array"
},
"mode": {
"description": "One of: invoice_totals, validate_invoice, simplified, two_percent",
"enum": [
"invoice_totals",
"validate_invoice",
"simplified",
"two_percent"
],
"type": "string"
},
"taxable_period_end": {
"description": "Taxable period last day YYYY-MM-DD (two_percent)",
"format": "date",
"type": "string"
},
"taxable_period_start": {
"description": "Taxable period first day YYYY-MM-DD (two_percent)",
"format": "date",
"type": "string"
},
"taxable_sales_excl_yen": {
"description": "Taxable sales excluding tax, in yen",
"type": "integer"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [
"mode"
],
"type": "object"
},
"name": "jp_consumption_tax",
"outputSchema": null
},
{
"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": {
"properties": {
"as_of": {
"description": "Calculation reference date YYYY-MM-DD (default today); selects the rules version",
"format": "date",
"type": "string"
},
"method": {
"default": "total_average",
"description": "One of: total_average, moving_average. Cost method: total_average or moving_average",
"enum": [
"total_average",
"moving_average"
],
"type": "string"
},
"opening": {
"description": "Carried-over holdings [{asset, qty, cost_jpy}]",
"type": "array"
},
"other_taxable_income_yen": {
"description": "Other taxable income in yen (returns incremental income tax as reference)",
"type": "integer"
},
"transactions": {
"description": "Crypto transactions list (max 300) - see /catalog input spec",
"type": "array"
},
"x_payment": {
"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.",
"type": "string"
},
"year": {
"default": 2026,
"description": "Calendar year",
"type": "integer"
}
},
"required": [
"transactions"
],
"type": "object"
},
"name": "jp_crypto_tax",
"outputSchema": null
},
{
"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.",
"inputSchema": {
"properties": {
"annual_income_yen": {
"description": "Expected annual income in yen",
"type": "integer"
},
"as_of": {
"description": "Calculation reference date YYYY-MM-DD (default today); selects the rules version",
"format": "date",
"type": "string"
},
"x_payment": {
"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.",
"type": "string"
},
"year": {
"default": 2026,
"description": "Calendar year",
"type": "integer"
}
},
"required": [
"annual_income_yen"
],
"type": "object"
},
"name": "jp_dependent_threshold",
"outputSchema": null
},
{
"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": {
"properties": {
"annual_rate": {
"description": "Annual interest rate as a decimal, e.g. 0.01",
"type": "number"
},
"method": {
"default": "level_payment",
"description": "One of: level_payment, level_principal. Cost method: total_average or moving_average",
"enum": [
"level_payment",
"level_principal"
],
"type": "string"
},
"months": {
"description": "Loan term in months",
"type": "integer"
},
"prepayment": {
"description": "Optional prepayment {at_month, amount_yen, mode: reduce_term|reduce_payment}",
"type": "object"
},
"principal_yen": {
"description": "Loan principal in yen",
"type": "integer"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [
"principal_yen",
"annual_rate",
"months"
],
"type": "object"
},
"name": "jp_mortgage",
"outputSchema": null
},
{
"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.",
"inputSchema": {
"properties": {
"hours": {
"description": "Hours worked",
"type": "object"
},
"mode": {
"description": "One of: pay, check36",
"enum": [
"pay",
"check36"
],
"type": "string"
},
"monthly_overtime_hours": {
"description": "List of monthly overtime hours (36-agreement check)",
"type": "array"
},
"monthly_salary_yen": {
"description": "Monthly base salary in yen",
"type": "integer"
},
"monthly_scheduled_hours": {
"description": "Scheduled working hours per month",
"type": "number"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [
"mode"
],
"type": "object"
},
"name": "jp_overtime_wage",
"outputSchema": null
},
{
"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.",
"inputSchema": {
"properties": {
"age": {
"default": 30,
"description": "Age in years (selects care-insurance and other age-gated rules)",
"type": "integer"
},
"annual_bonus_yen": {
"default": 0,
"description": "Annual bonus total in yen",
"type": "integer"
},
"annual_gross_yen": {
"description": "Annual gross salary in yen",
"type": "integer"
},
"as_of": {
"description": "Calculation reference date YYYY-MM-DD (default today); selects the rules version",
"format": "date",
"type": "string"
},
"dependents": {
"description": "Dependents object (see /catalog input spec)",
"type": "object"
},
"prefecture": {
"description": "Prefecture (romaji or Japanese), e.g. 'Tokyo'",
"type": "string"
},
"x_payment": {
"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.",
"type": "string"
},
"year": {
"default": 2026,
"description": "Calendar year",
"type": "integer"
}
},
"required": [
"annual_gross_yen",
"prefecture"
],
"type": "object"
},
"name": "jp_payroll_net",
"outputSchema": null
},
{
"description": "Japan payroll suite: net salary + social insurance + income walls (+bonus) in one call. Flat $0.05.",
"inputSchema": {
"properties": {
"age": {
"description": "Age in years (selects care-insurance and other age-gated rules)",
"type": "integer"
},
"annual_bonus_yen": {
"description": "Annual bonus total in yen",
"type": "integer"
},
"annual_gross_yen": {
"description": "Annual gross salary in yen",
"type": "integer"
},
"dependents": {
"description": "Dependents object (see /catalog input spec)",
"type": "object"
},
"prefecture": {
"description": "Prefecture (romaji or Japanese), e.g. 'Tokyo'",
"type": "string"
},
"previous_month_after_si_yen": {
"description": "Previous month's pay after social insurance (withholding table lookup)",
"type": "integer"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [
"annual_gross_yen",
"prefecture"
],
"type": "object"
},
"name": "jp_payroll_suite",
"outputSchema": null
},
{
"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.",
"inputSchema": {
"properties": {
"age": {
"default": 30,
"description": "Age in years (selects care-insurance and other age-gated rules)",
"type": "integer"
},
"as_of": {
"description": "Calculation reference date YYYY-MM-DD (default today); selects the rules version",
"format": "date",
"type": "string"
},
"payslip": {
"description": "Payslip fields to audit - see /catalog input spec",
"type": "object"
},
"prefecture": {
"description": "Prefecture (romaji or Japanese), e.g. 'Tokyo'",
"type": "string"
},
"standard_monthly_yen": {
"description": "Standard monthly remuneration if known (else estimated from salary)",
"type": "integer"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [
"prefecture",
"payslip"
],
"type": "object"
},
"name": "jp_payslip_audit",
"outputSchema": null
},
{
"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": {
"properties": {
"disability": {
"default": false,
"description": "True if retirement is due to disability (extra deduction)",
"type": "boolean"
},
"is_officer": {
"default": false,
"description": "True for an officer/executive (short-service officer rules)",
"type": "boolean"
},
"payout_yen": {
"description": "Retirement allowance paid, in yen",
"type": "integer"
},
"x_payment": {
"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.",
"type": "string"
},
"years_of_service": {
"description": "Years of service (retirement income deduction)",
"type": "integer"
}
},
"required": [
"payout_yen",
"years_of_service"
],
"type": "object"
},
"name": "jp_retirement_tax",
"outputSchema": null
},
{
"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.",
"inputSchema": {
"properties": {
"age": {
"default": 30,
"description": "Age in years (selects care-insurance and other age-gated rules)",
"type": "integer"
},
"as_of": {
"description": "Calculation reference date YYYY-MM-DD (default today); selects the rules version",
"format": "date",
"type": "string"
},
"monthly_remuneration_yen": {
"description": "Monthly remuneration in yen (grade table lookup)",
"type": "integer"
},
"prefecture": {
"description": "Prefecture (romaji or Japanese), e.g. 'Tokyo'",
"type": "string"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [
"monthly_remuneration_yen",
"prefecture"
],
"type": "object"
},
"name": "jp_social_insurance",
"outputSchema": null
},
{
"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": {
"properties": {
"hints": {
"description": "cuisine/context hint, e.g. 'Japanese teishoku, small diet portions' - measurably improves accuracy on regional home-style meals",
"type": "string"
},
"image_base64": {
"description": "Base64-encoded image bytes (alternative to image_url)",
"type": "string"
},
"image_url": {
"description": "Absolute http(s) URL of the image (JPEG/PNG/WebP)",
"type": "string"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "meal_vision",
"outputSchema": null
},
{
"description": "OCR one image to text with dual-engine consensus, calibrated confidence and per-segment corroboration. Japanese-strong. Flat $0.05/image.",
"inputSchema": {
"properties": {
"image_base64": {
"description": "Base64-encoded image bytes (alternative to image_url)",
"type": "string"
},
"image_url": {
"description": "Absolute http(s) URL of the image (JPEG/PNG/WebP)",
"type": "string"
},
"lang": {
"default": "japanese",
"description": "One of: japanese, latin. Expected script for OCR: japanese or latin",
"enum": [
"japanese",
"latin"
],
"type": "string"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "ocr_image",
"outputSchema": null
},
{
"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": {
"properties": {
"operator": {
"description": "operator domain, e.g. mart402.com",
"type": "string"
}
},
"required": [
"operator"
],
"type": "object"
},
"name": "operator_history",
"outputSchema": null
},
{
"description": "Parse a quoted PDF to structured Markdown (hallucination-guarded OCR for scanned pages, Japanese-strong). Get quote_id from quote_parse first; price is fixed by the quote.",
"inputSchema": {
"properties": {
"quote_id": {
"description": "quote_id returned by quote_parse (price is fixed by the quote)",
"type": "string"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [
"quote_id"
],
"type": "object"
},
"name": "parse_document",
"outputSchema": null
},
{
"description": "PDF facts before you pay for parsing: pages, metadata, per-page text volume, scanned-or-not estimate. $0.001.",
"inputSchema": {
"properties": {
"url": {
"description": "Absolute http(s) URL of the input (web page or PDF, per tool)",
"type": "string"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "pdf_info",
"outputSchema": null
},
{
"description": "Merge 2-10 PDFs into one, in order. Deterministic, $0.003.",
"inputSchema": {
"properties": {
"urls": {
"description": "List of absolute PDF URLs, in order (2-10)",
"items": {
"type": "string"
},
"type": "array"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [
"urls"
],
"type": "object"
},
"name": "pdf_merge",
"outputSchema": null
},
{
"description": "Extract pages from a PDF by 1-based ranges (e.g. 1-3,7) into a new PDF. Deterministic, $0.002.",
"inputSchema": {
"properties": {
"pages": {
"description": "1-based page ranges, e.g. '1-3,7'",
"type": "string"
},
"url": {
"description": "Absolute http(s) URL of the input (web page or PDF, per tool)",
"type": "string"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [
"url",
"pages"
],
"type": "object"
},
"name": "pdf_pages",
"outputSchema": null
},
{
"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.",
"inputSchema": {
"properties": {
"image_base64": {
"description": "Base64-encoded image bytes (alternative to image_url)",
"type": "string"
},
"image_url": {
"description": "Absolute http(s) URL of the image (JPEG/PNG/WebP)",
"type": "string"
},
"images": {
"description": "up to 3 of {image_url|image_base64}; different lighting recommended",
"items": {
"type": "object"
},
"type": "array"
},
"style": {
"default": "neutral",
"description": "One of: feminine, masculine, neutral. Styling context: feminine, masculine or neutral",
"enum": [
"feminine",
"masculine",
"neutral"
],
"type": "string"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "portrait_analysis",
"outputSchema": null
},
{
"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": {
"properties": {
"image_base64": {
"description": "Base64-encoded image bytes (alternative to image_url)",
"type": "string"
},
"image_url": {
"description": "Absolute http(s) URL of the image (JPEG/PNG/WebP)",
"type": "string"
}
},
"type": "object"
},
"name": "portrait_precheck",
"outputSchema": null
},
{
"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": {
"properties": {
"url": {
"description": "PDF URL",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "quote_parse",
"outputSchema": null
},
{
"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.",
"inputSchema": {
"properties": {
"x_payment": {
"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.",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "report_pack",
"outputSchema": null
},
{
"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": {
"properties": {
"limit": {
"default": 10,
"description": "Maximum results (default 10)",
"type": "integer"
},
"q": {
"description": "Capability keyword, e.g. 'ocr', 'market-data', 'weather'",
"type": "string"
}
},
"required": [
"q"
],
"type": "object"
},
"name": "search_x402_services",
"outputSchema": null
},
{
"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": {
"properties": {
"schema": {
"description": "{key: description} pairs",
"type": "object"
},
"url": {
"description": "Absolute http(s) URL of the input (web page or PDF, per tool)",
"type": "string"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [
"url",
"schema"
],
"type": "object"
},
"name": "structured_extract",
"outputSchema": null
},
{
"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.",
"inputSchema": {
"properties": {
"body_image_url": {
"description": "Optional full-body photo URL for frame estimation",
"type": "string"
},
"image_base64": {
"description": "Base64-encoded image bytes (alternative to image_url)",
"type": "string"
},
"image_url": {
"description": "Absolute http(s) URL of the image (JPEG/PNG/WebP)",
"type": "string"
},
"images": {
"description": "Up to 3 objects {image_url | image_base64}",
"items": {
"type": "object"
},
"type": "array"
},
"questionnaire": {
"description": "Optional frame questionnaire answers (see /catalog input spec)",
"type": "object"
},
"style": {
"default": "neutral",
"description": "One of: feminine, masculine, neutral. Styling context: feminine, masculine or neutral",
"enum": [
"feminine",
"masculine",
"neutral"
],
"type": "string"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "style_profile",
"outputSchema": null
},
{
"description": "Client-ready deliverable: the style-profile analysis rendered as a finished English PDF report (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).",
"inputSchema": {
"properties": {
"client_name": {
"description": "name printed on the report",
"type": "string"
},
"image_base64": {
"description": "Base64-encoded image bytes (alternative to image_url)",
"type": "string"
},
"image_url": {
"description": "Absolute http(s) URL of the image (JPEG/PNG/WebP)",
"type": "string"
},
"images": {
"description": "1-3 face photos",
"items": {
"type": "object"
},
"type": "array"
},
"language": {
"default": "en",
"description": "report language",
"enum": [
"en",
"ja"
],
"type": "string"
},
"pack_code": {
"description": "prepaid credit from report_pack (replaces payment)",
"type": "string"
},
"style": {
"default": "neutral",
"description": "One of: feminine, masculine, neutral. Styling context: feminine, masculine or neutral",
"enum": [
"feminine",
"masculine",
"neutral"
],
"type": "string"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "style_report",
"outputSchema": null
},
{
"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.",
"inputSchema": {
"properties": {
"fields": {
"description": "Extracted invoice fields: total_jpy, tax_jpy, reg_no, invoice_no, issue_date, due_date, vendor, customer",
"type": "object"
},
"line_items": {
"description": "Optional line items [{description, amount_jpy}] to reconcile against the subtotal",
"type": "array"
},
"x_payment": {
"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.",
"type": "string"
}
},
"required": [
"fields"
],
"type": "object"
},
"name": "verify_invoice",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:c9210041facc5072ad76f46460c9681025179fb9908112dcdbaffcf949cfc8a6 | sha256sum