{"uid":"cap_h4qFct8bPsiSdpqcfa7rh","slug":"tokenguard-country-data-lookup-50067f7b","name":"Tokenguard Country Data Lookup","description":"Country reference data: capital, region, population, area, currencies, languages, calling code, timezones and borders","url":"https://eltociear-tokenguard.hf.space/data/country","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"name":{"type":"string","description":"Country name (common or official)"}}},"responseSchema":{"type":"json","example":{"cca2":"JP","name":"Japan","capital":["Tokyo"],"languages":["Japanese"],"currencies":["JPY"],"population":125836021,"calling_code":"+81"}},"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_S5URokjRL3e1ekbVPVc1H","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":"Returns structured country information including name, capital, languages, currencies, population, and calling code for a given country code.","exampleAgentPrompt":"Can you look up the country details for Japan — I need its capital, official languages, currency, population, and international calling code?","exampleUseCases":[{"title":"Verify user location for DeFi compliance","prompt":"I need to check if a user's country supports our service. Can you look up the country details for country code DE — specifically the official name, capital, and what languages they speak there?"},{"title":"Generate localized onboarding for new users","prompt":"A user just signed up from Brazil. Can you get me the country information for BR so I can show them their local currency, calling code, and primary language for account setup?"},{"title":"Build international merchant payment router","prompt":"I'm building a payment feature and need to route transactions based on currency. Can you pull the full country data for MX — capital, population, official currency, and calling code — so I can set up the right payment rails?"}],"resultDescription":"A JSON object containing the country's ISO alpha-2 code (cca2), full name, capital city array, official languages array, currencies array, total population, and international calling code (e.g. +81).","failureModes":["Invalid or unrecognized country code returns an error or empty result","Missing required cca2 field in request body causes a 400/422 error","Network timeout or service unavailability on HuggingFace Space returns a 503","Payment failure via x402 micropayment results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need structured, machine-readable country reference data (capital, language, currency, population, calling code) given an ISO 3166-1 alpha-2 code, especially within a crypto/DeFi agent workflow that already uses the Tokenguard API ecosystem and x402 micropayments on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:40:58.428Z","isFirstParty":false}