---
title: "Geocode an address"
method: GET
path: "/v3/lds/geocoding/geocode"
tags: ["LDS"]
---

# Geocode an address

`GET /v3/lds/geocoding/geocode`

Returns coordinates for a street address.

The geocoding provider is configured per organization, so the fields of each
result depend on which provider your organization uses.

## Query parameters

- `address` string, required
- `country` string
- `limit` integer
- `options` string

## Response `200`

The geocoding results.

- object[]
  - `error` string, nullable
  - `value` GeocodingResult[]
    - `formattedAddress` string
    - `latitude` number
    - `longitude` number
    - `country` string
    - `countryCode` string
    - `state` string
    - `county` string
    - `city` string
    - `zipcode` string
    - `streetName` string
    - `streetNumber` string
    - `provider` string

## Other responses

- `400` — The request is malformed or a parameter failed validation.
- `401` — The token is missing, malformed or expired.
- `403` — The token doesn't grant access to this resource.
- `429` — You went over the [rate limit](#rate-limits) for this API.

---

[API](https://skmtc.net/gitbookio/apis/carto-api.md) · [All operations](https://skmtc.net/gitbookio/apis/carto-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitbookio/carto-api/revisions/019f79ecdd6c/schema)
