{"uid":"cap_jsR-XKP521bJwrsNy--3h","slug":"international-address-formats-country-postal-layout-e88f5da4","name":"International Address Formats – Country Postal Layout","description":"A country's postal address layout: line order template, required fields, uppercase rules and field labels.","url":"https://address-formats.x402tookit.com/address-format?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["country"],"properties":{"country":{"type":"string","description":"ISO 3166-1 alpha-2 code, e.g. US, GB, JP"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"fields":{"type":["array","null"],"items":{"type":"object","properties":{"field":{"type":["null","string"]},"label":{"type":["null","string"]},"token":{"type":["null","string"]},"required":{"type":["boolean","null"]},"uppercase":{"type":["boolean","null"]}}}},"source":{"type":["null","string"]},"country":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"template":{"type":["null","string"]},"languages":{"type":["null","string"]},"dataSource":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"attribution":{"type":["null","string"]},"countryName":{"type":["null","string"]},"snapshotDate":{"type":["null","string"]},"latinTemplate":{},"templateLines":{"type":["array","null"],"items":{"type":"string"}},"postalCodeLabel":{"type":["null","string"]},"requiredLetters":{"type":["null","string"]},"uppercaseLetters":{"type":["null","string"]},"postalCodeExample":{"type":["null","string"]},"postalAuthorityUrl":{"type":["null","string"]},"hasPostalCodePattern":{"type":["boolean","null"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_q0X_J6n1S8BdKW4L32bsv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a country's postal address layout including line order template, required fields, uppercase rules, and localized field labels for a given ISO 3166-1 alpha-2 country code.","exampleAgentPrompt":"What's the correct postal address layout for Japan — the line order, which fields are required, and which should be uppercase?","exampleUseCases":[{"title":"Shipping label generator for e-commerce","prompt":"I'm printing shipping labels for orders going to Germany — can you get me the official address field order, required fields, and any uppercase rules so my labels look correct?"},{"title":"International checkout form builder","prompt":"I need to build an address entry form for customers in Brazil — what address fields does Brazil use, what are their local labels, and which ones are required?"},{"title":"Mail merge validation for a global campaign","prompt":"We're sending physical mailers to addresses in South Korea — what's the standard postal address template and field layout I should use to format each envelope correctly?"}],"resultDescription":"Returns a structured object for the requested country including: a multi-line address template string, an array of address fields with their names, local labels, tokens, required flags, and uppercase flags, the country name, supported languages, postal code label and example, a link to the postal authority, data source attribution, snapshot date, and a summary of the format.","failureModes":["Missing or invalid country code returns an error or empty result","Unsupported or unrecognized ISO alpha-2 code may yield no data","Data may be marked as degraded if the source is stale or incomplete","Some countries may have null values for optional fields like postalCodeExample or postalAuthorityUrl"],"whenToPreferThis":"Use this endpoint when you need the authoritative postal layout for a specific country — especially when building address forms, formatting mailing labels, or validating address field order. Prefer this over generic address libraries when you need localized field labels, uppercase rules, and line-order templates per country standard.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:31:02.321Z","isFirstParty":false,"canonicalSlug":"international-address-formats-country-postal-layout-e88f5da4"}