{"uid":"cap_M_HTFneZKPAroKQ79VTmF","slug":"country-profile-lookup-b5e3788d","name":"Country Profile Lookup","description":"Audit one public site or compare up to five domains across llms.txt, OpenAPI, robots, sitemap, x402 metadata, and the discovery surfaces autonomous buyers rely on.","url":"https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/country_profile","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","description":"ISO alpha-2 code, ISO alpha-3 code, or country name/known alias."}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["success","country"],"properties":{"country":{"type":"object","required":["iso2","iso3","name","capital","calling_codes","currencies","languages"],"properties":{"iso2":{"type":"string"},"iso3":{"type":"string"},"name":{"type":"string"},"capital":{"type":"string"},"languages":{"type":"array","items":{"type":"object"}},"currencies":{"type":"array","items":{"type":"object"}},"calling_codes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"success":{"type":"boolean"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"country":{"iso2":"US","iso3":"USA","name":"United States","capital":"Washington D.C.","languages":[{"code":"en","name":"English"}],"currencies":[{"code":"USD","symbol":"$"}],"calling_codes":["+1"]},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BtLSOu4dqyujP-5J9qKjc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns structured country profile data including ISO codes, capital, languages, currencies, and calling codes for a given country identifier.","exampleAgentPrompt":"Can you look up the country profile for Japan — I need its ISO codes, capital, official languages, currencies, and calling code?","exampleUseCases":[{"title":"Enrich user registration with country metadata","prompt":"A user just signed up and listed their country as 'Germany' — can you pull the full country profile including ISO codes, capital, and calling code so I can store it alongside their record?"},{"title":"Display country info in a travel app","prompt":"I need the country profile for Brazil, including its official languages, currency symbol, and international dialing code, to show on a destination detail page."},{"title":"Validate and normalize country input","prompt":"A form submission came in with 'FRA' as the country — can you fetch the country profile for that ISO code so I can confirm it's France and get the full structured data?"}],"resultDescription":"A JSON object with a success boolean and a country object containing: ISO alpha-2 and alpha-3 codes, official country name, capital city, an array of language objects (code and name), an array of currency objects (code and symbol), and an array of calling code strings.","failureModes":["Invalid or unrecognized country code/name returns an error or success:false","Missing required 'country' query parameter causes a 400-level error","Ambiguous country aliases may resolve incorrectly or fail","Network timeout or service unavailability returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need quick, structured country reference data (ISO codes, capital, languages, currencies, calling codes) from a single flexible identifier — name, ISO-2, or ISO-3. It is lightweight, idempotent, and priced at $0.002 USDC per call, making it suitable for per-record enrichment in pipelines or on-demand lookups in agent workflows. Prefer it over general-purpose web search when you need machine-readable, consistently structured country metadata rather than prose descriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T12:37:55.127Z","isFirstParty":false}