{"uid":"cap_jGHljYDgFGCj3U3Mn6UNd","slug":"pogo-tb-nl-v1-afstand-dutch-postcode-distance-calculator-e1acb1ac","name":"pogo-tb.nl /v1/afstand — Dutch Postcode Distance Calculator","description":"Pay-per-call Dutch RDW kenteken and BAG address APIs for AI agents. Free previews; full JSON via x402 USDC on Base.","url":"https://api.pogo-tb.nl/v1/afstand","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"to_pc":{"type":"string"},"from_pc":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"object"},"attribution":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"data":{"distance_km":165.2},"attribution":"Source: BAG centroids via PDOK Locatieserver / Kadaster, CC BY 4.0. Distance is great-circle (haversine), not road."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vX66-cqBTxI_suVp4FXGp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the straight-line (haversine) distance in kilometres between two Dutch postcodes using BAG address centroid data.","exampleAgentPrompt":"What's the straight-line distance in kilometres between Dutch postcode 1011AB and 3011BD?","exampleUseCases":[{"title":"Logistics delivery zone check","prompt":"Can you tell me the distance in km between postcode 1012AA in Amsterdam and 3013AK in Rotterdam? I need to know if it's within our 200 km delivery radius."},{"title":"Real estate commute estimate","prompt":"I'm looking at a house with postcode 2517KJ — how far is that from my office at postcode 1082MD as the crow flies?"},{"title":"Field service territory planning","prompt":"I have two service engineers based at postcodes 5611AE and 9712HK — what's the straight-line distance between those two Dutch locations so I can split coverage fairly?"}],"resultDescription":"Returns a JSON object with a 'data' field containing 'distance_km' (a float, e.g. 165.2) representing the haversine (great-circle) distance between the two postcode centroids, plus an 'attribution' string crediting BAG/PDOK/Kadaster under CC BY 4.0. Note: this is straight-line distance, not road distance.","failureModes":["Invalid or non-existent Dutch postcode returns an error or empty result","Missing required query parameters (from_pc or to_pc) causes a 400-level response","Payment not completed via x402/USDC returns a 402 Payment Required response","Postcode not found in BAG dataset may return null distance","Network or upstream PDOK service outage causes 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, programmatic straight-line distance between two Dutch postcodes using authoritative Dutch government BAG data. Ideal for logistics, real-estate, or territory-planning agents operating in the Netherlands. Prefer this over geocoding+distance APIs when you already have Dutch postcodes and want a single low-cost call. Note it returns haversine distance, not routing distance — use a routing API if road distance is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:52:15.140Z","isFirstParty":false}