{"openapi":"3.1.0","info":{"title":"NYC Geoclient (BYOK) API","version":"0.1.0","description":"NYC Geoclient (BYOK) lets an AI assistant read your own NYC Geoclient data through the NYC Geoclient API with a key you supply (NYC API Portal subscription key for Geoclient v2). Read-only: 10 tools (lookup_address, lookup_address_point, lookup_bbl, lookup_bin, lookup_blockface, lookup_intersection, lookup_place, search_location, lookup_street_code, get_geoclient_version). The BYOK key travels...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-nyc-geoclient.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-nyc-geoclient/docs"},"termsOfService":"https://connectorbay.com/byok-nyc-geoclient/terms"},"servers":[{"url":"https://byok-nyc-geoclient.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-nyc-geoclient/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/lookup_address":{"post":{"operationId":"lookup_address","summary":"Look up one New York City address (house number, street and borough or zip): tax lot (BBL), building number (BIN), coord","description":"Look up one New York City address (house number, street and borough or zip): tax lot (BBL), building number (BIN), coordinates, zoning map, community, council, school, police and fire districts, census tract, neighbourhood and hurricane evacuation zone. Free city data from the NYC Department of City Planning geocoder; a missing location comes back with a Geosupport message. Use for \"What is the tax lot, zoning map and council district of 314 West 100 Street, Manhattan\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"house_number":{"description":"House number of the address.","maxLength":20,"title":"House Number","type":"string"},"street":{"description":"Street name or 7-digit street code.","maxLength":100,"title":"Street","type":"string"},"borough":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Borough name, abbreviation or number, for example Manhattan, MN or 1; also Bronx, Brooklyn, Queens, Staten Island.","title":"Borough"},"zip":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"USPS 5-digit zip code of a New York City area (an alternative to borough).","title":"Zip"}},"required":["house_number","street"],"title":"lookup_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/lookup_address_point":{"post":{"operationId":"lookup_address_point","summary":"Look up the NYC address point of one address: address point id, tax lot, building number, coordinates and state plane x ","description":"Look up the NYC address point of one address: address point id, tax lot, building number, coordinates and state plane x and y. Free city data from the NYC Department of City Planning geocoder; a missing location comes back with a Geosupport message. Use for \"What are the coordinates of the address point at 314 West 100 Street, Manhattan\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"house_number":{"description":"House number of the address.","maxLength":20,"title":"House Number","type":"string"},"street":{"description":"Street name or 7-digit street code.","maxLength":100,"title":"Street","type":"string"},"borough":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Borough name, abbreviation or number, for example Manhattan, MN or 1; also Bronx, Brooklyn, Queens, Staten Island.","title":"Borough"},"zip":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"USPS 5-digit zip code of a New York City area (an alternative to borough).","title":"Zip"}},"required":["house_number","street"],"title":"lookup_address_pointArguments","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/lookup_bbl":{"post":{"operationId":"lookup_bbl","summary":"Look up one NYC tax lot by borough, tax block and lot (BBL): building number, label coordinates, building class, structu","description":"Look up one NYC tax lot by borough, tax block and lot (BBL): building number, label coordinates, building class, structures on the lot, street frontages, business improvement district and tax map. Free city data from the NYC Department of City Planning geocoder; a missing location comes back with a Geosupport message. Use for \"What building and facts belong to Manhattan tax block 67 lot 1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"borough":{"description":"Borough name, abbreviation or number, for example Manhattan, MN or 1; also Bronx, Brooklyn, Queens, Staten Island.","maxLength":20,"title":"Borough","type":"string"},"block":{"description":"Tax block number (no zero padding needed).","maxLength":6,"title":"Block","type":"string"},"lot":{"description":"Tax lot number (no zero padding needed).","maxLength":6,"title":"Lot","type":"string"}},"required":["borough","block","lot"],"title":"lookup_bblArguments","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/lookup_bin":{"post":{"operationId":"lookup_bin","summary":"Look up one NYC building by its building identification number (BIN): tax lot, label coordinates, building class, struct","description":"Look up one NYC building by its building identification number (BIN): tax lot, label coordinates, building class, structures on the lot and street frontages. Free city data from the NYC Department of City Planning geocoder; a missing location comes back with a Geosupport message. Use for \"Which tax lot is NYC building 1079043 on\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"bin":{"description":"Seven-digit NYC building identification number.","maxLength":7,"title":"Bin","type":"string"}},"required":["bin"],"title":"lookup_binArguments","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/lookup_blockface":{"post":{"operationId":"lookup_blockface","summary":"Look up one NYC blockface (one street between two cross streets): street codes, segment length, lanes, traffic direction","description":"Look up one NYC blockface (one street between two cross streets): street codes, segment length, lanes, traffic direction, roadway type, coordinates of both ends, and the zip code, police precinct and community district of each side. Free city data from the NYC Department of City Planning geocoder; a missing location comes back with a Geosupport message. Use for \"Describe Broadway between West 100th and West 101st Street in Manhattan\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"on_street":{"description":"Street the blockface is on.","maxLength":100,"title":"On Street","type":"string"},"cross_street_one":{"description":"First cross street.","maxLength":100,"title":"Cross Street One","type":"string"},"cross_street_two":{"description":"Second cross street.","maxLength":100,"title":"Cross Street Two","type":"string"},"borough":{"description":"Borough name, abbreviation or number, for example Manhattan, MN or 1; also Bronx, Brooklyn, Queens, Staten Island.","maxLength":20,"title":"Borough","type":"string"},"compass_direction":{"anyOf":[{"enum":["N","S","E","W"],"type":"string"},{"type":"null"}],"default":null,"description":"N, S, E or W, to restrict the answer to one side or one intersection.","title":"Compass Direction"}},"required":["on_street","cross_street_one","cross_street_two","borough"],"title":"lookup_blockfaceArguments","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/lookup_intersection":{"post":{"operationId":"lookup_intersection","summary":"Look up the intersection of two NYC streets: coordinates, zip code, community, council, police, fire and school district","description":"Look up the intersection of two NYC streets: coordinates, zip code, community, council, police, fire and school districts, census tract and neighbourhood. Free city data from the NYC Department of City Planning geocoder; a missing location comes back with a Geosupport message. Use for \"Where do Broadway and West 100th Street intersect in Manhattan\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cross_street_one":{"description":"First street of the intersection.","maxLength":100,"title":"Cross Street One","type":"string"},"cross_street_two":{"description":"Second street of the intersection.","maxLength":100,"title":"Cross Street Two","type":"string"},"borough":{"description":"Borough name, abbreviation or number, for example Manhattan, MN or 1; also Bronx, Brooklyn, Queens, Staten Island.","maxLength":20,"title":"Borough","type":"string"},"borough_cross_street_two":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Borough of the second street, if different from borough.","title":"Borough Cross Street Two"},"compass_direction":{"anyOf":[{"enum":["N","S","E","W"],"type":"string"},{"type":"null"}],"default":null,"description":"N, S, E or W, to restrict the answer to one side or one intersection.","title":"Compass Direction"}},"required":["cross_street_one","cross_street_two","borough"],"title":"lookup_intersectionArguments","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/lookup_place":{"post":{"operationId":"lookup_place","summary":"Look up a well-known NYC place by name (bridge, park, building, station) with borough or zip: tax lot, building number, ","description":"Look up a well-known NYC place by name (bridge, park, building, station) with borough or zip: tax lot, building number, coordinates and district facts. Free city data from the NYC Department of City Planning geocoder; a missing location comes back with a Geosupport message. Use for \"Where is the George Washington Bridge in Manhattan\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"name":{"description":"Well-known place name.","maxLength":100,"title":"Name","type":"string"},"borough":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Borough name, abbreviation or number, for example Manhattan, MN or 1; also Bronx, Brooklyn, Queens, Staten Island.","title":"Borough"},"zip":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"USPS 5-digit zip code of a New York City area (an alternative to borough).","title":"Zip"}},"required":["name"],"title":"lookup_placeArguments","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_location":{"post":{"operationId":"search_location","summary":"Search NYC with one free-text location (an address, BBL, BIN, blockface, intersection or place name). Returns the match ","description":"Search NYC with one free-text location (an address, BBL, BIN, blockface, intersection or place name). Returns the match status and every geocode the parser could build, each with its request and Geosupport answer. Free city data from the NYC Department of City Planning geocoder; a missing location comes back with a Geosupport message. Use for \"Geocode 280 Riverside Drive Manhattan\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"input":{"description":"Free-text location, for example 280 riverside drive manhattan or a 10-digit BBL.","maxLength":200,"title":"Input","type":"string"}},"required":["input"],"title":"search_locationArguments","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/lookup_street_code":{"post":{"operationId":"lookup_street_code","summary":"Normalize one to three NYC street codes (B5SC, B7SC or B10SC) into street names, in sort or compact format and with a ma","description":"Normalize one to three NYC street codes (B5SC, B7SC or B10SC) into street names, in sort or compact format and with a maximum length. Use for \"What street has code 11061004010 in NYC\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"street_code":{"description":"B5SC, B7SC or B10SC street code.","maxLength":11,"title":"Street Code","type":"string"},"street_code_two":{"anyOf":[{"maxLength":11,"type":"string"},{"type":"null"}],"default":null,"description":"Second street code.","title":"Street Code Two"},"street_code_three":{"anyOf":[{"maxLength":11,"type":"string"},{"type":"null"}],"default":null,"description":"Third street code.","title":"Street Code Three"},"length":{"anyOf":[{"maximum":32,"minimum":4,"type":"integer"},{"type":"null"}],"default":null,"description":"Length of the normalized name, 4 to 32.","title":"Length"},"format":{"anyOf":[{"enum":["S","C"],"type":"string"},{"type":"null"}],"default":null,"description":"S for sort format or C for compact format.","title":"Format"}},"required":["street_code"],"title":"lookup_street_codeArguments","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_geoclient_version":{"post":{"operationId":"get_geoclient_version","summary":"Show the version of the Geoclient service and of the Geosupport geocoder data release behind it. Use for \"Which Geosuppo","description":"Show the version of the Geoclient service and of the Geosupport geocoder data release behind it. Use for \"Which Geosupport release is the NYC geocoder using\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_geoclient_versionArguments","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}}}}