{"api":"v1","generated_at":"2026-10-02T11:20:56.226Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/api-duoleads-com-v1-geo-distance-373f29","pinned_page":"https://tollindex.com/e/api-duoleads-com-v1-geo-distance-373f29/at/2026-10-02T05-34Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-10-02T05:34:29.993Z","snapshot_stamp":"2026-10-02T05-34Z","endpoint":{"slug":"api-duoleads-com-v1-geo-distance-373f29","canonical_url":"https://api.duoleads.com/v1/geo/distance","resource":"https://api.duoleads.com/v1/geo/distance","http_method":"GET","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Distance and direction between WGS-84 coordinates: geodesic distance by Vincenty with a haversine fallback, initial and final bearing, the midpoint, and the destination point reached from a start point on a given bearing and distance. Also computes the cumulative length of a supplied coordinate path. Results in metres, kilometres, nautical miles and miles.","service_name":"Duo Data Utilities","declared_category":null,"declared_tags":["deterministic","no-api-key","geo","geodesy","distance"],"route_template":null,"registry_updated":"2026-10-01T20:52:43.578Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"geo distance","category":"other","first_observed_by_toll":"2026-09-29T05:42:18.847Z","last_observed_by_toll":"2026-10-02T05:34:29.993Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-29T05:42:18.848Z","event":"listed"},{"registry":"cdp","at":"2026-10-01T05:50:06.230Z","event":"delisted"},{"registry":"cdp","at":"2026-10-01T13:10:50.124Z","event":"delisting_confirmed"},{"registry":"cdp","at":"2026-10-01T22:40:17.457Z","event":"relisted"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.05 USDC","amount_units":0.05,"decimals_known":true,"pay_to":"0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39","scheme":"exact"}],"counters":{"observed_at":"2026-10-02T05:34:29.993Z","calls_30d":2,"unique_payers_30d":1,"last_called_at":"2026-10-01T20:52:43.460Z"},"validation":{"latest":{"observed_at":"2026-09-30T06:23:09.240Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-30"},"uptime":[{"days":7,"observed":3,"passed":3,"ratio":1},{"days":30,"observed":3,"passed":3,"ratio":1},{"days":90,"observed":3,"passed":3,"ratio":1}],"history_90d":[{"observed_at":"2026-09-30T06:23:09.240Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T18:43:28.697Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-29T17:48:12.859Z","state":"pass","failed_checks":[],"run_id":"new-after-daily-2026-09-28","state_changed":true}]},"seller":{"wallet":"0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39","page":"https://tollindex.com/seller/0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39","endpoints":33,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["deterministic","no-api-key","geo","geodesy","distance"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39","amount":"50000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":120}],"quality":{"lastCalledAt":"2026-10-01T20:52:43.46Z","l30DaysTotalCalls":2,"l30DaysUniquePayers":1},"resource":"https://api.duoleads.com/v1/geo/distance","extensions":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{"lat1":"52.3728","lat2":"40.7128","lon1":"4.8936","lon2":"-74.0060"}},"output":{"type":"json","example":{"ok":true,"data":{"method":"vincenty","distance":{"m":5878232.354,"km":5878.232354,"mi":3652.564246,"nmi":3173.991552},"midpoint":{"lat":53.7242681,"lon":-39.60892324},"converged":true,"bearing_final":228.8713,"bearing_initial":290.8461},"meta":{"price_usd":"0.05","disclaimer":"Factual output of a deterministic computation over public data. Provided as is, with no warranty of accuracy, completeness or availability. Not investment, financial, legal, tax, medical or any other professional advice, and not a recommendation. Verify before relying on it. Terms: https://api.duoleads.com/terms","request_id":"01K6B7Q4ZC8H3F2M9WXR5TYN0D","computed_at":"2026-09-28T12:00:00.000Z","deterministic":true},"route":"/v1/geo/distance","version":"1.0.0"}}},"schema":{"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":[],"properties":{"op":{"enum":["distance","destination","midpoint","path"],"type":"string","default":"distance","maxLength":64,"description":"distance (default), destination, midpoint or path."},"lat1":{"type":"string","pattern":"^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$","maxLength":64,"description":"Start latitude."},"lat2":{"type":"string","pattern":"^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$","maxLength":64,"description":"End latitude."},"lon1":{"type":"string","pattern":"^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$","maxLength":64,"description":"Start longitude."},"lon2":{"type":"string","pattern":"^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$","maxLength":64,"description":"End longitude."},"path":{"type":"string","maxLength":2048,"description":"Comma-separated lat,lon pairs for op=path, at most 200 points."},"method":{"enum":["vincenty","haversine"],"type":"string","default":"vincenty","maxLength":64,"description":"vincenty (default, WGS-84) or haversine."},"bearing":{"type":"string","pattern":"^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$","maxLength":64,"description":"Initial bearing in degrees for op=destination."},"distance_m":{"type":"string","pattern":"^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+)?$","maxLength":64,"description":"Distance in metres for op=destination, 0 to 1e9 (about 25 Earth circumferences); larger values are 400 INVALID_PARAM."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","route","version","data","meta"],"properties":{"ok":{"const":true},"data":{"type":"object","required":["method","converged"],"properties":{"legs":{"type":"integer"},"method":{"type":"string"},"points":{"type":"integer"},"distance":{"type":"object","required":["m","km","nmi","mi"],"properties":{"m":{"type":"number"},"km":{"type":"number"},"mi":{"type":"number"},"nmi":{"type":"number"}}},"midpoint":{"type":"object","required":["lat","lon"],"properties":{"lat":{"type":"number"},"lon":{"type":"number"}}},"converged":{"type":"boolean"},"destination":{"type":"object","required":["lat","lon"],"properties":{"lat":{"type":"number"},"lon":{"type":"number"}}},"bearing_final":{"type":"number"},"bearing_initial":{"type":"number"}}},"meta":{"type":"object","required":["request_id","computed_at","price_usd","deterministic","disclaimer"],"properties":{"sources":{"type":"array","items":{"type":"object","required":["id","version","published"]}},"price_usd":{"type":"string"},"disclaimer":{"type":"string"},"request_id":{"type":"string"},"computed_at":{"type":"string","description":"RFC 3339 UTC with milliseconds"},"deterministic":{"type":"boolean"}}},"route":{"const":"/v1/geo/distance"},"version":{"type":"string"}}}}}}}}},"description":"Distance and direction between WGS-84 coordinates: geodesic distance by Vincenty with a haversine fallback, initial and final bearing, the midpoint, and the destination point reached from a start point on a given bearing and distance. Also computes the cumulative length of a supplied coordinate path. Results in metres, kilometres, nautical miles and miles.","lastUpdated":"2026-10-01T20:52:43.578Z","serviceName":"Duo Data Utilities","x402Version":2}]}}