{"uid":"cap_22UoSo6GuKPfpIXS8_-Q5","slug":"phone-number-tools-country-calling-code-lookup-29ce094f","name":"Phone Number Tools – Country Calling Code Lookup","description":"Look up which regions use a country calling code (+44, +1) or a region's code, dialing prefixes and national prefix.","url":"https://phone-tools.x402tookit.com/country-calling-codes?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":[],"properties":{"code":{"type":"string","description":"Calling code such as 44 or +44 (give code or region)"},"region":{"type":"string","description":"ISO region such as GB (give code or region)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"code":{"type":["null","number"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"regions":{"type":["array","null"],"items":{"type":"object","properties":{"region":{"type":["null","string"]},"nationalPrefix":{"type":["null","string"]},"mainRegionForCode":{"type":["boolean","null"]},"internationalPrefix":{"type":["null","string"]}}}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"sharedCode":{"type":["boolean","null"]},"attribution":{"type":["null","string"]},"knownCodeCount":{"type":["null","number"]},"metadataSource":{"type":["null","string"]},"metadataBuiltOn":{"type":["null","string"]}}}}}}},"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_PWjao4n-XIwR6Xzx3iE2h","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":"Look up which regions share a country calling code, or get the calling code for a given region, along with dialing prefixes and national prefix information.","exampleAgentPrompt":"Which regions share the +44 calling code, and what are their national and international dialing prefixes?","exampleUseCases":[{"title":"Identify regions sharing a calling code","prompt":"I need to know which countries or regions all use the +1 country calling code — can you list them along with their national and international dialing prefixes?"},{"title":"Get calling code for a specific country","prompt":"What is the country calling code for Germany (region DE), and what national prefix and international dialing prefix should I use when calling from there?"},{"title":"Validate dialing details before sending SMS","prompt":"Before I send an international SMS to a UK number, can you confirm the calling code and national prefix for the GB region so I dial it correctly?"}],"resultDescription":"Returns the numeric calling code, a list of regions that share it (each with their ISO region code, national prefix, international prefix, and whether they are the primary region for the code), a flag indicating if the code is shared across multiple regions, summary and disclaimer text, attribution, and metadata about when the data was built.","failureModes":["Missing both 'code' and 'region' query parameters returns an error or empty result","Invalid or unrecognized calling code returns no matching regions","Invalid ISO region code returns no result","Degraded response flag set if underlying data source is partially unavailable","Payment failure if x402 micropayment is not completed"],"whenToPreferThis":"Use this endpoint when you need to resolve which regions are associated with a country calling code, or look up the calling code and dialing prefixes for a known ISO region — particularly when you need national prefix and international prefix details in addition to the code itself. Prefer this over general phone parsing endpoints when the goal is country/region-level dialing metadata rather than parsing a specific phone number string.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:32:41.393Z","isFirstParty":false,"canonicalSlug":"phone-number-tools-country-calling-code-lookup-29ce094f"}