Mart402

active

Pay-per-call APIs for AI agents with verifiable results, in three lines: documents & web (extract, PDF parsing with hallucination-guarded OCR, invoice verification, company enrichment), Japan statutory calculations (deterministic, primary-source cited) and calibrated vision. Payment via x402 (USDC on Base) - no account, no API key. Docs: /agents.md

AIBasex402 v2exactmart402.com ↗︎

Settled via Coinbase.

Transactions · 30d
109
Volume · 30d
$1.12
Unique buyers · 30d
16
Uptime · 30d
100.0%
Latency p50
43ms
Reported calls · 30d
140

Endpoints (56 live)

  • POST /v1/jp-retirement-tax — Japan retirement income tax: deduction by years of service, half-taxation with short-term/officer exceptions, exact withholding rounding (1-yen floor), resident tax 6+4 percent split. $0.02/call. (0.02 USDC on Base)
  • POST /v1/jp-mortgage — Mortgage schedules: level-payment/level-principal, total interest, prepayment effect (term-reduction or payment-reduction). Deterministic annuity math. $0.005/call. (0.005 USDC on Base)
  • POST /v1/jp-consumption-tax — Japan consumption tax: per-rate invoice rounding (one rounding per rate), qualified invoice (T+13) field validation, simplified taxation, 20-percent special (taxable periods that include a day 2023-10-01..2026-09-30). $0.01/call. (0.01 USDC on Base)
  • POST /v1/pdf-merge — Merge 2-10 PDFs into one, in order. Deterministic, $0.003/call. Returns the merged PDF base64-encoded. (0.003 USDC on Base)
  • POST /v1/jp-business-days — Japan business days + statutory deadlines: holidays (equinox + substitute), business-day arithmetic, tax filing deadlines with holiday shift, wareki conversion. 1980-2099. $0.003/call. (0.003 USDC on Base)
  • POST /v1/extract — Web extraction for AI agents: URL to clean Markdown + metadata, automatic JS rendering, robots.txt respected. No API key. $0.005 fast / $0.01 rendered; cached results half price (this 402 quotes the exact amount). (0.005 USDC on Base)
  • POST /v1/pdf-pages — Extract pages from a PDF by range (e.g. 1-3,7) into a new PDF. Deterministic, $0.002/call. (0.002 USDC on Base)
  • POST /v1/pdf-info — PDF facts before you pay for parsing: page count, metadata, per-page text volume, scanned-or-not estimate. $0.001/call. (0.001 USDC on Base)
  • POST /v1/jp-social-insurance — Japan social insurance premiums: monthly remuneration to grade + health/care/pension/employment premiums from the official Kyokai-Kenpo FY2026 grade table, all 47 prefectures, official rounding. $0.01/call. (0.01 USDC on Base)
  • POST /v1/ocr — OCR image to text with hallucination guard: dual-engine consensus, calibrated confidence, per-segment corroboration. Japanese-strong (latin too). Flat $0.05/image. (0.05 USDC on Base)
  • POST /v1/jp-crypto-tax — Japan crypto-asset tax: realized income under the NTA total-average or moving-average method (sell/spend/exchange as disposals, fees deductible, opening balances). Verified against the official NTA FAQ examples to the yen. Max 300 transactions per call. $0.05/call. (0.05 USDC on Base)
  • POST /v1/verify — Invoice field verification for AI agents: arithmetic consistency of invoice fields, line-item totals, JP registration number check-digit + corporate-number existence observation (official NTA registry), accounting JSON. $0.015/call. (0.015 USDC on Base)
  • POST /v1/document-pipeline — Invoice pipeline in one call: PDF to structured Markdown (hallucination-guarded OCR), invoice field extraction, arithmetic verification, optional issuer enrichment. Flat $0.05/document (text PDFs to 20 pages, scans to 3). (0.05 USDC on Base)
  • POST /v1/jp-bonus-net — Japan bonus net pay: social insurance premiums and withholding tax from the official bonus rate table (needs previous-month salary). Deterministic, cited sources. $0.01/call. (0.01 USDC on Base)
  • POST /v1/style-report — Finished styling report as a PDF (language: en default | ja), rendered from the full style-profile analysis: cover, verdict summary, palette with swatches, face/frame chapters, measured strengths, outfit formulas and two virtual-draping boards built from the client photo. Deterministic rendering - identical quality every call. The returned PDF embeds the photo (kept for receipt re-fetch; see /terms). Flat $2.99/call (volume: report-pack 10 credits at $1.99/unit). (2.99 USDC on Base)
  • POST /v1/meal-vision — Meal photo to nutrition JSON for AI agents: itemized dishes with portions/kcal/macros, reference-object scale calibration (chopsticks/cutlery/phone, with strength grading), scene-complexity detection, a disclosed calibrated kcal range, PFC energy-balance ratios, and deterministic 4/4/9 cross-checks (alcohol-aware). All estimates carry honest confidence + rules_version. Every call is a 3-run consensus: median run reported with per-call spread and item agreement disclosed. $0.05/image. (0.05 USDC on Base)
  • POST /v1/structured — Schema-driven extraction: fill YOUR JSON schema from any URL. Hybrid LLM + deterministic canonicalization. $0.03/call. (0.03 USDC on Base)
  • POST /v1/jp-payslip-audit — Japan payslip audit: recompute statutory premiums and withholding tax from official tables and diff against the actual amounts. Per-item verdicts (match/explainable/mismatch) that explain grade revisions and combined care-premium notation instead of crying wolf. $0.02/call. (0.02 USDC on Base)
  • POST /v1/enrich — Company enrichment: name, domain or URL to verified company profile from primary sources + GLEIF LEI and Japan NTA corporate-number registries. Per-field evidence and confidence, honest nulls. Flat $0.03/company. (0.03 USDC on Base)
  • POST /v1/jp-overtime-wage — Japan overtime premium pay per Labor Standards Act Art.37 with the official rounding notice (kihatsu-150), plus Article-36 limit check. $0.015/call. (0.015 USDC on Base)

+36 more endpoints.

MCP tools (35)

mart402 https://mart402.com/mcp

  • document_pipeline — 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.
  • enrich_company — 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.
  • extract_url — 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.
  • get_catalog — Mart402 product catalog: all products, prices, payment config, error codes, rate limits. Free.
  • get_receipt — Re-fetch a previously paid result for free by receipt id (every paid response carries receipt_id).
  • get_sample — 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.
  • jp_bonus_net — 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.
  • jp_business_days — 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.
  • jp_company_profile — 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).
  • jp_consumption_tax — 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.
  • jp_crypto_tax — 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.
  • jp_dependent_threshold — 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).
  • jp_mortgage — Mortgage schedules (level payment/principal), total interest, prepayment effect. $0.005/call. Deterministic, cites primary sources; errors and unverified rules are never billed.
  • jp_overtime_wage — 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.
  • jp_payroll_net — 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.
  • jp_payroll_suite — 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.
  • jp_payslip_audit — 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.
  • jp_retirement_tax — 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.
  • jp_social_insurance — 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.
  • meal_vision — 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.
  • ocr_image — 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.
  • operator_history — 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.
  • parse_document — 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.
  • pdf_info — 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.
  • pdf_merge — Merge 2-10 PDFs into one, in order. Deterministic, $0.003.
  • pdf_pages — Extract pages from a PDF by 1-based ranges (e.g. 1-3,7) into a new PDF. Deterministic, $0.002.
  • portrait_analysis — 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.
  • portrait_precheck — 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.
  • quote_parse — 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).
  • report_pack — 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.
  • search_x402_services — 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.
  • structured_extract — 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.
  • style_profile — 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.
  • style_report — 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.
  • verify_invoice — 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.

First seen · last seen · last active