{"uid":"cap_4KJ6Ka_zMJAgoZnYA_R3I","slug":"pennyrail-country-lookup-924ad232","name":"PennyRail Country Lookup","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/f/country.lookup","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"2 or 3 letter country code"}}},"responseSchema":{"type":"object","required":["operation","result"],"properties":{"result":{},"operation":{"type":"string"}},"additionalProperties":true},"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_1Pk5QjawUggNKJpyMMsPz","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":"Looks up country information from a 2 or 3 letter country code, returning structured country data","exampleAgentPrompt":"Can you look up the country details for the code 'DEU' and tell me what you get back?","exampleUseCases":[{"title":"Enrich e-commerce shipping data","prompt":"I have a country code 'FR' coming in from our checkout form — can you resolve it to full country details so I can validate and display the shipping destination properly?"},{"title":"Validate user-submitted country codes","prompt":"A user just entered 'GBR' as their country — can you look that up and confirm it's a valid country code and tell me what country it maps to?"},{"title":"Decode analytics country field","prompt":"Our analytics pipeline is giving me two-letter country codes like 'JP' and I need to resolve them to full country info — can you look up 'JP' for me?"}],"resultDescription":"Returns a JSON object containing an 'operation' string describing what was performed and a 'result' field with the country data associated with the provided code. The response may include additional fields with country metadata such as name, region, or other structured details.","failureModes":["Invalid or unrecognized country code returns an error or empty result","Missing 'input' field in request body causes a 400-level validation error","Ambiguous code (e.g. a code that doesn't match any ISO standard) may return no result","Network or service unavailability returns a 5xx error","Malformed input (non-string or overly long value) may be rejected"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call country code resolution with no subscription or API key setup, and you only need occasional lookups. Ideal for agents that need to enrich or validate ISO 2-letter or 3-letter country codes inline during a workflow without integrating a full geolocation or reference data service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:09:32.500Z","isFirstParty":false}