---
title: "Geocode a place name within the Archdiocese of New York + Diocese of Brooklyn"
method: GET
path: "/geocode"
tags: ["Geocode"]
---

# Geocode a place name within the Archdiocese of New York + Diocese of Brooklyn

`GET /geocode`

## Request

- Base URL: `https://api.holydb.com/v1`
- URL: `https://api.holydb.com/v1/geocode`
- Auth: none declared

## Query parameters

- `q` string, required

## Response `200`

Matching places, most relevant first (empty array if none)

- GeocodeResult[]
  - `name` string, required
  - `lat` number, required
  - `lng` number, required

## Other responses

- `400`: Missing q

---

[API](https://skmtc.dev/holydb/apis/holydb-api.md) · [All operations](https://skmtc.dev/holydb/apis/holydb-api/llms.txt) · [OpenAPI document](https://skmtc.dev/holydb/apis/holydb-api/revisions/7b5ce0171598?raw)
