{"uid":"cap_CgZITAl4XU6izIGTRrf0v","slug":"globalrules-country-number-format-lookup-f05c2a18","name":"GlobalRules Country Number Format Lookup","description":"One specific fact for one country: VAT/GST rate, public holidays by country, visa requirements for travelers, tipping customs, power plug type, minimum wage, corporate tax, digital nomad visa, customs duty-free allowance and more. 138 countries, 55 fields, verified sources. Example: /api/v1/country/JP/vat","url":"https://globalrules-api.onrender.com/api/v1/country/DE/number_format","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_lRVWeQEC5pRZnnPu_dOyx","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 number formatting conventions (decimal separators, thousands separators, digit grouping) for a specific country by ISO country code.","exampleAgentPrompt":"What number format does Germany use — specifically the decimal and thousands separators? Look it up from GlobalRules for country code DE.","exampleUseCases":[{"title":"Localize invoice amounts for German customers","prompt":"I need to display prices correctly for our German customers — what decimal and thousands separators does Germany use for number formatting?"},{"title":"Build a multi-country financial dashboard","prompt":"Before I render currency amounts for users in Japan, what number formatting conventions should I follow — what separators and digit grouping does Japan use?"},{"title":"Validate user input for international forms","prompt":"I'm building a form that accepts numbers from users in Brazil — how does Brazil format numbers, like what's the decimal separator and thousands separator?"}],"resultDescription":"A JSON object containing the country code, the number format details for the specified country (including decimal separator, thousands separator, and digit grouping conventions), and a timestamp indicating when the data was last verified/updated.","failureModes":["Invalid or unsupported ISO country code returns an error or empty result","Country not in the 106-country dataset returns a 404 or null response","Payment failure (x402) if USDC funds are insufficient","Rate limiting or server unavailability from the Render-hosted service","Stale data if the last-updated timestamp is old"],"whenToPreferThis":"Choose this endpoint when you need a single, authoritative, machine-readable number formatting fact for a specific country without building locale libraries yourself. Ideal for agents handling internationalization, invoice generation, data display localization, or form validation across multiple countries. Prefer this over general locale libraries when you need a verified, curated data point per country on demand.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:45:04.653Z","isFirstParty":false}