{"uid":"cap_AdOJX7vDY2_MkBhpidhHl","slug":"polyform-compare-countries-2a9ee840","name":"Polyform Compare Countries","description":"Pay-per-call data endpoints for AI agents. USDC on Base via x402. No account, no API key — one micropayment per call.","url":"https://api.polyform.org/v1/econ/compare-countries?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"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"a":{"iso":"US"},"b":{"iso":"CN"},"comparison":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WO5CoCpac-1rW8FadK8P3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a side-by-side economic and demographic comparison of two countries identified by ISO code","exampleAgentPrompt":"Can you compare the economies and key stats of the US and China side by side?","exampleUseCases":[{"title":"Investment market research comparison","prompt":"I'm considering expanding into either Brazil or Germany — can you pull a side-by-side economic comparison of the two countries so I can see their GDP, population, and other key indicators?"},{"title":"Academic country benchmarking","prompt":"For my research paper I need to compare the economic profiles of India and South Korea — can you get me a structured comparison of their main stats?"},{"title":"Trade partner economic analysis","prompt":"We're evaluating new trade partners — compare the economic and demographic data of Mexico and Vietnam for me so I can see which market looks stronger."}],"resultDescription":"A JSON object containing economic and demographic comparison data for two countries (keyed as 'a' and 'b' by ISO code), plus a 'comparison' object summarizing key differences and metrics between them.","failureModes":["Invalid or unrecognized ISO country code returns an error","Missing required country parameters returns a 400-level error","Payment not completed (x402 flow not followed) returns 402 Payment Required","Network timeout if upstream data source is slow"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call structured comparison of two countries without managing API keys or subscriptions. Ideal for agents that sporadically need country-level economic or demographic benchmarking without committing to a data provider subscription. The micropayment model (USDC on Base via x402) means zero setup overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T19:06:25.461Z","isFirstParty":false,"canonicalSlug":"polyform-compare-countries-2a9ee840"}