{"openapi":"3.1.0","info":{"title":"Radar (BYOK) API","version":"0.1.0","description":"Radar (BYOK) lets an AI assistant read your own Radar data through the Radar API with a key you supply (Radar publishable or secret API key (prj_live_pk_... or prj_live_sk_...)). Read-only: 8 tools (forward_geocode, reverse_geocode, autocomplete, search_places, search_geofences, validate_address, get_route_distance, get_route_matrix). The BYOK key travels with each request, is used for that one...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-radar.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-radar/docs"},"termsOfService":"https://connectorbay.com/byok-radar/terms"},"servers":[{"url":"https://byok-radar.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-radar/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/forward_geocode":{"post":{"operationId":"forward_geocode","summary":"Convert a complete address into coordinates with a confidence level (exact, interpolated or fallback). For partial addre","description":"Convert a complete address into coordinates with a confidence level (exact, interpolated or fallback). For partial addresses or place names use autocomplete. Radar's free plan has a monthly cap on API calls. Use for \"What are the coordinates of 20 Jay St, Brooklyn NY\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"The address to geocode.","maxLength":300,"title":"Query","type":"string"},"layers":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated result layers: place, address, postalCode, locality, county, state, country, coarse (all of postalCode to country) or fine (address and place). Default: address and coarse.","title":"Layers"},"country":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Limit to countries given as 2-letter codes separated by commas, for example 'US,CA'.","title":"Country"},"lang":{"anyOf":[{"enum":["ar","de","en","es","fr","ja","ko","pt","ru","zh"],"type":"string"},{"type":"null"}],"default":null,"description":"Result language: ar, de, en, es, fr, ja, ko, pt, ru or zh (default en).","title":"Lang"}},"required":["query"],"title":"forward_geocodeArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/reverse_geocode":{"post":{"operationId":"reverse_geocode","summary":"Convert coordinates into the nearest address and administrative areas. Radar's free plan has a monthly cap on API calls.","description":"Convert coordinates into the nearest address and administrative areas. Radar's free plan has a monthly cap on API calls. Use for \"What address is at 40.7039,-73.9867\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"coordinates":{"description":"Location as latitude,longitude, for example 40.7039,-73.9867.","maxLength":40,"title":"Coordinates","type":"string"},"layers":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated result layers: place, address, postalCode, locality, county, state, country, coarse (all of postalCode to country) or fine (address and place). Default: address and coarse.","title":"Layers"}},"required":["coordinates"],"title":"reverse_geocodeArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/autocomplete":{"post":{"operationId":"autocomplete","summary":"Complete partial addresses and place names, sorted by relevance and distance from a point. Up to 100 results. Radar's fr","description":"Complete partial addresses and place names, sorted by relevance and distance from a point. Up to 100 results. Radar's free plan has a monthly cap on API calls. Use for \"Suggest places matching 'brooklyn roasting' near DUMBO\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"The partial address or place name.","maxLength":200,"title":"Query","type":"string"},"near":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Prefer results near latitude,longitude, for example 40.7039,-73.9867. Without it the request's IP location is used.","title":"Near"},"layers":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated result layers: place, address, postalCode, locality, county, state, country, coarse (all of postalCode to country) or fine (address and place). Default: address and coarse.","title":"Layers"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Maximum results (1 to 100, default 10).","title":"Limit"},"country_code":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Limit to countries given as 2-letter codes separated by commas, for example 'US,CA'.","title":"Country Code"}},"required":["query"],"title":"autocompleteArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/search_places":{"post":{"operationId":"search_places","summary":"Find places near a location by category or chain (for example coffee-shop, or starbucks), sorted by distance. Radar's fr","description":"Find places near a location by category or chain (for example coffee-shop, or starbucks), sorted by distance. Radar's free plan has a monthly cap on API calls. Use for \"Find coffee shops within 1 km of 40.78382,-73.97779\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"near":{"description":"Search center as latitude,longitude, for example 40.7039,-73.9867.","maxLength":40,"title":"Near","type":"string"},"categories":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated place categories, for example 'food-beverage,coffee-shop'. Needed unless chains is given.","title":"Categories"},"chains":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated chain slugs, for example 'starbucks'. Needed unless categories is given.","title":"Chains"},"radius":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1000,"description":"Search radius in meters (1 to 10000, default 1000).","title":"Radius"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Maximum places (1 to 100, default 10).","title":"Limit"}},"required":["near"],"title":"search_placesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/search_geofences":{"post":{"operationId":"search_geofences","summary":"Search your own Radar geofences near a location, sorted by distance, optionally filtered by tag. Radar's free plan has a","description":"Search your own Radar geofences near a location, sorted by distance, optionally filtered by tag. Radar's free plan has a monthly cap on API calls. Use for \"Which of my geofences are within 1 km of 40.78,-73.97\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"near":{"description":"Search center as latitude,longitude, for example 40.7039,-73.9867.","maxLength":40,"title":"Near","type":"string"},"radius":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Search radius in meters.","title":"Radius"},"tags":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated geofence tags to require, for example 'store'.","title":"Tags"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"Maximum geofences (1 to 1000, default 100).","title":"Limit"},"include_geometry":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to include geofence shapes; the default here is false to keep answers small.","title":"Include Geometry"}},"required":["near"],"title":"search_geofencesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/validate_address":{"post":{"operationId":"validate_address","summary":"Validate a structured US or Canadian address: returns the standardized address, plus4 and a verification status (verifie","description":"Validate a structured US or Canadian address: returns the standardized address, plus4 and a verification status (verified, partially verified, ambiguous, unverified). Available to enterprise customers. Radar's free plan has a monthly cap on API calls. Use for \"Is 841 Broadway, New York, NY 10003 a valid address\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"city":{"description":"City name.","maxLength":80,"title":"City","type":"string"},"state_code":{"description":"2-letter state or province code.","maxLength":2,"title":"State Code","type":"string"},"postal_code":{"description":"Postal or ZIP code.","maxLength":12,"title":"Postal Code","type":"string"},"country_code":{"description":"2-letter country code, US or CA.","maxLength":2,"title":"Country Code","type":"string"},"number":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Building or PO box number (needed with street unless address_label is given).","title":"Number"},"street":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Street name (needed with number unless address_label is given).","title":"Street"},"unit":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"Unit, for example 'Apt 3'.","title":"Unit"},"address_label":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"default":null,"description":"First address line including number, street and unit, for example '20 Jay St Apt 3'.","title":"Address Label"}},"required":["city","state_code","postal_code","country_code"],"title":"validate_addressArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_route_distance":{"post":{"operationId":"get_route_distance","summary":"Get travel distance and duration between an origin and a destination for one or more modes (car, truck, foot, bike), plu","description":"Get travel distance and duration between an origin and a destination for one or more modes (car, truck, foot, bike), plus the straight-line distance. Radar's free plan has a monthly cap on API calls. Use for \"How far is it to drive or walk from 40.78382,-73.97536 to 40.7039,-73.9869\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"origin":{"description":"Start point as latitude,longitude, for example 40.7039,-73.9867.","maxLength":40,"title":"Origin","type":"string"},"destination":{"description":"End point as latitude,longitude, for example 40.7039,-73.9867.","maxLength":40,"title":"Destination","type":"string"},"modes":{"description":"Comma-separated travel modes: car, truck, foot, bike.","maxLength":40,"title":"Modes","type":"string"},"units":{"anyOf":[{"enum":["imperial","metric"],"type":"string"},{"type":"null"}],"default":null,"description":"imperial (default, distances in feet) or metric (meters).","title":"Units"},"avoid":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated features to avoid: tolls, highways, ferries, borderCrossings.","title":"Avoid"},"departure_time":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"ISO 8601 departure time for traffic estimates, for example 2026-11-01T14:30:00Z.","title":"Departure Time"}},"required":["origin","destination","modes"],"title":"get_route_distanceArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_route_matrix":{"post":{"operationId":"get_route_matrix","summary":"Get travel distances and durations between several origins and destinations (up to 625 routes) for one mode. Radar's fre","description":"Get travel distances and durations between several origins and destinations (up to 625 routes) for one mode. Radar's free plan has a monthly cap on API calls. Use for \"How long does it take to drive from 40.78,-73.97 to two other points\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"origins":{"description":"Origins as a pipe-delimited list of latitude,longitude pairs, for example '40.78,-73.97|40.75,-73.99'.","maxLength":1500,"title":"Origins","type":"string"},"destinations":{"description":"Destinations as a pipe-delimited list of latitude,longitude pairs.","maxLength":1500,"title":"Destinations","type":"string"},"mode":{"description":"Travel mode: car, truck, foot or bike.","enum":["car","truck","foot","bike"],"title":"Mode","type":"string"},"units":{"anyOf":[{"enum":["imperial","metric"],"type":"string"},{"type":"null"}],"default":null,"description":"imperial (default) or metric.","title":"Units"},"avoid":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated features to avoid: tolls, highways, ferries.","title":"Avoid"},"departure_time":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"ISO 8601 departure time for traffic estimates.","title":"Departure Time"}},"required":["origins","destinations","mode"],"title":"get_route_matrixArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}