{"uid":"cap_CqyK2xgY4qO8CJBX6DXJl","slug":"globalrules-country-postal-format-lookup-0f344b75","name":"GlobalRules Country Postal Format Lookup","description":"One specific fact for one country: VAT/GST rate, public holidays by country, visa requirements for travelers, tipping customs, cryptocurrency legal status by country, stablecoin regulation and capital controls, power plug type, minimum wage, corporate tax, digital nomad visa, customs duty-free allowance and more. 195 countries, 58 fields, verified sources. Example: /api/v1/country/JP/vat","url":"https://globalrules-api.onrender.com/api/v1/country/DE/postal_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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"country":{"type":"string"},"updated":{"type":"string"}}}}}}},"responseSchema":null,"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_UbNqt6Grdgr_opO4skOes","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":"Returns the postal/ZIP code format and structure rules for a specified country","exampleAgentPrompt":"What is the postal code format used in Germany? I need to know the correct structure so I can validate addresses before shipping.","exampleUseCases":[{"title":"E-commerce address validation","prompt":"What's the correct postal code format for Germany? I need to make sure customer addresses on our checkout page follow the right pattern before we process orders."},{"title":"Shipping label compliance check","prompt":"Can you look up the postal format rules for Japan? We're printing international shipping labels and need to make sure we're formatting the postal codes correctly for JP packages."},{"title":"CRM address field configuration","prompt":"What postal format does Brazil use? I'm setting up address input fields in our CRM and need to know the correct pattern to enforce for Brazilian postal codes."}],"resultDescription":"Returns a JSON object containing the country code (e.g. 'DE'), the postal format pattern or structure description for that country, and a timestamp indicating when the data was last verified/updated.","failureModes":["Invalid or unsupported country code returns an error or empty response","Country not among the 106 supported countries returns 404 or null","Field identifier 'postal_format' may not be available for all countries if data is missing","Network timeout from Render.com free-tier hosting causing slow cold starts","Stale data if the verified sources have not been updated recently"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap ($0.01) single-fact lookup of postal/ZIP code formatting rules for a specific country. Ideal for address validation workflows, shipping integrations, or CRM configuration where you need to know the expected postal code pattern for a given country. Covers 106 countries with verified data. Best suited for one-country-at-a-time lookups rather than bulk data needs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T00:30:59.585Z","isFirstParty":false,"canonicalSlug":"globalrules-country-postal-format-lookup-0f344b75"}