{"uid":"cap_gOupxej6fL6NVrQFWK0dq","slug":"country-dial-code-lookup-f964a094","name":"Country Dial Code Lookup","description":"Country calling code: the international dial prefix for a country by name or ISO code, with the ISO codes and an example E.164 format. Phone formatting and validation helper. $0.01 per lookup.","url":"https://intel.rallylive.ca/data/dial-code","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"}}}}},"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_BmvZwKTcsBHbxbP_Wctk4","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 international dialing prefix (calling code) for a country by name or ISO code, along with ISO codes and an example E.164 formatted number.","exampleAgentPrompt":"What's the international dialing code and an example E.164 formatted number for Germany — I need to format a phone number for a contact there.","exampleUseCases":[{"title":"Phone number formatting for CRM","prompt":"I'm building out a contact list and need the international dial prefix and a sample E.164 format for phone numbers in Brazil — can you look that up?"},{"title":"Validating country code in checkout flow","prompt":"Our checkout form has a phone field — look up the calling code for Japan including its ISO codes so I can pre-populate the country dial prefix correctly."},{"title":"Onboarding international users","prompt":"We're onboarding a new user from South Korea and need their country calling code and a properly formatted E.164 example number to verify their phone field."}],"resultDescription":"Returns the international dialing prefix (e.g. +49 for Germany), ISO alpha-2 and alpha-3 country codes, and an example phone number formatted in E.164 international standard. Useful for pre-populating phone fields, validating number formats, and enriching contact records.","failureModes":["Unknown or misspelled country name returns an error or empty result","Invalid ISO code (non-existent or wrong format) may return no data","Edge cases like disputed territories or non-standard codes may not be supported","Network or service unavailability returns an HTTP error","Payment failure (insufficient x402 funds) prevents lookup"],"whenToPreferThis":"Choose this endpoint when you need to quickly resolve a country's international dialing prefix from a name or ISO code, especially when building phone formatting pipelines, contact enrichment workflows, or validating E.164 numbers per country. It is preferable to a full phone validation API when you only need the country-level metadata rather than full number verification.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:13:22.568Z","isFirstParty":false}