> ## Documentation Index
> Fetch the complete documentation index at: https://orangeslice.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Parse Address

> Parse an address into structured components with geocoding

<Info>
  <Icon icon="coins" /> **1 credit** per call
</Info>

## Method

```typescript theme={null}
services.geo.parseAddress(params);
```

## Input

<ParamField path="address" type="string" required>
  The address string to parse
</ParamField>

## Output

<ResponseField name="streetNumber" type="string">
  Street number
</ResponseField>

<ResponseField name="route" type="string">
  Street name
</ResponseField>

<ResponseField name="city" type="string">
  City
</ResponseField>

<ResponseField name="state" type="string">
  State/province
</ResponseField>

<ResponseField name="postalCode" type="string">
  Postal/ZIP code
</ResponseField>

<ResponseField name="country" type="string">
  Country
</ResponseField>

<ResponseField name="lat" type="number">
  Latitude
</ResponseField>

<ResponseField name="lng" type="number">
  Longitude
</ResponseField>

## Example

```typescript theme={null}
const parsed = await services.geo.parseAddress({
   address: "1600 Amphitheatre Parkway, Mountain View, CA",
});

return `${parsed.city}, ${parsed.state}`;
```
