{"uid":"cap_fAXYCtBeVBpQ1GAKh1zKd","slug":"ja-normalize-417fd6a5","name":"ja-normalize","description":"Calendar and Japan data APIs for AI agents: worldwide holidays and business days (200+ countries), plus Japanese text-to-structure (address, name, bank, company normalization). Pay per call in USDC via x402, no API key.","url":"https://x402-ja-api.onrender.com/v1/text/normalize","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":20000,"description":"Japanese business text (letters, forms, OCR output)"}}},"responseSchema":{"type":"json","example":{"dates":[{"iso":"2023-04-01","original":"令和5年4月1日"}],"emails":[],"phones":[{"e164":"+81312345678","national":"0312345678","original":"03-1234-5678"}],"normalized":"2023-04-01 TEL:03-1234-5678 〒100-0001","postalCodes":["1000001"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HDLVx1QScjIcAfs62_hSN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes Japanese business text into structured data, extracting and standardizing dates, phone numbers, postal codes, and addresses from raw Japanese input including OCR and form text.","exampleAgentPrompt":"Take this Japanese business letter text and normalize it — extract any dates (converting 令和 or 昭和 era formats to ISO), phone numbers (in E.164 format), postal codes, and return a cleaned normalized version: '令和5年4月1日 TEL:03-1234-5678 〒100-0001 東京都千代田区'.","exampleUseCases":[{"title":"OCR cleanup for Japanese invoices","prompt":"I just OCR'd a stack of Japanese invoices and the text is messy — can you normalize this output and pull out all the dates, phone numbers, and postal codes in a structured format? Here's the raw text: '令和4年12月15日 担当:田中 TEL 03-9876-5432 〒150-0001'."},{"title":"Business card digitization pipeline","prompt":"I have the raw text from a scanned Japanese business card: '東京都渋谷区1-2-3 03-5555-1234 suzuki@example.co.jp 令和3年入社'. Can you extract and normalize all the contact details into structured fields including phone in E.164 and any dates in ISO format?"},{"title":"Japanese contract date extraction","prompt":"Please parse this Japanese contract preamble and pull out all the dates converting them from Japanese era format to ISO 8601, along with any phone numbers and postal codes: '平成31年4月1日付 〒100-8994 東京都千代田区 TEL:03-1234-5678'."}],"resultDescription":"Returns a JSON object with: a normalized text string with standardized formatting, an array of dates each with original Japanese text and ISO 8601 equivalent, an array of phone numbers with original, national, and E.164 formats, an array of postal code strings, and an array of email addresses extracted from the input.","failureModes":["Input text exceeds 20,000 character limit — request rejected","Non-Japanese or empty text may return empty arrays with no extracted entities","OCR artifacts or severely corrupted text may result in missed or malformed extractions","Ambiguous era dates (e.g. overlapping Heisei/Reiwa boundaries) may be resolved incorrectly","Payment failure (402) if USDC balance is insufficient or x402 payment header is missing"],"whenToPreferThis":"Choose this endpoint when you need to process Japanese-language business documents, forms, or OCR output and extract structured data like dates in Japanese era format, Japanese phone numbers, postal codes, or addresses. It is purpose-built for Japanese locale specifics (e.g. 令和/平成/昭和 era conversion, Japanese phone formatting) that generic text parsers or Western NLP pipelines will not handle correctly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:41:18.948Z","isFirstParty":false}