{"uid":"cap_tG1qSJrCiqsAerFqqDtXg","slug":"country-facts-border-path-finder-c022ac8f","name":"Country Facts – Border Path Finder","description":"Fewest land border crossings between two countries, with the countries passed through, or NO_LAND_ROUTE.","url":"https://country-facts.x402tookit.com/border-path?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","required":["from","to"],"properties":{"to":{"type":"string","description":"End country, ISO code or English name"},"from":{"type":"string","description":"Start country, ISO code or English name"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"to":{"type":["null","object"],"properties":{"name":{"type":["null","string"]},"alpha2":{"type":["null","string"]},"alpha3":{"type":["null","string"]}}},"asOf":{"type":["null","string"]},"from":{"type":["null","object"],"properties":{"name":{"type":["null","string"]},"alpha2":{"type":["null","string"]},"alpha3":{"type":["null","string"]}}},"path":{"type":["array","null"],"items":{"type":"object","properties":{"name":{"type":["null","string"]},"alpha2":{"type":["null","string"]},"alpha3":{"type":["null","string"]}}}},"source":{"type":["null","string"]},"reasons":{"type":["array","null"]},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"crossings":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"passesThrough":{"type":["array","null"],"items":{"type":"object","properties":{"name":{"type":["null","string"]},"alpha2":{"type":["null","string"]},"alpha3":{"type":["null","string"]}}}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xa-PNBjkl3kd9kVLM3fQW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the fewest-land-border-crossings route between two countries, listing each country passed through, or NO_LAND_ROUTE if none exists.","exampleAgentPrompt":"How many land border crossings would I need to make to travel from France to India, and which countries would I pass through along the way?","exampleUseCases":[{"title":"Overland travel route planning","prompt":"I want to drive overland from Germany to Mongolia — what's the shortest path in terms of border crossings, and which countries would I pass through?"},{"title":"Checking if a land route exists","prompt":"Is there any land route between the United States and Australia, or is it NO_LAND_ROUTE?"},{"title":"Geopolitics research on connectivity","prompt":"How many land borders separate South Africa from Norway, and what countries are on that path?"}],"resultDescription":"Returns the origin and destination country details (name, ISO alpha2/alpha3), the ordered list of countries along the shortest land-border path (each with name, alpha2, alpha3), the number of crossings, a human-readable summary, a verdict string, and a NO_LAND_ROUTE verdict if no overland route exists. Also includes metadata like data freshness (asOf), degraded-mode flag, and any disclaimers.","failureModes":["Unrecognized country name or ISO code returns an error or empty result","Island nations with no land borders return NO_LAND_ROUTE","Disputed territories or recent geopolitical changes may produce outdated or degraded results (flagged via degraded field)","Some border crossing passability (e.g. closed borders) may not be checked (notChecked array)","Missing required 'from' or 'to' query params returns a 400-level error"],"whenToPreferThis":"Use this endpoint when you need to determine the minimum number of land border crossings between two specific countries and the exact sequence of countries on that path. Prefer this over a general country-facts or neighbors endpoint when the goal is routing or overland travel planning rather than simply listing adjacent countries. It is purpose-built for border-path computation and returns a richer result (full path, crossing count, NO_LAND_ROUTE verdict) than a neighbors list.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:30:43.817Z","isFirstParty":false,"canonicalSlug":"country-facts-border-path-finder-c022ac8f"}