Operated by Sourcelane✓ verified
Convert a list of addresses to latitude/longitude (forward geocoding) or coordinates to addresses (reverse geocoding) in bulk using the official Google Geocoding API.
Batch geocoding tool that uses the Google Geocoding API to convert bulk addresses to coordinates (forward geocoding) and convert coordinates to normalized, canonical addresses (reverse geocoding). Outputs are per-result rows that include canonical formatted addresses, coordinates, stable place identifiers, ranked multiple-candidate results, location precision/type indicators, place types, partial-match signals and per-input status/error indicators. Extracts a full set of structured address components (street number, route, neighborhood, locality/city, administrative areas, country and country code, postal code, plus codes). Supports language localization for formatted addresses, region biasing and component constraints to limit or bias matches, result-type and location-type filtering for reverse lookups, and continued processing with per-input error handling.
Verified Sep 28, 3:55 AM
$0.008
per geocode
Up to 100 per call. Only pay for results returned; failed calls are refunded.
CRM cleanup
Normalize free-text address columns into structured fields and coordinates for mapping and enrichment
Real estate / property data
Resolve street addresses to coordinates for distance, school zone and amenity analysis
Logistics & routing
Pre-geocode delivery addresses for bulk routing and planning
Reverse-lookup analytics
Translate GPS pings into city, neighborhood and administrative areas for cohort analysis
Address validation
Detect and flag partial matches and zero-result lookups for data cleanup
Forward mode: one address per line.
Component filter for forward geocoding, e.g.
Pipe-separated reverse-geocoding result types, e.g.
Pipe-separated reverse-geocoding location types, e.g.
Optional settings
| Window | Uptime | Success rate | p50 | p95 | Calls |
|---|---|---|---|---|---|
| 24h | — | — | — | — | 0 |
| 7d | — | — | — | — | 0 |
| 30d | — | — | — | — | 0 |
Call it through Sourcelane's gateway or MCP server. We run the connector, apply your agent's spend guardrails, and bill only the results returned.
Call it via Sourcelane
curl -X POST https://api.usesourcelane.com/v1/call \
-H "Authorization: Bearer sl_live_your_agent_key" \
-H "Content-Type: application/json" \
-d '{"listing":"google-geocoding-batch-scraper","params":{"inputs":["1600 Amphitheatre Pkwy, Mountain View, CA","1 Apple Park Way, Cupertino, CA"]},"maxResults":10}'Request params
| Field | Type | Required | Description |
|---|---|---|---|
mode | string | optional | Forward converts addresses to coordinates. Reverse converts 'lat,lng' pairs to formatted addresses and components. |
inputs | array | required | Forward mode: one address per line. Reverse mode: one 'lat,lng' pair per line (e.g. 40.7128,-74.006). |
language | string | optional | BCP-47 language code for the formatted address (e.g. en, es, fr). |
region | string | optional | Two-letter ccTLD region bias for forward geocoding (e.g. us, gb, de). |
components | string | optional | Component filter for forward geocoding, e.g. 'country:US' or 'country:GB|locality:London'. |
resultType | string | optional | Pipe-separated reverse-geocoding result types, e.g. 'street_address|locality|country'. |
locationType | string | optional | Pipe-separated reverse-geocoding location types, e.g. 'ROOFTOP|RANGE_INTERPOLATED'. |
Each result contains
| Field | Type | Description |
|---|---|---|
input | string | Input |
mode | string | Mode |
rank | integer | Rank |
status | string | Status |
formattedAddress | string | Formatted Address |
latitude | number | Latitude |
longitude | number | Longitude |
placeId | string | Place Id |
locationType | string | Location Type |
partialMatch | null | Partial Match |
types | array | Types |
streetNumber | null | Street Number |
route | null | — |
neighborhood | null | — |
subLocality | null | — |
locality | string | — |
adminArea1Long | string | — |
adminArea1Short | string | — |
adminArea2Long | string | — |
country | string | — |
countryCode | string | — |
postalCode | string | — |
plusCodeGlobal | string | — |
plusCodeCompound | string | — |
error | null | — |
Pick your tool and connect in under a minute. Then just ask — for example: “List 40 dentists in Austin TX with phone, website and rating above 4.5.”
Connect Claude
Web, desktop and mobile. One click, then confirm.
Adds the Sourcelane MCP server with your key as a header.
claude mcp add --transport http sourcelane https://api.usesourcelane.com/mcp \
--header "Authorization: Bearer sl_live_your_agent_key"Alternative to the connector URL: add to claude_desktop_config.json, then restart Claude.
{
"mcpServers": {
"sourcelane": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.usesourcelane.com/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer sl_live_your_agent_key"
}
}
}
}Add to ~/.cursor/mcp.json (or Windsurf's mcp_config.json).
{
"mcpServers": {
"sourcelane": {
"url": "https://api.usesourcelane.com/mcp",
"headers": {
"Authorization": "Bearer sl_live_your_agent_key"
}
}
}
}Save as .vscode/mcp.json. VS Code prompts for your key once.
{
"servers": {
"sourcelane": {
"type": "http",
"url": "https://api.usesourcelane.com/mcp",
"headers": {
"Authorization": "Bearer ${input:sourcelane-key}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "sourcelane-key",
"description": "Sourcelane agent key",
"password": true
}
]
}Create a GPT → Actions → Import from URL, then Authentication: API Key, Bearer.
https://usesourcelane.com/openapi.jsonOne POST. Pass maxResults to cap cost.
curl -X POST https://api.usesourcelane.com/v1/call \
-H "Authorization: Bearer sl_live_your_agent_key" \
-H "Content-Type: application/json" \
-d '{"listing":"google-geocoding-batch-scraper","params":{"inputs":["1600 Amphitheatre Pkwy, Mountain View, CA","1 Apple Park Way, Cupertino, CA"]},"maxResults":10}'Wrap the REST call as a tool, or point an MCP client at the endpoint.
import requests
res = requests.post(
"https://api.usesourcelane.com/v1/call",
headers={"Authorization": "Bearer sl_live_your_agent_key"},
json={
"listing": "google-geocoding-batch-scraper",
"params": {"inputs":["1600 Amphitheatre Pkwy, Mountain View, CA","1 Apple Park Way, Cupertino, CA"]},
"maxResults": 10,
},
timeout=300,
)
body = res.json()
print(body["receipt"]["chargedMicros"], "micro-USD for", body["receipt"]["results"], "results")
print(body["data"])—
0 reviews
Leave a review
Loading reviews…