Parses a Taiwanese address into structured fields and returns a canonical form
Parses a Taiwanese address into structured fields and returns a canonical form. Handles the things that break naive parsers: 台/臺 spelling, full-width digits, Chinese numerals (三十五巷 -> lane 35), pre-merger county names (臺北縣 -> 新北市), 之/- door numbers, and 段巷弄 nesting. Returns whatever it could not place in `unparsed`, so partial results are visible rather than silently wrong.
20000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-06
updated
Provider
dev-agent402.throuzlabs.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:84532",
"payTo": "0xe37475926E504c21175E656EcFe7490073139Cb2",
"asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"amount": "20000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"address": "string"
},
"type": "http"
},
"output": {
"example": {
"canonical": "臺北市大安區忠孝東路4段35巷12-3號5樓",
"city": "臺北市",
"district": "大安區",
"floor": 5,
"lane": 35,
"number": "12-3",
"section": 4,
"street": "忠孝東路"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"address": {
"description": "A Taiwanese address in any common written form.",
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://dev-agent402.throuzlabs.com/x/tw/address" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://dev-agent402.throuzlabs.com/x/tw/address");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://dev-agent402.throuzlabs.com/x/tw/address")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/13552.json, and this resource appears in /discovery/resources and /discovery/search.