{"uid":"cap_JierJK9BW1UijZgYxUlBN","slug":"fastx402-lab-country-info-f52a51be","name":"FastX402 Lab Country Info","description":"200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/country-info?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":["query"],"properties":{"query":{"type":"string","description":"ISO 3166 alpha-2 code (TR) or English country name (Germany)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"code":{"type":"string"},"flag":{"type":"string"},"name":{"type":"string"},"phone":{"type":"array","items":{"type":"integer"}},"native":{"type":"string"},"capital":{"type":"string"},"currency":{"type":"array","items":{"type":"string"}},"continent":{"type":"string"},"languages":{"type":"array","items":{"type":"string"}}}}}}}},"responseSchema":{"type":"json","example":{"code":"TR","flag":"🇹🇷","name":"Türkiye","phone":[90],"native":"Türkiye","capital":"Ankara","currency":["TRY"],"continent":"AS","languages":["tr"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6SKW-klv1DGC5pAn-Q0_z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns structured country data (official name, capital, currencies, languages, calling codes, continent, flag emoji) given an ISO 3166 alpha-2 code or English country name.","exampleAgentPrompt":"What's the capital, currency, and international calling code for Turkey? Look it up by the ISO code TR.","exampleUseCases":[{"title":"Form auto-fill from country code","prompt":"I have the ISO code 'DE' — can you look up all the country details like the official name, capital, currency, and phone code so I can fill out this international shipping form?"},{"title":"Verify currency for invoicing","prompt":"Before I send this invoice, can you confirm what currency code to use for Japan and what their international dialing code is?"},{"title":"Display country info in user profile","prompt":"A user signed up with country name 'Brazil' — can you fetch the flag emoji, continent, and official language so I can display it on their profile page?"}],"resultDescription":"A JSON object containing: the ISO alpha-2 code, official English name, native name, capital city, array of currency codes, array of language codes, array of international calling codes (integers), continent code (e.g. 'AS', 'EU'), and flag emoji for the queried country.","failureModes":["Invalid or unrecognized country code returns an error or empty result","Ambiguous or misspelled English country name may fail to match","Country name variants or alternate spellings (e.g. 'Türkiye' vs 'Turkey') may not resolve","Non-English country names used as input may not be found"],"whenToPreferThis":"Use this endpoint when you need structured, machine-readable country metadata from a simple ISO code or English name lookup — ideal for form filling, address formatting, internationalization, and data enrichment pipelines. Prefer it over a general-purpose web search when you need clean, structured fields like currency codes, calling codes, and flag emoji without parsing unstructured text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:32:24.335Z","isFirstParty":false,"canonicalSlug":"fastx402-lab-country-info-f52a51be"}