{"uid":"cap_UvMZm6_gHlTLPA5cxkTk-","slug":"pennyrail-country-code-lookup-e0a3093a","name":"PennyRail Country Code Lookup","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/p/network/country.lookup--country-code-lookup","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string"}}},"responseSchema":{"type":"object","additionalProperties":true},"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_KSd7BS5-7L4tm7f5BjkBD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up a country name or identifier and returns the corresponding ISO country code (or vice versa)","exampleAgentPrompt":"What is the ISO country code for Brazil? Use the PennyRail country code lookup to resolve it.","exampleUseCases":[{"title":"Normalize country names in a dataset","prompt":"I have a list of customer records where the country field has full names like 'United Kingdom' and 'Australia' — can you convert each of those to their standard two-letter ISO codes?"},{"title":"Validate a user-entered country at checkout","prompt":"A user typed 'Deutschland' in the country field of our checkout form — what is the standard country code so I can process their order correctly?"},{"title":"Enrich shipping address with country code","prompt":"I have a shipping address where the destination country is listed as 'South Korea' — what ISO code should I use when submitting this to our carrier API?"}],"resultDescription":"Returns a machine-readable object containing the resolved country code (likely ISO 3166-1 alpha-2 or alpha-3) and potentially related metadata such as the canonical country name, given an input country name or identifier string.","failureModes":["Unrecognized or misspelled country name returns an error or empty result","Ambiguous input (e.g. abbreviated or informal names) may return incorrect or null results","Non-string or malformed input field causes a validation error","Service unavailable returns a 402 or 5xx HTTP status"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call country name to ISO code resolution without setting up a local lookup table or integrating a heavier geographic data API. Particularly useful in agent workflows that occasionally need to normalize country strings and want a simple REST call rather than a bundled library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:55:40.872Z","isFirstParty":false}