---
title: "Geocode a free-text address for Panera Bread's locator"
method: GET
path: "/panera/geocode"
tags: ["Panera"]
---

# Geocode a free-text address for Panera Bread's locator

`GET /panera/geocode`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/panera/geocode`
- Auth: API key in header `x-api-key`

Resolves a free-text address, city, or postal code to coordinates using Panera Bread's own locator geocoder -- the same lookup its site uses to center a cafe search. Returns latitude/longitude plus the resolved city, state, country and formatted address. An address Panera cannot resolve returns a single result with resolved false rather than an error.

## Query parameters

- `address` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- PaneraGeocodeResponseDoc
  - `code` integer: Code is the HTTP status code or a custom code used to indicate the result of the request @example 200
  - `data` PaneraGeocodeResponse
    - `address` string
    - `count` integer
    - `fetched_at` string
    - `results` PaneraGeocodeResult[]
      - `city` string
      - `country` string
      - `formatted_address` string
      - `latitude` number
      - `longitude` number
      - `resolved` boolean: Resolved is false when Panera could not geocode the address at all (an empty, malformed, or nonsense query).
      - `state` string
    - `source_url` string
  - `msg` unknown

## Other responses

- `400`: Bad Request
- `429`: Too Many Requests
- `503`: Service Unavailable

---

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