---
title: "Geocode a free-form address"
method: GET
path: "/yelp/geocode"
tags: ["Yelp"]
---

# Geocode a free-form address

`GET /yelp/geocode`

## Request

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

Resolves a free-form address into structured location data (coordinates, city, state, zip, county). Not business-scoped.

## Query parameters

- `address` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- YelpMobileGeocodeResponseDoc
  - `code` integer
  - `data` YelpMobileGeocodeResponse
    - `address` string
    - `address_line_1` string
    - `city` string
    - `coordinates` YelpCoordinates
      - `latitude` number
      - `longitude` number
    - `country` string
    - `county` string
    - `display_name` string
    - `postal_code` string
    - `state` string
    - `yelp_available` boolean
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error
- `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/afac9b012a27?raw)
