{"uid":"cap_A3IyiaDTMjfgKyyEVYn3V","slug":"saylor-innovations-country-profile-bbb4f24d","name":"Saylor Innovations — Country Profile","description":"Resolve a two-letter country code into its World Bank name, region, capital, income group and lending classification for data enrichment.","url":"https://saylorinnovations.com/api/data/country?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","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"},"queryParams":{"type":"object","required":["country"],"properties":{"country":{"type":"string","description":"Two-letter country code supported by World Bank, for example US or GB. Aggregates are excluded."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["service","subject","retrievedAt","source","report"],"properties":{"report":{"type":"object","required":["code","iso3","name","attribution","limitations"],"properties":{"code":{"type":"string"},"iso3":{"type":"string"},"name":{"type":"string"},"region":{"type":["string","null"]},"capital":{"type":["string","null"]},"attribution":{"type":"string"},"incomeGroup":{"type":["string","null"]},"lendingType":{"type":["string","null"]},"limitations":{"type":"string"}}},"source":{"type":"object","required":["name","url"],"properties":{"url":{"type":"string","format":"uri"},"name":{"type":"string"}}},"service":{"type":"string"},"subject":{"type":"string"},"retrievedAt":{"type":"string","format":"date-time"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SBde9ye1K5FHS7nflixMO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves a two-letter ISO country code into World Bank metadata including name, region, capital, income group, and lending classification.","exampleAgentPrompt":"What's the World Bank region, capital, and income group for Brazil — can you look it up using its country code BR?","exampleUseCases":[{"title":"Enrich dataset with country metadata","prompt":"I have a list of two-letter country codes in my dataset and I need to add the World Bank region, income group, and capital city for each one — can you start with NG?"},{"title":"Check lending classification for a country","prompt":"What is the World Bank lending classification for Pakistan? Use the country code PK to look it up."},{"title":"Validate and expand a country code","prompt":"I just got back a country code DE from an API — can you tell me the full country name, its capital, and what income group the World Bank puts it in?"}],"resultDescription":"A JSON object containing the country's ISO alpha-2 and alpha-3 codes, World Bank name, region, capital city, income group, lending type, a timestamp of retrieval, source attribution, and any data limitations noted by the provider.","failureModes":["Invalid or unsupported country code returns an error or empty report","Aggregate codes (e.g. regional aggregates like '1W') are excluded and will fail","World Bank API downtime may cause retrieval failures","Codes for disputed or unrecognized territories may return null fields for region/capital/income group"],"whenToPreferThis":"Use this endpoint when you need to enrich a two-letter ISO country code with structured World Bank metadata — especially income group and lending classification — rather than simple name resolution. It is ideal for development economics pipelines, data validation workflows, or any agent task requiring authoritative geopolitical classifications sourced from the World Bank.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:01:21.538Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-country-profile-bbb4f24d"}