If you are enriching a CRM, cleaning a property list or running a nightly job over delivery stops, you may need to retain coordinates and reuse them. Compare the storage rights and billing rules of the exact service and plan you choose, alongside coverage and accuracy. Repeated requests are not always necessary, and pricing or caching restrictions differ by provider.
The US Address Geocoder on API.market is built differently. It runs on OpenAddresses data with US Census TIGER interpolation as a fallback, and the listing states that results may be cached and stored permanently. There is a free plan with 500 calls, so you can test it on your own address list before paying anything.
This guide covers what the API does, how to prepare addresses so they match, how to read the confidence rating and pick a cutoff from your own data, a complete single and batch tutorial in curl, Python and Node.js, a CSV pipeline with a local cache and retries, a table layout for storing results, what it costs at real volumes with a worked example, how it compares with other geocoders in the catalog, and where it falls short.
The examples below follow the listing documentation. They were not executed against the provider during this November 17 review; check request/response shapes and evaluate accuracy on your own address sample before production use.
What it does
- Input: a US street address. It needs a street number and must end in a two-letter state or a five-digit ZIP.
- Output:
lat,lon, arating, asource(openaddressortiger) andresolved_address, which is the address as stored in the geocoder's own database, not an echo of what you sent. - Coverage: the 50 states, Washington D.C. and Puerto Rico. Street-level addresses only. No PO boxes, rural routes or intersections.
- Data refresh: monthly, from OpenAddresses and US Census TIGER.
- Speed: the listing quotes about 10 to 20 ms for a single address, hundreds of milliseconds for a clean batch, and several seconds for a batch that leans heavily on interpolation.
The two-stage matching is the thing to understand before you build on it. Stage one looks for a point-level match in OpenAddresses, which is a rooftop-style coordinate. If the address is missing there, stage two estimates a position along the street segment using TIGER ranges. The source field tells you which one produced your answer.
Why "you can store the result" matters
The phrase sounds like a footnote, but it changes how you design a system. If a vendor forbids storage, every read of an address's coordinates is a billable call, your analytics queries cannot join on coordinates without re-geocoding, and you are one pricing change away from a bill you cannot control.
With stored results you geocode once, write lat and lon into your own table, and never pay again for that address. The practical savings come from three habits:
- Geocode at write time, not read time. When a record is created or an address changes, geocode it and save the result next to the address.
- Keep the rating and source with the coordinates. A coordinate without its confidence is a number you cannot judge later.
- Re-geocode on a schedule, not on every read. The data is refreshed monthly, so a 30-day refresh for fast-changing lists (new construction, logistics) is the most you need. Static lists can go longer.
The listing documentation expressly permits caching and permanent storage for your own use cases. Its statements about OpenAddresses and TIGER describe this product; they do not establish the retention terms of other geocoders. If you plan to redistribute data, check the relevant source-specific conditions rather than inferring unrestricted rights from the word βopen.β
Preparing addresses so they match
The listing says the biggest single factor in accuracy is ending the address with a ZIP code or state abbreviation. Pre-validation rejects an address that is too short (fewer than 8 characters after normalisation), too long (over 150 characters), has no number, does not end in a two-letter state or five-digit ZIP, or ends with a comma. Catching these on your side saves quota, because a rejected item in a batch still costs you a call.
The examples below follow each listing's documented request format. Here is a small pre-flight function that mirrors the validation rules:
import re
STATE_OR_ZIP = re.compile(r"(?:\b[A-Za-z]{2}|\b\d{5})(?:-\d{4})?$")
def prepare_address(raw):
"""Return (clean_address, problem). problem is None when the address looks valid."""
if not raw:
return None, "empty"
addr = re.sub(r"\s+", " ", str(raw)).strip().rstrip(",")
if len(addr) < 8:
return addr, "too short"
if len(addr) > 150:
return addr, "too long"
if not any(ch.isdigit() for ch in addr):
return addr, "no number"
if not STATE_OR_ZIP.search(addr):
return addr, "must end with state or ZIP"
return addr, None
A few extra habits that help match rates:
- Join the pieces in a fixed order: street, city, state, ZIP. If your data keeps them in separate columns, build the string yourself instead of trusting a free-text field.
- Do not strip the unit number. The listing's own example keeps
Suite 200. The tips section warns that "Apt" or "Suite" with no number can confuse the parser, while "Apt 4B" is fine. - Use the ZIP when you have it.
...Mountain View, CA 94043is better than...Mountain View, CA. - Drop the country. A trailing
USAmeans the string no longer ends in a state or ZIP, and it will be rejected. - Adopt the resolved form. If
resolved_addressdiffers a lot from what you sent, the listing suggests using the resolved form going forward to improve future matches.
The sample responses show that resolved_address can drop parts: 339 N Bernardo Ave, Mountain View, 94043 has no state and a double space. Do not parse it as a clean postal address. Treat it as a label.
Reading the rating
Lower is better. The scale from the listing:
| Rating | Meaning | Suggested use |
|---|---|---|
| 0 | Exact point match from OpenAddresses | Trust fully |
| 1 to 5 | Very high confidence | Trust |
| 6 to 10 | High confidence | Trust for most uses |
| 11 to 20 | Moderate confidence, a weaker interpolation | Verify if precision matters |
| Above 20 | Rejected, never returned | Not applicable |
Pick your own cutoff by use case:
| Use | Reasonable cutoff |
|---|---|
| Delivery routing, dispatch, anything where the pin must be on the right building | 5 or under, and prefer source: openaddress |
| Store locators, sales territory assignment | 10 or under |
| ZIP-level or neighbourhood analytics, heat maps | 20 |
Note that rating 10 with source: tiger appears in the listing's own batch example for a rural road in Agua Dulce, California. Interpolated points can sit a good distance from the actual building on long rural segments, so for rural data the source matters more than the rating.
Calibrating the cutoff on your own data
Those cutoffs are starting points. The better way to choose is to measure. If you have even a few hundred addresses whose true position you already know (store locations someone surveyed, delivery drop pins from drivers, parcels from a county file), geocode them and compute the distance between the returned point and the known one.
from math import asin, cos, radians, sin, sqrt
def metres_between(lat1, lon1, lat2, lon2):
r = 6371000
p1, p2 = radians(lat1), radians(lat2)
dp, dl = p2 - p1, radians(lon2 - lon1)
a = sin(dp / 2) ** 2 + cos(p1) * cos(p2) * sin(dl / 2) ** 2
return 2 * r * asin(sqrt(a))
Group the results by rating and by source, then look at the median and the 90th percentile error in each group. You will usually see a clear step. Perhaps everything at rating 5 or lower sits within 30 metres, while ratings 11 and up spread to hundreds of metres. That step is your cutoff, and it is specific to your region and your kind of address. A dense suburb behaves very differently from a county road.
Two warnings. A sample made only of easy addresses will flatter the service, so include the awkward ones: new streets, rural routes with a number, units in large complexes. And keep the sample around. When the monthly data refresh changes things, rerunning the same file tells you whether quality moved.
Single address
curl -X POST "https://prod.api.market/api/v1/airelit/geocode/single" \
-H "x-api-market-key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"address": "339 Bernardo Ave Suite 200, Mountain View, CA 94043"}'
The listing documents this response:
{
"lat": 37.3878636,
"lon": -122.0506232,
"rating": 1,
"source": "openaddress",
"resolved_address": "339 N Bernardo Ave, Mountain View, 94043"
}
If the geocoder cannot find a confident answer, the single endpoint returns a 400 with the code NOT_FOUND. If your input fails pre-validation, you get INVALID_INPUT. A transient database problem returns 503 SERVICE_UNAVAILABLE, and the listing says to retry after two seconds.
Python wrapper for a single lookup, with the retry the listing recommends:
import os
import time
import requests
BASE = "https://prod.api.market/api/v1/airelit/geocode"
HEADERS = {"x-api-market-key": os.environ["API_MARKET_KEY"]}
def geocode_one(address, attempts=3):
for attempt in range(attempts):
resp = requests.post(
f"{BASE}/single", headers=HEADERS, json={"address": address}, timeout=15
)
if resp.status_code == 503:
time.sleep(2)
continue
if resp.status_code == 400:
return {"error": resp.json().get("code", "BAD_REQUEST")}
resp.raise_for_status()
return resp.json()
return {"error": "SERVICE_UNAVAILABLE"}
print(geocode_one("339 Bernardo Ave Suite 200, Mountain View, CA 94043"))
Batch: up to 100 addresses per request
Each item in a batch carries your own id, and results come back in the same order with the id preserved. A bad address does not fail the batch. It gets an error string in its slot instead. Each address in a batch counts as one call against your plan, so batching saves time and connection overhead, not quota.
Request:
{
"addresses": [
{ "id": "req-001", "address": "339 Bernardo Ave Suite 200, Mountain View, CA 94043" },
{ "id": "req-002", "address": "10700 Escondido Canyon Rd, Agua Dulce, CA 91390" },
{ "id": "req-003", "address": "bad input" }
]
}
The listing shows this response:
{
"results": [
{ "id": "req-001", "lat": 37.3878636, "lon": -122.0506232, "rating": 1, "source": "openaddress", "resolved_address": "339 N Bernardo Ave, Mountain View, 94043" },
{ "id": "req-002", "lat": 34.4893592609069, "lon": -118.3203127918381, "rating": 10, "source": "tiger", "resolved_address": "10700 Escondido Canyon Rd, Agua Dulce, CA 91390" },
{ "id": "req-003", "error": "Address is too short." }
]
}
The item-level errors listed in the docs are: too short, too long, must contain a number, must end with a valid state or ZIP, appears incomplete (trailing comma), and "Unable to geocode address with sufficient confidence." Request-level errors abort the whole call: 400 INVALID_JSON, 400 INVALID_PARAMS (missing array, or more than 100 items), and the 503 mentioned above.
Give batch calls a longer timeout. The docs say clean batches take hundreds of milliseconds but interpolation-heavy ones can take several seconds. Thirty seconds is a safe client timeout.
A complete CSV pipeline

This script reads a CSV with an address column, skips anything already in a local cache, sends the rest in batches of 100, retries transient failures, and writes a result file with coordinates, rating and source. It is the shape most real jobs take.
import csv
import json
import os
import sqlite3
import time
import requests
BASE = "https://prod.api.market/api/v1/airelit/geocode"
HEADERS = {"x-api-market-key": os.environ["API_MARKET_KEY"]}
MAX_RATING = 10 # your acceptance cutoff
CACHE_TTL_DAYS = 30 # monthly data refresh, so 30 days is a sensible default
db = sqlite3.connect("geocode_cache.db")
db.execute(
"""CREATE TABLE IF NOT EXISTS geo (
key TEXT PRIMARY KEY,
payload TEXT NOT NULL,
fetched_at REAL NOT NULL
)"""
)
def cache_get(key):
row = db.execute("SELECT payload, fetched_at FROM geo WHERE key = ?", (key,)).fetchone()
if not row:
return None
if time.time() - row[1] > CACHE_TTL_DAYS * 86400:
return None
return json.loads(row[0])
def cache_put(key, payload):
db.execute(
"INSERT OR REPLACE INTO geo (key, payload, fetched_at) VALUES (?, ?, ?)",
(key, json.dumps(payload), time.time()),
)
def post_batch(items, attempts=4):
delay = 2
for _ in range(attempts):
resp = requests.post(
f"{BASE}/batch", headers=HEADERS, json={"addresses": items}, timeout=60
)
if resp.status_code in (429, 503):
time.sleep(int(resp.headers.get("Retry-After", delay)))
delay *= 2
continue
resp.raise_for_status()
return resp.json()["results"]
raise RuntimeError("batch failed after retries")
def run(in_path, out_path):
with open(in_path, newline="", encoding="utf-8") as f:
rows = list(csv.DictReader(f))
pending = [] # (row_index, key, address) to send
results = {} # row_index -> payload
for i, row in enumerate(rows):
addr, problem = prepare_address(row.get("address"))
if problem:
results[i] = {"error": problem}
continue
key = addr.lower()
hit = cache_get(key)
if hit:
results[i] = hit
else:
pending.append((i, key, addr))
for start in range(0, len(pending), 100):
chunk = pending[start:start + 100]
items = [{"id": str(i), "address": addr} for i, _key, addr in chunk]
out = post_batch(items)
by_id = {r["id"]: r for r in out}
for i, key, _addr in chunk:
r = by_id.get(str(i), {"error": "missing from response"})
results[i] = r
if "error" not in r:
cache_put(key, r)
db.commit()
with open(out_path, "w", newline="", encoding="utf-8") as f:
w = csv.writer(f)
w.writerow(["address", "lat", "lon", "rating", "source", "accepted", "error"])
for i, row in enumerate(rows):
r = results.get(i, {})
ok = "error" not in r and r.get("rating", 99) <= MAX_RATING
w.writerow([
row.get("address"), r.get("lat"), r.get("lon"), r.get("rating"),
r.get("source"), ok, r.get("error", ""),
])
if __name__ == "__main__":
run("addresses.csv", "geocoded.csv")
(prepare_address is the helper from the section above.)
What the script gets right:
- Cache key is the lowercase cleaned address. Two spellings of the same string hit the cache. Normalising further (expanding "St" to "Street", for example) would catch more repeats, but it also risks merging distinct addresses, so start simple.
- Errors are not cached. A transient failure or a not-found today might succeed after the next monthly data refresh.
- Ratings are stored, and acceptance is computed on output. If you change
MAX_RATINGlater you do not need to call the API again. - Missing IDs are handled. The docs promise every item comes back with its
id, but a defensive lookup costs nothing. - 429 and 503 back off. Both are retried with doubling delays and honor
Retry-Afterif the header is present.
The same batch call in Node.js:
const BASE = "https://prod.api.market/api/v1/airelit/geocode";
const KEY = process.env.API_MARKET_KEY;
async function geocodeBatch(addresses) {
// addresses: [{ id: "a1", address: "..." }, ...] up to 100
let delay = 2000;
for (let attempt = 0; attempt < 4; attempt++) {
const res = await fetch(`${BASE}/batch`, {
method: "POST",
headers: { "x-api-market-key": KEY, "Content-Type": "application/json" },
body: JSON.stringify({ addresses }),
signal: AbortSignal.timeout(60000),
});
if (res.status === 429 || res.status === 503) {
const wait = Number(res.headers.get("Retry-After")) * 1000 || delay;
await new Promise((r) => setTimeout(r, wait));
delay *= 2;
continue;
}
if (!res.ok) throw new Error(`HTTP ${res.status}: ${await res.text()}`);
return (await res.json()).results;
}
throw new Error("batch failed after retries");
}
const results = await geocodeBatch([
{ id: "a1", address: "339 Bernardo Ave Suite 200, Mountain View, CA 94043" },
{ id: "a2", address: "10700 Escondido Canyon Rd, Agua Dulce, CA 91390" },
]);
for (const r of results) {
console.log(r.id, r.error ?? [r.lat, r.lon, r.rating, r.source]);
}
Storing results in your own database
The point of permanent storage is that the coordinate becomes part of your data. That deserves a proper table, not a cache file. One possible layout for an address list looks like this:
CREATE TABLE address_geo (
address_id BIGINT PRIMARY KEY,
input_address TEXT NOT NULL,
lat DOUBLE PRECISION,
lon DOUBLE PRECISION,
rating SMALLINT,
source TEXT,
resolved_label TEXT,
geocoded_at TIMESTAMPTZ NOT NULL DEFAULT now(),
status TEXT NOT NULL -- ok, not_found, invalid
);
CREATE INDEX address_geo_status_idx ON address_geo (status, geocoded_at);
Three details matter here. First, keep the status column, even for failures. A not-found today is worth retrying after the next monthly refresh, and a status index lets a scheduled job pick up exactly those rows instead of rescanning everything. Second, store the input string next to the result. When someone edits the address upstream, you can compare the stored input to the new value and re-geocode only the rows that actually changed. Third, keep geocoded_at. It lets you expire old rows by age and answer the question "how stale is this map?" without guessing.
If you serve maps or run radius searches, add a spatial index on top of the coordinates (a geography column with a GiST index in PostGIS is the usual choice). The geocoder gives you the points. What you do with them afterwards is your own database's job.
Plans and pricing math
| Plan | Price | Calls per month | Limit type |
|---|---|---|---|
| Free | $0 | 500 | Hard: calls stop |
| Start | $9 | 10,000 | Soft: overage allowed |
| Pro | $49 | 100,000 | Soft |
| Mega | $149 | 500,000 | Soft |
The listing does not state the overage rate on the soft-limit plans, so check the plan page before you plan to run past a quota. Everything below uses only the included calls.
Here is what common jobs need:
| Job | Addresses | Plan that covers it | Cost |
|---|---|---|---|
| Try it on a sample | 500 | Free | $0 |
| Small CRM cleanup | 8,000 | Start | $9 |
| Property list, one-off | 60,000 | Pro | $49 |
| Nightly job, 2,000 new addresses a day | about 60,000 a month | Pro | $49 |
| Large national list, one pass | 400,000 | Mega | $149 |
The effective price per address drops fast with scale: $0.0009 on Start if you use all 10,000, about $0.00049 on Pro at full use, and about $0.0003 on Mega at full use. Retaining reusable results can reduce requests when an address is unchanged, but the monetary saving depends on your current plan, allowed storage and refresh requirements. Twelve fewer reads do not automatically produce a twelvefold saving on a fixed subscription. The listing suggests a 30-day cache TTL to reflect its monthly data updates; choose freshness from your use case.
Two ways to spend less. First, pre-validate (as above) so you do not pay for addresses the API will reject anyway. Second, dedupe your input. CRM exports often contain the same address on many contact rows, and one geocode serves them all. A 20 percent duplicate rate on a 100,000 row export is 20,000 calls saved, which is the difference between Pro and Start plus a single month.
A worked example: a 40,000 row customer list
Say a sales team hands you a 40,000 row customer export and wants every row on a map. Here is how the numbers go with the pipeline above.
- Dedupe. Customers at the same office or building share one address. Suppose 22 percent of rows are repeats. That leaves 31,200 unique addresses.
- Pre-validate. Suppose 4 percent fail the local checks (no ZIP, a PO box, a missing street number). That is about 1,250 addresses you never send, leaving roughly 29,950 calls.
- Pick the plan. 29,950 calls is too many for Start (10,000) and well inside Pro (100,000). The cost is $49 for the month, or about $0.0016 per unique address sent.
- Handle the long tail. Suppose a sample shows 5 percent of sent addresses come back not found or above your cutoff. That is about 1,500 addresses. Send those to a fallback geocoder. Trueway Geocoding has a free Basic tier with 5,000 calls, so the tail costs nothing if it fits.
- Go back to maintenance. After the first pass, only new and changed addresses need calls. If the team adds 1,500 customers a month, Start at $9 covers it, so you can downgrade from Pro once the backlog is done.
Total for the first month is $49, and the steady state is $9 a month. Without dedupe and pre-validation the same job would have sent 40,000 calls and still sat on Pro, so on this plan the saving is modest in dollars. It matters more if you were on a plan boundary, or if the overage rate on your plan turns out to be steep.
Measuring your match rate before paying
Before you commit to a paid plan, spend the free 500 calls on a representative sample, not the first 500 rows of the file. Shuffle the file, take 500 rows, run them through the pipeline, and read three numbers: the share rejected by local validation, the share returned not-found, and the share accepted at your cutoff. If the accepted share is high enough for your purpose, buy the plan. If it is poor in one region, you have learned that before spending anything, and you can plan the fallback for that region from day one.
How it compares with other geocoders in the catalog
API.market lists several geocoding APIs. They solve different problems, so match the tool to the job.
| US Address Geocoder (airelit) | Trueway Geocoding | Geocoding API (quotalink) | |
|---|---|---|---|
| Listing | airelit/geocode | trueway/geocoding | quotalink/geocoding-api |
| Coverage | US only | Global | Global place names |
| Input | Full US street address | Street address, with optional country, bounds, language | Place name (city, town, landmark) |
| Reverse geocoding | No | Yes | Yes |
| Batch endpoint | Yes, 100 per request | Not documented | Not documented |
| Storage of results | Stated as allowed | Check the listing terms | Check the listing terms |
| Free tier | 500 calls | 5,000 calls (Basic, hard limit) | 100 calls |
| Paid | $9, $49, $149 | Pro $49 for 100,000, Ultra $99 for 250,000, Mega $299 for 1,000,000, Giga $999 for 5,000,000 | $9.99 for 10,000 |
In short:
- US street addresses, bulk, results you want to keep: the AireLit listing.
- Addresses outside the US, or mixed international lists: Trueway Geocoding. Its forward geocoding takes an address plus optional
country,boundsandlanguageparameters, and returns address components, alocation_type(exact, approximate or centroid) and a resulttype. It also does reverse geocoding. - A user types "Springfield" into a search box: the QuotaLink listing returns up to 10 ranked place matches, with country, admin regions, timezone, elevation and population. It is for place names, not street addresses.
A very common production setup is to use AireLit first for US addresses, and fall back to Trueway for anything that fails or returns a rating you do not accept. The fallback pays only on the long tail, so your total bill stays low.
def geocode_with_fallback(address):
first = geocode_one(address)
if "error" not in first and first["rating"] <= MAX_RATING:
return {**first, "provider": "airelit"}
resp = requests.get(
"https://api.magicapi.dev/api/v1/trueway/geocoding/GeocodingService/Geocode",
headers={"x-api-market-key": os.environ["API_MARKET_KEY"], "accept": "application/json"},
params={"address": address, "country": "US", "language": "en"},
timeout=15,
)
resp.raise_for_status()
results = resp.json().get("results", [])
if not results:
return {"error": "no match from either provider"}
top = results[0]
return {
"lat": top["location"]["lat"],
"lon": top["location"]["lng"],
"rating": None,
"source": f"trueway:{top.get('location_type')}",
"provider": "trueway",
}
The Trueway URL in that snippet follows the example in its listing. Confirm the current base URL on the listing page before you deploy, since the gateway hostname used in older examples differs from the prod.api.market host used elsewhere. Also check the Trueway terms about storing results, since AireLit's permissive storage terms do not carry over.
Limits worth knowing before you build
- US only. Addresses outside the 50 states, D.C. and Puerto Rico will not match.
- Street addresses only. PO boxes, rural routes and intersections typically cannot be geocoded.
- Rural interpolation. Rural addresses often resolve through street interpolation. Check
sourceandrating. A TIGER match with a rating near 10 is an estimate along a road, not a building. - Monthly data. New construction can take a refresh cycle or more to appear. If a new address does not match, try again after the next monthly update.
- Rejected above 20. Anything the geocoder is not reasonably sure about is dropped, which is good for quality and bad for coverage. Count your not-found rate on a sample.
- Response address is a label.
resolved_addresscan be missing parts. Keep your original address as the record of truth. - Rate limits. The listing says limits are enforced per plan and returns 429 over quota, but does not publish a per-second figure. Send batches serially or with a small worker pool, and watch for 429s.
- Plans can change. The seller can change plans and data sources. Re-read the listing before large jobs.
Troubleshooting
Every item in my batch comes back "must end with a valid US state abbreviation or ZIP code." Your address strings probably end with a country (USA) or a unit. Strip the country and put the state or ZIP last.
A lot of Unable to geocode address with sufficient confidence. Check for missing ZIPs, misspelled street names and abbreviations that are unusual for the area. Try the same address with the ZIP added. If a whole region fails, it may be new development not yet in the data.
Coordinates land on the wrong side of town. Look at source. If it is tiger, you got an interpolated point. For precision-critical use, require openaddress and a rating of 0 to 5.
The batch call times out. Raise your client timeout to 30 to 60 seconds. Interpolation-heavy batches can take several seconds. If it keeps happening, drop to 50 addresses per request.
503 SERVICE_UNAVAILABLE. Transient per the docs. Wait two seconds and retry. Do not tighten the loop.
429. You are over plan quota or sending too fast. Check usage, slow the workers, or move to a larger plan.
Results look right but my database has duplicates. Different spellings of the same address produced separate cache entries. Normalise case and spacing before keying, and store the resolved_address as a secondary key if you want to merge near-duplicates.
Frequently asked questions
Can I really store the coordinates forever? The listing says results may be cached and stored permanently, with no re-query requirement. It is built on open and public datasets. If you will redistribute a derived dataset, read the source licences too.
Does it do reverse geocoding? No. For coordinates to address, use Trueway Geocoding or the QuotaLink Geocoding API. Both list a reverse endpoint.
What does a batch of 100 cost? 100 calls against your plan. There is no batch discount, but there is less overhead per address.
How accurate is it? It depends on the source. A rating of 0 from OpenAddresses is a point-level match. Interpolated results are estimates along the street. The listing gives the rating bands but does not publish an accuracy percentage, so measure it on your own sample as described above.
What if the free 500 calls run out? The free plan is a hard limit, so calls stop. Move to Start ($9 for 10,000) when you are ready.
How do I handle apartments and suites? Keep the unit number in the string, as in the listing's example. A bare "Apt" or "Suite" with no value can confuse the parser.
How fresh is the data? The database refreshes monthly from OpenAddresses and TIGER. Use a 30-day cache TTL unless your list changes more slowly.
Can I use it from an AI agent? Yes. The listing is also exposed as a tool through the API.market MCP server, with the same key.
What if my addresses are not in the US? Use a global geocoder such as Trueway Geocoding, which takes country and language hints.
Next step: routes
Once you have coordinates, feed them to a routing API. Trueway Routing takes up to 25 lat,lng stops per request and can reorder them with the optimize flag, from $49 a month. Geocode once, store the points, and every later route request uses coordinates you already own.



