{"uid":"cap_tG7S9TRdtz2AYL-brVgbr","slug":"country-flag-emoji-resolver-5f90bc2d","name":"Country Flag Emoji Resolver","description":"Resolve a country name or ISO alpha-2/alpha-3 code to Unicode flag emoji and normalized identifiers.","url":"https://x402-zoo.lolagent.workers.dev/api/country-flag","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":["country"],"properties":{"country":{"type":"string"}}}},"additionalProperties":false}}},"responseSchema":null,"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_bCMX4UnNXv1zw6Wlvw51u","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":"Resolves a country name or ISO alpha-2/alpha-3 code to its Unicode flag emoji and normalized country identifiers","exampleAgentPrompt":"What is the Unicode flag emoji for Japan? I have the ISO code 'JP' and need the emoji and normalized identifiers.","exampleUseCases":[{"title":"Flag emoji for UI localization","prompt":"I'm building a country selector dropdown — can you get me the flag emoji for Germany so I can display it next to the country name?"},{"title":"Convert alpha-3 code to flag","prompt":"I have the ISO alpha-3 code 'FRA' for France — what's the Unicode flag emoji and normalized identifiers for it?"},{"title":"Enrich country list with flags","prompt":"I need the flag emoji and normalized identifier for Brazil — I only have the country name, not an ISO code."}],"resultDescription":"Returns the Unicode flag emoji for the requested country along with normalized country identifiers such as ISO alpha-2 and alpha-3 codes, enabling consistent display and data enrichment for country-related information.","failureModes":["Unknown or misspelled country name returns an error or empty result","Ambiguous country codes (e.g. deprecated codes) may not resolve correctly","Non-existent ISO codes return a not-found error","Missing required 'country' query parameter returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.001 USDC), single-call lookup to convert any country name or ISO code into its Unicode flag emoji and normalized identifiers, especially in internationalization, UI enrichment, or data normalization workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:56:03.862Z","isFirstParty":false}