zh-tw-api — x402-payable zh-TW / Taiwan data service Priced per call in USDC on Base via HTTP 402. Endpoints: GET /api/zh/convert?text=...&mode=... ($0.001/call) - Traditional/Simplified Chinese text conversion (zh-TW <-> zh-CN, OpenCC) GET /api/zh/bopomofo?text=... ($0.001/call) - Chinese text to bopomofo (Zhuyin) conversion GET /api/zh/pinyin?text=... ($0.001/call) - Chinese text to pinyin with tone numbers GET /api/zh/sentiment?text=... ($0.001/call) - zh-TW Chinese sentiment analysis (dictionary scoring) GET /api/tw/county?name=... ($0.001/call) - Taiwan county/city reference data (22 districts) GET /api/tw/address?0=...&1=...&2=...&3=...&4=...&5=...&6=...&7=...&8=...&9=...&10=...&11=...&12=...&13=...&14=...&15=...&16=...&17=...&18=...&19=...&20=...&21=...&22=...&23=...&24=...&25=...&26=...&27=...&28=...&29=...&30=...&31=...&32=...&33=... ($$0.001/call) - Parse and geocode a full Taiwan address (city/district/road/section/number + WGS84 coordinates for Taipei) POST /api/ai/summarize (JSON body: {"text":"TSMC reported record Q4 revenue ... (long article)"}) POST /api/ai/extract (JSON body: {"text":"Apple paid $1.2B to buy a startup in Austin; Tim Cook announced it on Monday."}) POST /api/ai/classify (JSON body: {"text":"The central bank held rates but the stock market rallied on the news."}) POST /api/ai/translate (JSON body: {"text":"台積電本季獲利創新高","language":"English"}) GET /api/asia/fx?0=...&1=...&2=...&3=...&4=...&5=...&6=...&7=...&8=...&9=...&10=...&11=... ($$0.002/call) - Latest Asia FX rates vs USD from Central Bank of the ROC open data (TWD, CNY, EUR, JPY, THB, VND), key-free official source GET /api/asia/market?0=...&1=...&2=...&3=...&4=...&5=...&6=...&7=...&8=...&9=...&10=...&11=...&12=...&13=...&14=...&15=... ($$0.002/call) - Latest Taiwan market snapshot via Yahoo Finance public chart API: TWII weighted index + TAIFEX futures index GET /api/security/audits?protocol=... ($0.003/call) - Electric Capital crypto-audits lookup (audit report URLs per protocol) merged with DeFiLlama hack history — one call answers 'has it been audited' and 'has it been hacked'. Fuzzy name match; a miss is the paid 'not in the audit dataset' answer. GET /api/tw/company?0=...&1=...&2=...&3=...&4=...&5=...&6=...&7=...&8=...&9=...&10=...&11=...&12=...&13=...&14=...&15=...&16=...&17=...&18=...&19=...&20=...&21=...&22=...&23=...&24=...&25=...&26=... ($$0.001/call) - Look up a Taiwan company by 統一編號 or company name (id, name, address, status) GET /api/tw/quake?0=...&1=...&2=...&3=...&4=...&5=...&6=...&7=...&8=...&9=...&10=...&11=...&12=...&13=...&14=...&15=...&16=...&17=...&18=...&19=...&20=...&21=...&22=... ($$0.001/call) - Latest CWB/CWA Taiwan earthquake reports (time, epicentre, depth, magnitude), optional min magnitude filter GET /api/data/crypto?coin=... ($0.003/call) - Live crypto prices (CoinGecko) for top coins, cached 60s GET /api/data/defi?protocol=... ($0.003/call) - DeFi protocol TVL (DeFiLlama), cached 60s GET /api/data/npm?pkg=... ($0.003/call) - npm package download stats (official registry), cached 60s GET /api/news/ecosystem?eco=...&hours=... ($0.003/call) - Latest news for one blockchain ecosystem from its official RSS/Atom feeds (10 ecosystems, 2-3 sources each) GET /api/edgar/search?q=...&limit=... ($0.003/call) - SEC EDGAR full-text search across company filings (10-K/8-K/etc, since 2001). Returns matched filings with company, form, date, accession number. GET /api/edgar/company?ticker=... ($0.003/call) - SEC EDGAR company profile by ticker: CIK, official name, and 10 most recent filings with direct archive URLs. Ticker resolved via SEC official mapping. GET /api/dev/trending?lang=...&since=... ($0.003/call) - GitHub Trending repositories per language and period (GitHub has no official Trending API, so this scrapes the trending page; 1 h cache, stale-on-error). GET /api/nostr/profile?pubkey=... ($0.003/call) - Nostr profile lookup aggregated across 4 public relays (NIP-01 kind 0, latest event wins). Returns name/about/picture/lud16 merged; lists which relays answered. GET /api/nostr/notes?pubkey=...&limit=... ($0.003/call) - Recent Nostr notes (kind 1) from an author, aggregated across 4 public relays, deduped and sorted newest-first. GET /api/nostr/search?q=...&limit=... ($0.003/call) - Keyword search across Nostr relays that support NIP-50, deduped, newest-first. Aggregation is the product: single-relay search coverage is partial. GET /api/security/history?0=...&1=...&2=...&3=...&4=...&5=...&6=...&7=...&8=...&9=...&10=...&11=...&12=...&13=...&14=...&15=...&16=...&17=...&18=...&19=...&20=...&21=...&22=...&23=...&24=...&25=...&26=...&27=...&28=...&29=...&30=...&31=...&32=...&33=...&34=...&35=... ($$0.003/call) - Full hack/exploit history + risk stats for one protocol (fuzzy name match) from DeFiLlama's 1300+ incident dataset; empty result is the paid 'never hacked' confirmation GET /api/security/recent?0=...&1=...&2=...&3=...&4=...&5=...&6=...&7=...&8=...&9=...&10=...&11=...&12=...&13=...&14=...&15=...&16=...&17=...&18=...&19=...&20=...&21=...&22=...&23=...&24=...&25=...&26=...&27=...&28=...&29=...&30=...&31=...&32=...&33=...&34=...&35=...&36=...&37=...&38=...&39=...&40=...&41=...&42=...&43=...&44=...&45=...&46=... ($$0.003/call) - Recent major DeFi/CeFi security incidents within a time window, sorted by loss (default last 30 days, min $1M) GET /api/social/sentiment?query=...&hours=... ($0.003/call) - Global social sentiment aggregation: Reddit (official public search JSON) + Hacker News (Algolia) + X (syndication CDN), per-platform hit counts, top 10 titles and a VADER-style lexicon score (English + Chinese). GET /api/tw/bus?0=...&1=...&2=...&3=...&4=...&5=...&6=...&7=...&8=...&9=...&10=...&11=...&12=...&13=...&14=...&15=...&16=...&17=...&18=...&19=...&20=...&21=...&22=...&23=...&24=...&25=...&26=...&27=...&28=...&29=...&30=...&31=...&32=...&33=...&34=... ($$0.001/call) - Live Taiwan bus arrival estimates for one route + stop (TDX Transit API primary, key-free data.taipei feed fallback) Free: GET /health Payments: x402 (USDC on Base), pay-to 0x82FF7231c615713e8030E9574787e6D6b1427cCf