{"uid":"cap_yPb1oUHxWmXMFgrb9eceH","slug":"international-address-formatter-4c2d7ad3","name":"International Address Formatter","description":"Render address parts into a country's standard multi-line mailing format with its uppercase rules; reports missing fields.","url":"https://address-formats.x402tookit.com/format-address?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","street"],"properties":{"city":{"type":"string","description":"City or locality"},"latin":{"type":"boolean","description":"Use the Latin-script layout where the country has one"},"state":{"type":"string","description":"State/province code or name"},"street":{"type":"string","description":"Street line(s); separate several lines with |"},"country":{"type":"string","description":"ISO 3166-1 alpha-2 code, e.g. GB"},"recipient":{"type":"string","description":"Recipient name"},"postal_code":{"type":"string","description":"Postal code"},"organization":{"type":"string","description":"Company or organization"},"sorting_code":{"type":"string","description":"CEDEX or similar sorting code"},"dependent_locality":{"type":"string","description":"District/suburb where used"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"lines":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"country":{"type":["null","string"]},"reasons":{"type":["array","null"]},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"formatted":{"type":["null","string"]},"dataSource":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"attribution":{"type":["null","string"]},"snapshotDate":{"type":["null","string"]},"missingRequired":{"type":["array","null"]},"usedLatinLayout":{"type":["boolean","null"]},"formattedWithCountry":{"type":["null","string"]},"postalCodeFormatValid":{"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_gElMLpFK9g7aRoLLCiqpq","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":"Renders address fields into a country's standard multi-line mailing format with correct ordering, casing, and missing-field reporting.","exampleAgentPrompt":"Can you format this address for a German mailing label? Recipient is Hans Müller, company is Bayerische GmbH, street is Hauptstraße 42, city is Munich, postal code 80331, country DE.","exampleUseCases":[{"title":"International e-commerce shipping label","prompt":"I need to format a shipping label for a customer in Japan — recipient is Yuki Tanaka, street is 1-2-3 Shibuya, city is Tokyo, postal code 150-0002, country JP. Give me the correct multi-line postal format."},{"title":"CRM address display standardization","prompt":"We're displaying addresses for UK contacts in our CRM. Can you format this one properly: recipient John Smith, 14 Baker Street, London, postal code NW1 6XE, country GB?"},{"title":"Detecting missing address fields before checkout","prompt":"Before we finalize this order for France, check if we have all required address fields and format what we have — organization is Maison Dupont, street is 5 rue de Rivoli, city is Paris, postal code 75001, country FR. Tell me what's missing if anything."}],"resultDescription":"Returns a structured object containing the formatted address as an array of lines and as a single multi-line string, a version appended with the country name, a flag indicating whether a Latin-script layout was used, a list of any missing required fields for that country, and whether the postal code format is valid.","failureModes":["Missing required 'country' or 'street' parameters returns an error","Invalid or unrecognized ISO 3166-1 alpha-2 country code results in an error or degraded response","Postal code pattern mismatch flagged in missingRequired or postalCodeFormatValid field","Truncated or ambiguous street input may produce incomplete formatting","Network timeout or service unavailability returns a non-200 response"],"whenToPreferThis":"Choose this endpoint when you need to render address components into a country-specific postal format with correct line ordering, uppercase rules, and field validation — particularly for international shipping labels, CRM display, or checkout flows. Prefer it over generic address validators when you need the formatted output lines themselves, not just a pass/fail signal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:31:08.469Z","isFirstParty":false,"canonicalSlug":"international-address-formatter-4c2d7ad3"}