[{"data":1,"prerenderedAt":868},["ShallowReactive",2],{"footer-learn-links":3,"site-prefooter-cta":10,"learn-\u002Flearn\u002Fgeocoding\u002F":18,"related-learn-\u002Flearn\u002Fgeocoding\u002F":851,"learn-org-author":856},[4,7],{"title":5,"path":6},"What Is Geocoding?","\u002Flearn\u002Fgeocoding",{"title":8,"path":9},"What Is an Isochrone?","\u002Flearn\u002Fisochrones",{"id":11,"body":12,"extension":13,"heading":14,"meta":15,"stem":16,"__hash__":17},"site\u002Fsite\u002Fprefooter-cta.yml","With Stadia Maps, you build the solutions that matter. Logistics platforms provide accurate ETAs, fleet management apps reduce fuel costs, and emergency dispatch systems improve response times.","yml","Business Outcomes That Fuel Your Growth",{},"site\u002Fprefooter-cta","WWrLpKyfilvyFhRQXlHbPZZ-OinkApMM2Z894yMlS-M",{"id":19,"title":5,"body":20,"category":726,"description":816,"extension":817,"head":818,"image":820,"imageAlt":821,"keywords":821,"meta":822,"modified":821,"navigation":823,"path":6,"published":824,"rawbody":825,"schemaOrg":826,"seo":847,"stem":848,"term":37,"termDescription":849,"__hash__":850},"learn\u002Flearn\u002Fgeocoding.md",{"type":21,"value":22,"toc":790},"minimark",[23,27,45,50,69,73,76,103,110,114,117,156,159,163,172,224,231,235,247,346,349,353,356,359,390,399,403,406,422,434,441,445,453,517,521,524,562,566,569,607,611,616,623,627,630,634,662,666,674,678,686,690,694,697,723,727,786],[24,25,5],"h1",{"id":26},"what-is-geocoding",[28,29,30,38,39,44],"p",{},[31,32,37],"a",{"href":33,"rel":34,"target":36},"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FAddress_geocoding",[35],"external","_blank","Geocoding"," is the process of converting an address, place name, or point of interest into geographic coordinates (latitude and longitude). Also called address geocoding, address lookup, or place search, geocoding is the foundation of any product that needs to bridge human-readable places and machine-readable coordinates. Reverse geocoding does the opposite: it takes a coordinate pair and returns the nearest place. The ",[31,40,43],{"href":41,"rel":42,"target":36},"https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Foverview\u002F",[35],"Stadia Maps Geocoding API"," handles both directions, along with structured, bulk, and autocomplete variants, and draws on a documented set of open data sources so the provenance of every result is inspectable.",[46,47,49],"h2",{"id":48},"key-takeaways","Key Takeaways",[51,52,53,57,60,63,66],"ul",{},[54,55,56],"li",{},"Geocoding converts a human-readable address or place name into geographic coordinates (latitude and longitude). Reverse geocoding does the opposite.",[54,58,59],{},"Geocoding quality depends on the underlying data. The Stadia Maps Geocoding API documents its five sources: OpenStreetMap, OpenAddresses, Who's On First, GeoNames, and Foursquare Open Source Places.",[54,61,62],{},"One credit pool covers forward, reverse, structured, bulk, and autocomplete variants. Pick the endpoint that matches the input shape.",[54,64,65],{},"Accuracy varies by country. Build a confidence check into any product that geocodes internationally.",[54,67,68],{},"Stadia Maps permits permanent storage of geocoded results on Standard, Professional, and Enterprise plans without a per-request surcharge.",[46,70,72],{"id":71},"forward-vs-reverse-geocoding","Forward vs. Reverse Geocoding",[28,74,75],{},"Geocoding has a direction. Every product decision that involves it starts with picking the right one.",[51,77,78,94],{},[54,79,80,84,85,89,90,93],{},[81,82,83],"strong",{},"Forward geocoding"," takes a string like ",[86,87,88],"code",{},"Pärnu mnt 388b"," and returns coordinates like ",[86,91,92],{},"59.381096, 24.661382",". Used for search bars, address forms, and any workflow where a user or dataset knows the place name and needs the location.",[54,95,96,99,100,102],{},[81,97,98],{},"Reverse geocoding"," takes coordinates like ",[86,101,92],{}," and returns the nearest known place. Used when the input is a GPS fix, a map click, or an IoT device pinging its location.",[28,104,105,106,109],{},"Some products need both. A ride-share driver's phone reverses their coordinates to display an address; the passenger's app forward-geocodes a destination string to route to it. The ",[31,107,43],{"href":41,"rel":108,"target":36},[35]," exposes separate endpoints for each direction, plus specialized ones for autocomplete, structured input, and bulk processing.",[46,111,113],{"id":112},"how-geocoding-actually-works","How Geocoding Actually Works",[28,115,116],{},"Under the hood, a geocoder is a chain of parsing, matching, scoring, and ranking decisions. The steps look roughly like this:",[118,119,120,126,132,138,150],"ol",{},[54,121,122,125],{},[81,123,124],{},"Parse the input."," Break the query into components (house number, street, city, postal code, country, place type).",[54,127,128,131],{},[81,129,130],{},"Search candidate records."," Query the underlying database for matches across the relevant data sources and layers.",[54,133,134,137],{},[81,135,136],{},"Score candidates."," Rank by string similarity, geographic focus, layer priority, and boundary constraints.",[54,139,140,143,144,149],{},[81,141,142],{},"Interpolate when necessary."," For addresses that do not exist verbatim in the database, the geocoder can estimate the location by interpolating along the street segment. Not every geocoder does this. The Stadia Maps ",[31,145,148],{"href":146,"rel":147,"target":36},"https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fsearch\u002F",[35],"Forward Geocoding endpoint"," does.",[54,151,152,155],{},[81,153,154],{},"Return the best matches"," with a confidence score and full attribution so the caller can decide what to trust.",[28,157,158],{},"The details of each step vary by provider, which is why two geocoders can return different results for the same query. Understanding this pipeline is the difference between debugging a geocoding bug in an hour and shipping a workaround that quietly returns the wrong city for 3% of your users.",[46,160,162],{"id":161},"what-data-sources-does-a-geocoder-use","What Data Sources Does a Geocoder Use?",[28,164,165,166,171],{},"Every geocoder is only as good as the data it searches. The Stadia Maps Geocoding API is transparent about what it queries; the ",[31,167,170],{"href":168,"rel":169,"target":36},"https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fsources\u002F",[35],"full source list"," is documented and each result carries attribution back to its origin.",[51,173,174,184,194,204,214],{},[54,175,176,183],{},[31,177,180],{"href":178,"rel":179,"target":36},"https:\u002F\u002Fwww.openstreetmap.org\u002F",[35],[81,181,182],{},"OpenStreetMap"," provides the primary global coverage for roads, addresses, and points of interest. Community-maintained and open.",[54,185,186,193],{},[31,187,190],{"href":188,"rel":189,"target":36},"https:\u002F\u002Fopenaddresses.io\u002F",[35],[81,191,192],{},"OpenAddresses"," aggregates authoritative address data from government and public sources worldwide. Stadia Maps sponsors OpenAddresses.",[54,195,196,203],{},[31,197,200],{"href":198,"rel":199,"target":36},"https:\u002F\u002Fwhosonfirst.org\u002F",[35],[81,201,202],{},"Who's On First"," provides a global gazetteer of administrative places (countries, regions, counties, localities, neighborhoods). Used for hierarchy and reverse geocoding at the boundary level.",[54,205,206,213],{},[31,207,210],{"href":208,"rel":209,"target":36},"https:\u002F\u002Fwww.geonames.org\u002F",[35],[81,211,212],{},"GeoNames"," adds populated places, natural features, and administrative fill-in for parts of the world where OSM coverage is thinner.",[54,215,216,223],{},[31,217,220],{"href":218,"rel":219,"target":36},"https:\u002F\u002Fdocs.foursquare.com\u002Fdata-products\u002Fdocs\u002Ffsq-places-open-source",[35],[81,221,222],{},"Foursquare Open Source Places"," contributes point-of-interest data for businesses and venues.",[28,225,226,227,230],{},"Filtering the ",[86,228,229],{},"sources"," parameter lets you constrain results to a subset when you want to control what backs your search. That is a real feature; most competitor APIs treat their data provenance as a trade secret.",[46,232,234],{"id":233},"key-geocoding-api-parameters","Key Geocoding API Parameters",[28,236,237,238,241,242,246],{},"The forward geocoding endpoint takes one required parameter (",[86,239,240],{},"text",") and several optional ones that dramatically change what you get back. Full details in the ",[31,243,245],{"href":146,"rel":244,"target":36},[35],"Forward Geocoding docs",".",[51,248,249,256,268,286,307,330,338],{},[54,250,251,255],{},[81,252,253],{},[86,254,240],{},": The place name or address. Required.",[54,257,258,267],{},[81,259,260,263,264],{},[86,261,262],{},"focus.point.lat"," \u002F ",[86,265,266],{},"focus.point.lon",": Bias results toward a focus point. Use the user's map center or their known location to prefer nearby matches.",[54,269,270,285],{},[81,271,272,275,276,275,279,275,282],{},[86,273,274],{},"boundary.rect.*",", ",[86,277,278],{},"boundary.circle.*",[86,280,281],{},"boundary.country",[86,283,284],{},"boundary.gid",": Hard limits on where results can appear. Use these when your product only operates in specific regions.",[54,287,288,293,294,275,297,275,300,275,303,306],{},[81,289,290],{},[86,291,292],{},"layers",": Restrict to specific data layers (",[86,295,296],{},"address",[86,298,299],{},"venue",[86,301,302],{},"postalcode",[86,304,305],{},"country",", and more). Fewer layers means faster, more relevant results.",[54,308,309,313,314,275,317,275,320,275,323,275,326,329],{},[81,310,311],{},[86,312,229],{},": Restrict to specific data sources (",[86,315,316],{},"openstreetmap",[86,318,319],{},"openaddresses",[86,321,322],{},"whosonfirst",[86,324,325],{},"geonames",[86,327,328],{},"foursquare","). Useful when you want, for example, only address-authoritative sources for a shipping form.",[54,331,332,337],{},[81,333,334],{},[86,335,336],{},"size",": Maximum number of results to return. Default is 10.",[54,339,340,345],{},[81,341,342],{},[86,343,344],{},"lang",": A BCP47 language tag for localized results.",[28,347,348],{},"The single most common mistake is over-constraining. If your first query returns nothing, drop a boundary or a layer filter before assuming the geocoder is broken.",[46,350,352],{"id":351},"why-geocoding-accuracy-varies-by-country","Why Geocoding Accuracy Varies by Country",[28,354,355],{},"Geocoding quality is not uniform globally. Address density, government data availability, and OSM coverage all vary by country. This is a factual limitation that competitor \"what is geocoding\" pages tend to skip.",[28,357,358],{},"Some patterns worth knowing:",[51,360,361,367,378,384],{},[54,362,363,366],{},[81,364,365],{},"North America and Western Europe"," have deep coverage across OSM, OpenAddresses, and Who's On First. Interpolation fills in most missing house numbers along known streets.",[54,368,369,372,373,246],{},[81,370,371],{},"Japan and parts of East Asia"," use non-linear addressing systems that do not map cleanly to street-and-number geocoders. Structured input helps a lot here; see the ",[31,374,377],{"href":375,"rel":376,"target":36},"https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fstructured-search\u002F",[35],"Structured Geocoding endpoint",[54,379,380,383],{},[81,381,382],{},"Rapidly growing cities"," in South Asia, Southeast Asia, and Africa may have addresses that exist physically but are not yet in any data source. Fuzzy matching and community-driven OSM contributions close the gap over time; expect variance.",[54,385,386,389],{},[81,387,388],{},"Rural and remote areas"," everywhere degrade gracefully to the nearest named place rather than an exact street number.",[28,391,392,393,398],{},"If your product operates internationally, build in a confidence check (see the ",[31,394,397],{"href":395,"rel":396,"target":36},"https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fdetermining-result-quality\u002F",[35],"Determining Result Quality docs",") and design a fallback UX for low-confidence matches. Do not assume the same accuracy in every market.",[46,400,402],{"id":401},"how-do-you-geocode-an-address","How Do You Geocode an Address?",[28,404,405],{},"Here is what a forward geocoding request to the Stadia Maps Geocoding API looks like. This example geocodes an address in Tallinn, Estonia.",[407,408,413],"pre",{"className":409,"code":410,"language":411,"meta":412,"style":412},"language-http shiki shiki-themes github-light","GET https:\u002F\u002Fapi.stadiamaps.com\u002Fgeocoding\u002Fv1\u002Fsearch?text=P%C3%B5hja+pst+27\n","http","",[86,414,415],{"__ignoreMap":412},[416,417,420],"span",{"class":418,"line":419},"line",1,[416,421,410],{},[28,423,424,425,428,429,246],{},"The response is a GeoJSON ",[86,426,427],{},"FeatureCollection",". Each feature carries the coordinates, the parsed address components, a confidence score, and source attribution. Full response format details are in the ",[31,430,433],{"href":431,"rel":432,"target":36},"https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fapi-response-format\u002F",[35],"Common Response Format docs",[28,435,436,437,246],{},"For runnable code in TypeScript, Python, Kotlin, Swift, PHP, or cURL, see the ",[31,438,440],{"href":146,"rel":439,"target":36},[35],"Stadia Maps Forward Geocoding API docs",[46,442,444],{"id":443},"structured-vs-bulk-vs-autocomplete-geocoding","Structured vs. Bulk vs. Autocomplete Geocoding",[28,446,447,448,452],{},"Forward geocoding is not always the right endpoint. The ",[31,449,451],{"href":41,"rel":450,"target":36},[35],"Geocoding & Search overview"," breaks down when to use each variant.",[51,454,455,467,495,507],{},[54,456,457,460,461,466],{},[81,458,459],{},"Building an interactive search-as-you-type experience?"," Use the ",[31,462,465],{"href":463,"rel":464,"target":36},"https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fautocomplete\u002F",[35],"Autocomplete endpoint",". It is optimized for partial input and faster response times.",[54,468,469,472,473,275,476,275,479,275,482,275,485,275,487,489,490,494],{},[81,470,471],{},"Working with pre-parsed address components"," (",[86,474,475],{},"house_number",[86,477,478],{},"street",[86,480,481],{},"city",[86,483,484],{},"region",[86,486,302],{},[86,488,305],{},")? Use ",[31,491,493],{"href":375,"rel":492,"target":36},[35],"Structured Geocoding",". It takes the guesswork out of string parsing and improves accuracy for postal addresses, especially internationally.",[54,496,497,500,501,506],{},[81,498,499],{},"Processing thousands of addresses at once?"," Use ",[31,502,505],{"href":503,"rel":504,"target":36},"https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fbulk-geocoding-search\u002F",[35],"Bulk Geocoding",". Up to 5,000 queries per request.",[54,508,509,460,512,246],{},[81,510,511],{},"Reversing coordinates back to a place?",[31,513,516],{"href":514,"rel":515,"target":36},"https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Freverse-search\u002F",[35],"Reverse Geocoding endpoint",[46,518,520],{"id":519},"where-geocoding-falls-short","Where Geocoding Falls Short",[28,522,523],{},"Geocoding has real limits. A page that pretends otherwise is not being honest with the reader.",[51,525,526,532,538,544,550],{},[54,527,528,531],{},[81,529,530],{},"A geocoder is not an address validator."," It returns the best match it can find. If your user typed a nonexistent address, the geocoder will often return a nearest-street-segment interpolation rather than an error. Check the confidence score and layer type on every result before treating it as authoritative.",[54,533,534,537],{},[81,535,536],{},"Autocomplete and forward geocoding are not interchangeable."," Autocomplete is optimized for speed on partial input; forward geocoding is optimized for accuracy on complete input. Using one where the other belongs produces bad UX or bad results.",[54,539,540,543],{},[81,541,542],{},"Interpolated addresses are estimates, not guarantees."," The result may be tens of meters off the actual building, or on the wrong side of the street. For delivery-critical use cases, verify with a follow-up reverse geocode or with authoritative sources.",[54,545,546,549],{},[81,547,548],{},"Two providers rarely agree exactly."," Different providers use different data sources, different scoring, and different parsers. Pick one and standardize within your own product to avoid inconsistencies.",[54,551,552,555,556,561],{},[81,553,554],{},"You may or may not be allowed to store results."," Most vendors charge extra to persist geocoding results in your own database. Stadia Maps allows permanent storage on the Standard, Professional, and Enterprise plans without a surcharge; see the ",[31,557,560],{"href":558,"rel":559,"target":36},"https:\u002F\u002Fstadiamaps.com\u002Fterms-of-service\u002F",[35],"terms of service"," for details.",[46,563,565],{"id":564},"common-geocoding-use-cases","Common Geocoding Use Cases",[28,567,568],{},"Geocoding shows up anywhere a product needs to move between human-readable places and machine-readable coordinates. A partial list:",[51,570,571,577,583,589,595,601],{},[54,572,573,576],{},[81,574,575],{},"Address forms and checkout flows."," Convert a user-entered shipping address to coordinates for downstream routing, delivery-zone checks, or tax calculation.",[54,578,579,582],{},[81,580,581],{},"Store locator and site finder."," Take a user's zip code or city and center the map on the corresponding coordinates.",[54,584,585,588],{},[81,586,587],{},"Lead enrichment and CRM cleanup."," Bulk-geocode a customer list to enable geographic segmentation, territory analysis, or field-sales routing.",[54,590,591,594],{},[81,592,593],{},"Logistics and last-mile delivery."," Convert delivery addresses to coordinates for isochrone-based service-area decisions or routing.",[54,596,597,600],{},[81,598,599],{},"Real estate search."," Geocode a listing's address to place it on a map and enable spatial queries.",[54,602,603,606],{},[81,604,605],{},"Location-aware AI and agents."," Give an LLM or agent the ability to translate free-text user requests (\"a coffee shop near Union Square\") into structured coordinates for a follow-up API call.",[46,608,610],{"id":609},"frequently-asked-questions","Frequently Asked Questions",[612,613,615],"h3",{"id":614},"what-is-address-geocoding","What is address geocoding?",[28,617,618,619,622],{},"Address geocoding is the process of converting a street address or place name into geographic coordinates (latitude and longitude). It is the primary way products bridge between human-readable location input and machine-readable spatial data. The ",[31,620,43],{"href":41,"rel":621,"target":36},[35]," handles address geocoding through its forward geocoding, structured geocoding, and autocomplete endpoints.",[612,624,626],{"id":625},"what-is-the-difference-between-geocoding-and-reverse-geocoding","What is the difference between geocoding and reverse geocoding?",[28,628,629],{},"Geocoding (forward geocoding) converts an address or place name into coordinates. Reverse geocoding does the opposite: it converts coordinates into an address or place. Products that combine both directions are common. For example, a user types a destination (forward geocoded) and a driver's phone shows the address of their current GPS position (reverse geocoded).",[612,631,633],{"id":632},"what-data-sources-does-the-stadia-maps-geocoding-api-use","What data sources does the Stadia Maps Geocoding API use?",[28,635,636,637,640,641,644,645,648,649,652,653,656,657,661],{},"The Stadia Maps Geocoding API queries five documented open sources: ",[31,638,182],{"href":178,"rel":639,"target":36},[35]," for global roads and points of interest, ",[31,642,192],{"href":188,"rel":643,"target":36},[35]," for authoritative government address data, ",[31,646,202],{"href":198,"rel":647,"target":36},[35]," for administrative places, ",[31,650,212],{"href":208,"rel":651,"target":36},[35]," for populated places and natural features, and ",[31,654,222],{"href":218,"rel":655,"target":36},[35]," for business and venue data. Every result carries attribution back to its source; see the ",[31,658,660],{"href":168,"rel":659,"target":36},[35],"Sources documentation"," for the full list.",[612,663,665],{"id":664},"can-i-store-geocoded-addresses-permanently-on-stadia-maps","Can I store geocoded addresses permanently on Stadia Maps?",[28,667,668,669,673],{},"Yes, with a Standard, Professional, or Enterprise subscription, geocoded results can be stored permanently in your own database. Most competitor APIs charge a premium (often 10x the standard request price) to allow storage. See the ",[31,670,672],{"href":558,"rel":671,"target":36},[35],"Stadia Maps terms of service"," for the full policy.",[612,675,677],{"id":676},"how-much-does-a-geocoding-request-cost-on-stadia-maps","How much does a geocoding request cost on Stadia Maps?",[28,679,680,681,685],{},"Geocoding requests are billed from a unified credit pool on the ",[31,682,684],{"href":683},"\u002Fpricing\u002F","Stadia Maps API",", the same pool that covers routing, tiles, and other endpoints. Forward, reverse, structured, and autocomplete requests are each single billable requests. Bulk geocoding is billed per address in the batch. See the pricing page for plan tiers and credit allocations.",[46,687,689],{"id":688},"where-to-go-next","Where to Go Next",[612,691,693],{"id":692},"from-the-blog","From the Blog",[28,695,696],{},"More on geocoding from the Stadia Maps blog:",[51,698,699,705,711,717],{},[54,700,701],{},[31,702,704],{"href":703},"\u002Fblog\u002Fopen-data-geocoding-global-search\u002F","The Open Data Superpower: Why Global Search is Moving Beyond Proprietary Silos",[54,706,707],{},[31,708,710],{"href":709},"\u002Fblog\u002Fprecision-meets-privacy-consumer-search-experience\u002F","Precision Meets Privacy: Elevating the Consumer Search Experience",[54,712,713],{},[31,714,716],{"href":715},"\u002Fblog\u002F75-million-more-addresses-geocoding-precision\u002F","75 Million More Addresses: Expanding Geocoding Precision",[54,718,719],{},[31,720,722],{"href":721},"\u002Fblog\u002Fintroducing-stadia-maps-geocoding-search-v2\u002F","Introducing Stadia Maps Geocoding & Search v2: Supercharge Your Search",[612,724,726],{"id":725},"geocoding-search","Geocoding & Search",[51,728,729,736,742,748,754,760,766,772,779],{},[54,730,731,735],{},[31,732,734],{"href":41,"rel":733,"target":36},[35],"Geocoding & Search overview docs"," for best practices and endpoint selection",[54,737,738],{},[31,739,741],{"href":146,"rel":740,"target":36},[35],"Forward Geocoding API reference",[54,743,744],{},[31,745,747],{"href":514,"rel":746,"target":36},[35],"Reverse Geocoding API reference",[54,749,750],{},[31,751,753],{"href":375,"rel":752,"target":36},[35],"Structured Geocoding API reference",[54,755,756],{},[31,757,759],{"href":503,"rel":758,"target":36},[35],"Bulk Geocoding API reference",[54,761,762],{},[31,763,765],{"href":463,"rel":764,"target":36},[35],"Autocomplete Search API reference",[54,767,768,771],{},[31,769,660],{"href":168,"rel":770,"target":36},[35],": full list of data providers behind the API",[54,773,774,778],{},[31,775,777],{"href":395,"rel":776,"target":36},[35],"Determining Result Quality",": how to read confidence and layer signals",[54,780,781,785],{},[31,782,784],{"href":783},"\u002Fproducts\u002Fgeocoding-search\u002Fgeocoding\u002F","Geocoding product page"," and pricing tiers",[787,788,789],"style",{},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":412,"searchDepth":791,"depth":791,"links":792},4,[793,795,796,797,798,799,800,801,802,803,804,812],{"id":48,"depth":794,"text":49},2,{"id":71,"depth":794,"text":72},{"id":112,"depth":794,"text":113},{"id":161,"depth":794,"text":162},{"id":233,"depth":794,"text":234},{"id":351,"depth":794,"text":352},{"id":401,"depth":794,"text":402},{"id":443,"depth":794,"text":444},{"id":519,"depth":794,"text":520},{"id":564,"depth":794,"text":565},{"id":609,"depth":794,"text":610,"children":805},[806,808,809,810,811],{"id":614,"depth":807,"text":615},3,{"id":625,"depth":807,"text":626},{"id":632,"depth":807,"text":633},{"id":664,"depth":807,"text":665},{"id":676,"depth":807,"text":677},{"id":688,"depth":794,"text":689,"children":813},[814,815],{"id":692,"depth":807,"text":693},{"id":725,"depth":807,"text":726},"Geocoding is the process of converting an address or place name into geographic coordinates. Learn how it works, where the data comes from, and how to use the Stadia Maps Geocoding API.","md",{"script":819},[],"\u002Fimages\u002Fog\u002Fwhat-is-geocoding.png",null,{},true,"2026-07-14","---\ntitle: What Is Geocoding?\ndescription: Geocoding is the process of converting an address or place name into geographic coordinates. Learn how it works, where the data comes from, and how to use the Stadia Maps Geocoding API.\ncategory: Geocoding & Search\nimage: \u002Fimages\u002Fog\u002Fwhat-is-geocoding.png\nhead:\n  script: []\npublished: 2026-07-14\nschemaOrg:\n  - \"@type\": FAQPage\n    mainEntity:\n      - \"@type\": Question\n        name: What is address geocoding?\n        acceptedAnswer:\n          \"@type\": Answer\n          text: Address geocoding is the process of converting a street address or place name into geographic coordinates (latitude and longitude). It is the primary way products bridge between human-readable location input and machine-readable spatial data. The Stadia Maps Geocoding API handles address geocoding through its forward geocoding, structured geocoding, and autocomplete endpoints.\n      - \"@type\": Question\n        name: What is the difference between geocoding and reverse geocoding?\n        acceptedAnswer:\n          \"@type\": Answer\n          text: \"Geocoding (forward geocoding) converts an address or place name into coordinates. Reverse geocoding does the opposite: it converts coordinates into an address or place. Products that combine both directions are common.\"\n      - \"@type\": Question\n        name: What data sources does the Stadia Maps Geocoding API use?\n        acceptedAnswer:\n          \"@type\": Answer\n          text: \"The Stadia Maps Geocoding API queries five documented open sources: OpenStreetMap for global roads and points of interest, OpenAddresses for authoritative government address data, Who's On First for administrative places, GeoNames for populated places and natural features, and Foursquare Open Source Places for business and venue data.\"\n      - \"@type\": Question\n        name: Can I store geocoded addresses permanently on Stadia Maps?\n        acceptedAnswer:\n          \"@type\": Answer\n          text: Yes. With a Standard, Professional, or Enterprise subscription, geocoded results can be stored permanently in your own database. Most competitor APIs charge a premium to allow storage.\n      - \"@type\": Question\n        name: How much does a geocoding request cost on Stadia Maps?\n        acceptedAnswer:\n          \"@type\": Answer\n          text: Geocoding requests are billed from a unified credit pool on the Stadia Maps API, the same pool that covers routing, tiles, and other endpoints. Forward, reverse, structured, and autocomplete requests are each single billable requests. Bulk geocoding is billed per address in the batch.\nterm: Geocoding\ntermDescription: The process of converting an address, place name, or point of interest into geographic coordinates.\n---\n\n# What Is Geocoding?\n\n[Geocoding](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FAddress_geocoding) is the process of converting an address, place name, or point of interest into geographic coordinates (latitude and longitude). Also called address geocoding, address lookup, or place search, geocoding is the foundation of any product that needs to bridge human-readable places and machine-readable coordinates. Reverse geocoding does the opposite: it takes a coordinate pair and returns the nearest place. The [Stadia Maps Geocoding API](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Foverview\u002F) handles both directions, along with structured, bulk, and autocomplete variants, and draws on a documented set of open data sources so the provenance of every result is inspectable.\n\n## Key Takeaways\n\n- Geocoding converts a human-readable address or place name into geographic coordinates (latitude and longitude). Reverse geocoding does the opposite.\n- Geocoding quality depends on the underlying data. The Stadia Maps Geocoding API documents its five sources: OpenStreetMap, OpenAddresses, Who's On First, GeoNames, and Foursquare Open Source Places.\n- One credit pool covers forward, reverse, structured, bulk, and autocomplete variants. Pick the endpoint that matches the input shape.\n- Accuracy varies by country. Build a confidence check into any product that geocodes internationally.\n- Stadia Maps permits permanent storage of geocoded results on Standard, Professional, and Enterprise plans without a per-request surcharge.\n\n## Forward vs. Reverse Geocoding\n\nGeocoding has a direction. Every product decision that involves it starts with picking the right one.\n\n- **Forward geocoding** takes a string like `Pärnu mnt 388b` and returns coordinates like `59.381096, 24.661382`. Used for search bars, address forms, and any workflow where a user or dataset knows the place name and needs the location.\n- **Reverse geocoding** takes coordinates like `59.381096, 24.661382` and returns the nearest known place. Used when the input is a GPS fix, a map click, or an IoT device pinging its location.\n\nSome products need both. A ride-share driver's phone reverses their coordinates to display an address; the passenger's app forward-geocodes a destination string to route to it. The [Stadia Maps Geocoding API](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Foverview\u002F) exposes separate endpoints for each direction, plus specialized ones for autocomplete, structured input, and bulk processing.\n\n## How Geocoding Actually Works\n\nUnder the hood, a geocoder is a chain of parsing, matching, scoring, and ranking decisions. The steps look roughly like this:\n\n1. **Parse the input.** Break the query into components (house number, street, city, postal code, country, place type).\n2. **Search candidate records.** Query the underlying database for matches across the relevant data sources and layers.\n3. **Score candidates.** Rank by string similarity, geographic focus, layer priority, and boundary constraints.\n4. **Interpolate when necessary.** For addresses that do not exist verbatim in the database, the geocoder can estimate the location by interpolating along the street segment. Not every geocoder does this. The Stadia Maps [Forward Geocoding endpoint](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fsearch\u002F) does.\n5. **Return the best matches** with a confidence score and full attribution so the caller can decide what to trust.\n\nThe details of each step vary by provider, which is why two geocoders can return different results for the same query. Understanding this pipeline is the difference between debugging a geocoding bug in an hour and shipping a workaround that quietly returns the wrong city for 3% of your users.\n\n## What Data Sources Does a Geocoder Use?\n\nEvery geocoder is only as good as the data it searches. The Stadia Maps Geocoding API is transparent about what it queries; the [full source list](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fsources\u002F) is documented and each result carries attribution back to its origin.\n\n- [**OpenStreetMap**](https:\u002F\u002Fwww.openstreetmap.org\u002F) provides the primary global coverage for roads, addresses, and points of interest. Community-maintained and open.\n- [**OpenAddresses**](https:\u002F\u002Fopenaddresses.io\u002F) aggregates authoritative address data from government and public sources worldwide. Stadia Maps sponsors OpenAddresses.\n- [**Who's On First**](https:\u002F\u002Fwhosonfirst.org\u002F) provides a global gazetteer of administrative places (countries, regions, counties, localities, neighborhoods). Used for hierarchy and reverse geocoding at the boundary level.\n- [**GeoNames**](https:\u002F\u002Fwww.geonames.org\u002F) adds populated places, natural features, and administrative fill-in for parts of the world where OSM coverage is thinner.\n- [**Foursquare Open Source Places**](https:\u002F\u002Fdocs.foursquare.com\u002Fdata-products\u002Fdocs\u002Ffsq-places-open-source) contributes point-of-interest data for businesses and venues.\n\nFiltering the `sources` parameter lets you constrain results to a subset when you want to control what backs your search. That is a real feature; most competitor APIs treat their data provenance as a trade secret.\n\n## Key Geocoding API Parameters\n\nThe forward geocoding endpoint takes one required parameter (`text`) and several optional ones that dramatically change what you get back. Full details in the [Forward Geocoding docs](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fsearch\u002F).\n\n- **`text`**: The place name or address. Required.\n- **`focus.point.lat` \u002F `focus.point.lon`**: Bias results toward a focus point. Use the user's map center or their known location to prefer nearby matches.\n- **`boundary.rect.*`, `boundary.circle.*`, `boundary.country`, `boundary.gid`**: Hard limits on where results can appear. Use these when your product only operates in specific regions.\n- **`layers`**: Restrict to specific data layers (`address`, `venue`, `postalcode`, `country`, and more). Fewer layers means faster, more relevant results.\n- **`sources`**: Restrict to specific data sources (`openstreetmap`, `openaddresses`, `whosonfirst`, `geonames`, `foursquare`). Useful when you want, for example, only address-authoritative sources for a shipping form.\n- **`size`**: Maximum number of results to return. Default is 10.\n- **`lang`**: A BCP47 language tag for localized results.\n\nThe single most common mistake is over-constraining. If your first query returns nothing, drop a boundary or a layer filter before assuming the geocoder is broken.\n\n## Why Geocoding Accuracy Varies by Country\n\nGeocoding quality is not uniform globally. Address density, government data availability, and OSM coverage all vary by country. This is a factual limitation that competitor \"what is geocoding\" pages tend to skip.\n\nSome patterns worth knowing:\n\n- **North America and Western Europe** have deep coverage across OSM, OpenAddresses, and Who's On First. Interpolation fills in most missing house numbers along known streets.\n- **Japan and parts of East Asia** use non-linear addressing systems that do not map cleanly to street-and-number geocoders. Structured input helps a lot here; see the [Structured Geocoding endpoint](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fstructured-search\u002F).\n- **Rapidly growing cities** in South Asia, Southeast Asia, and Africa may have addresses that exist physically but are not yet in any data source. Fuzzy matching and community-driven OSM contributions close the gap over time; expect variance.\n- **Rural and remote areas** everywhere degrade gracefully to the nearest named place rather than an exact street number.\n\nIf your product operates internationally, build in a confidence check (see the [Determining Result Quality docs](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fdetermining-result-quality\u002F)) and design a fallback UX for low-confidence matches. Do not assume the same accuracy in every market.\n\n## How Do You Geocode an Address?\n\nHere is what a forward geocoding request to the Stadia Maps Geocoding API looks like. This example geocodes an address in Tallinn, Estonia.\n\n```http\nGET https:\u002F\u002Fapi.stadiamaps.com\u002Fgeocoding\u002Fv1\u002Fsearch?text=P%C3%B5hja+pst+27\n```\n\nThe response is a GeoJSON `FeatureCollection`. Each feature carries the coordinates, the parsed address components, a confidence score, and source attribution. Full response format details are in the [Common Response Format docs](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fapi-response-format\u002F).\n\nFor runnable code in TypeScript, Python, Kotlin, Swift, PHP, or cURL, see the [Stadia Maps Forward Geocoding API docs](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fsearch\u002F).\n\n## Structured vs. Bulk vs. Autocomplete Geocoding\n\nForward geocoding is not always the right endpoint. The [Geocoding & Search overview](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Foverview\u002F) breaks down when to use each variant.\n\n- **Building an interactive search-as-you-type experience?** Use the [Autocomplete endpoint](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fautocomplete\u002F). It is optimized for partial input and faster response times.\n- **Working with pre-parsed address components** (`house_number`, `street`, `city`, `region`, `postalcode`, `country`)? Use [Structured Geocoding](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fstructured-search\u002F). It takes the guesswork out of string parsing and improves accuracy for postal addresses, especially internationally.\n- **Processing thousands of addresses at once?** Use [Bulk Geocoding](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fbulk-geocoding-search\u002F). Up to 5,000 queries per request.\n- **Reversing coordinates back to a place?** Use the [Reverse Geocoding endpoint](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Freverse-search\u002F).\n\n## Where Geocoding Falls Short\n\nGeocoding has real limits. A page that pretends otherwise is not being honest with the reader.\n\n- **A geocoder is not an address validator.** It returns the best match it can find. If your user typed a nonexistent address, the geocoder will often return a nearest-street-segment interpolation rather than an error. Check the confidence score and layer type on every result before treating it as authoritative.\n- **Autocomplete and forward geocoding are not interchangeable.** Autocomplete is optimized for speed on partial input; forward geocoding is optimized for accuracy on complete input. Using one where the other belongs produces bad UX or bad results.\n- **Interpolated addresses are estimates, not guarantees.** The result may be tens of meters off the actual building, or on the wrong side of the street. For delivery-critical use cases, verify with a follow-up reverse geocode or with authoritative sources.\n- **Two providers rarely agree exactly.** Different providers use different data sources, different scoring, and different parsers. Pick one and standardize within your own product to avoid inconsistencies.\n- **You may or may not be allowed to store results.** Most vendors charge extra to persist geocoding results in your own database. Stadia Maps allows permanent storage on the Standard, Professional, and Enterprise plans without a surcharge; see the [terms of service](https:\u002F\u002Fstadiamaps.com\u002Fterms-of-service\u002F) for details.\n\n## Common Geocoding Use Cases\n\nGeocoding shows up anywhere a product needs to move between human-readable places and machine-readable coordinates. A partial list:\n\n- **Address forms and checkout flows.** Convert a user-entered shipping address to coordinates for downstream routing, delivery-zone checks, or tax calculation.\n- **Store locator and site finder.** Take a user's zip code or city and center the map on the corresponding coordinates.\n- **Lead enrichment and CRM cleanup.** Bulk-geocode a customer list to enable geographic segmentation, territory analysis, or field-sales routing.\n- **Logistics and last-mile delivery.** Convert delivery addresses to coordinates for isochrone-based service-area decisions or routing.\n- **Real estate search.** Geocode a listing's address to place it on a map and enable spatial queries.\n- **Location-aware AI and agents.** Give an LLM or agent the ability to translate free-text user requests (\"a coffee shop near Union Square\") into structured coordinates for a follow-up API call.\n\n## Frequently Asked Questions\n\n### What is address geocoding?\n\nAddress geocoding is the process of converting a street address or place name into geographic coordinates (latitude and longitude). It is the primary way products bridge between human-readable location input and machine-readable spatial data. The [Stadia Maps Geocoding API](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Foverview\u002F) handles address geocoding through its forward geocoding, structured geocoding, and autocomplete endpoints.\n\n### What is the difference between geocoding and reverse geocoding?\n\nGeocoding (forward geocoding) converts an address or place name into coordinates. Reverse geocoding does the opposite: it converts coordinates into an address or place. Products that combine both directions are common. For example, a user types a destination (forward geocoded) and a driver's phone shows the address of their current GPS position (reverse geocoded).\n\n### What data sources does the Stadia Maps Geocoding API use?\n\nThe Stadia Maps Geocoding API queries five documented open sources: [OpenStreetMap](https:\u002F\u002Fwww.openstreetmap.org\u002F) for global roads and points of interest, [OpenAddresses](https:\u002F\u002Fopenaddresses.io\u002F) for authoritative government address data, [Who's On First](https:\u002F\u002Fwhosonfirst.org\u002F) for administrative places, [GeoNames](https:\u002F\u002Fwww.geonames.org\u002F) for populated places and natural features, and [Foursquare Open Source Places](https:\u002F\u002Fdocs.foursquare.com\u002Fdata-products\u002Fdocs\u002Ffsq-places-open-source) for business and venue data. Every result carries attribution back to its source; see the [Sources documentation](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fsources\u002F) for the full list.\n\n### Can I store geocoded addresses permanently on Stadia Maps?\n\nYes, with a Standard, Professional, or Enterprise subscription, geocoded results can be stored permanently in your own database. Most competitor APIs charge a premium (often 10x the standard request price) to allow storage. See the [Stadia Maps terms of service](https:\u002F\u002Fstadiamaps.com\u002Fterms-of-service\u002F) for the full policy.\n\n### How much does a geocoding request cost on Stadia Maps?\n\nGeocoding requests are billed from a unified credit pool on the [Stadia Maps API](\u002Fpricing\u002F), the same pool that covers routing, tiles, and other endpoints. Forward, reverse, structured, and autocomplete requests are each single billable requests. Bulk geocoding is billed per address in the batch. See the pricing page for plan tiers and credit allocations.\n\n## Where to Go Next\n\n### From the Blog\n\nMore on geocoding from the Stadia Maps blog:\n\n- [The Open Data Superpower: Why Global Search is Moving Beyond Proprietary Silos](\u002Fblog\u002Fopen-data-geocoding-global-search\u002F)\n- [Precision Meets Privacy: Elevating the Consumer Search Experience](\u002Fblog\u002Fprecision-meets-privacy-consumer-search-experience\u002F)\n- [75 Million More Addresses: Expanding Geocoding Precision](\u002Fblog\u002F75-million-more-addresses-geocoding-precision\u002F)\n- [Introducing Stadia Maps Geocoding & Search v2: Supercharge Your Search](\u002Fblog\u002Fintroducing-stadia-maps-geocoding-search-v2\u002F)\n\n### Geocoding & Search\n\n- [Geocoding & Search overview docs](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Foverview\u002F) for best practices and endpoint selection\n- [Forward Geocoding API reference](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fsearch\u002F)\n- [Reverse Geocoding API reference](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Freverse-search\u002F)\n- [Structured Geocoding API reference](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fstructured-search\u002F)\n- [Bulk Geocoding API reference](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fbulk-geocoding-search\u002F)\n- [Autocomplete Search API reference](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fautocomplete\u002F)\n- [Sources documentation](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fsources\u002F): full list of data providers behind the API\n- [Determining Result Quality](https:\u002F\u002Fdocs.stadiamaps.com\u002Fgeocoding-search-autocomplete\u002Fdetermining-result-quality\u002F): how to read confidence and layer signals\n- [Geocoding product page](\u002Fproducts\u002Fgeocoding-search\u002Fgeocoding\u002F) and pricing tiers\n",[827],{"@type":828,"mainEntity":829},"FAQPage",[830,835,838,841,844],{"@type":831,"name":615,"acceptedAnswer":832},"Question",{"@type":833,"text":834},"Answer","Address geocoding is the process of converting a street address or place name into geographic coordinates (latitude and longitude). It is the primary way products bridge between human-readable location input and machine-readable spatial data. The Stadia Maps Geocoding API handles address geocoding through its forward geocoding, structured geocoding, and autocomplete endpoints.",{"@type":831,"name":626,"acceptedAnswer":836},{"@type":833,"text":837},"Geocoding (forward geocoding) converts an address or place name into coordinates. Reverse geocoding does the opposite: it converts coordinates into an address or place. Products that combine both directions are common.",{"@type":831,"name":633,"acceptedAnswer":839},{"@type":833,"text":840},"The Stadia Maps Geocoding API queries five documented open sources: OpenStreetMap for global roads and points of interest, OpenAddresses for authoritative government address data, Who's On First for administrative places, GeoNames for populated places and natural features, and Foursquare Open Source Places for business and venue data.",{"@type":831,"name":665,"acceptedAnswer":842},{"@type":833,"text":843},"Yes. With a Standard, Professional, or Enterprise subscription, geocoded results can be stored permanently in your own database. Most competitor APIs charge a premium to allow storage.",{"@type":831,"name":677,"acceptedAnswer":845},{"@type":833,"text":846},"Geocoding requests are billed from a unified credit pool on the Stadia Maps API, the same pool that covers routing, tiles, and other endpoints. Forward, reverse, structured, and autocomplete requests are each single billable requests. Bulk geocoding is billed per address in the batch.",{"title":5,"description":816},"learn\u002Fgeocoding","The process of converting an address, place name, or point of interest into geographic coordinates.","FDSHRFS3-ZVgQJlOtydYLTARUTee5rVyzeKOm_kE8z4",[852],{"title":8,"description":853,"path":9,"published":824,"category":854,"rawbody":855},"An isochrone is a shape that shows everywhere you can reach from a given point within a set time or distance. Learn how they work, what parameters matter, and how to generate one with the Stadia Maps Isochrone API.","Routing & Navigation","---\ntitle: What Is an Isochrone?\ndescription: An isochrone is a shape that shows everywhere you can reach from a given point within a set time or distance. Learn how they work, what parameters matter, and how to generate one with the Stadia Maps Isochrone API.\ncategory: Routing & Navigation\nimage: \u002Fimages\u002Fog\u002Fwhat-is-an-isochrone.png\nhead:\n  script: []\npublished: 2026-07-14\nschemaOrg:\n  - \"@type\": FAQPage\n    mainEntity:\n      - \"@type\": Question\n        name: What is an isochrone map?\n        acceptedAnswer:\n          \"@type\": Answer\n          text: An isochrone map displays one or more isochrone shapes, each connecting all points reachable within a set travel time or distance from a common starting point. Isochrone maps are used for site selection, accessibility analysis, service-area planning, and mobility studies.\n      - \"@type\": Question\n        name: What is the difference between an isochrone and an isodistance?\n        acceptedAnswer:\n          \"@type\": Answer\n          text: Isochrones measure reachability in units of time; isodistances measure reachability in units of distance. The Stadia Maps Isochrone API can be used to produce either by setting a time or distance value on each contour in the request.\n      - \"@type\": Question\n        name: What travel modes does the Stadia Maps Isochrone API support?\n        acceptedAnswer:\n          \"@type\": Answer\n          text: The Stadia Maps Isochrone API supports nearly a dozen travel modes, including auto, bicycle, pedestrian, bus, taxi, and truck. Traffic-influenced variants exist for auto, bus, taxi, and truck. The full list is in the API reference.\n      - \"@type\": Question\n        name: Do isochrones account for traffic?\n        acceptedAnswer:\n          \"@type\": Answer\n          text: They can. The Stadia Maps Isochrone API offers traffic-influenced profiles via _traffic and _traffic_premium suffixes on supported costing models. A traffic-influenced isochrone with an explicit date_time reflects live conditions and historical patterns; a static isochrone assumes average speeds. Traffic-influenced routing requires a Standard plan or higher.\n      - \"@type\": Question\n        name: How is an isochrone request billed on Stadia Maps?\n        acceptedAnswer:\n          \"@type\": Answer\n          text: Isochrone requests are billed as routing requests on the Stadia Maps API credit system. Contour count does not multiply the cost; a single request with three contours is a single billable request.\nterm: Isochrone\ntermDescription: A shape on a map showing everywhere reachable from a starting point within a set travel time or distance, given a mode of travel.\n---\n\n# What Is an Isochrone?\n\nAn [isochrone](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FIsochrone_map) is a shape on a map that shows everywhere you can reach from a starting point within a set travel time or distance, given a mode of travel. Also called a travel time map, isoline, or reachable range, an isochrone follows the road, path, or transit network, so the shape reflects how people actually move, not just how far a straight line goes. The [Stadia Maps Isochrone API](https:\u002F\u002Fdocs.stadiamaps.com\u002Frouting\u002Fisochrones\u002F) returns them as GeoJSON polygons or linestrings for driving, walking, cycling, and nearly a dozen other travel modes.\n\n## Key Takeaways\n\n- An isochrone shows everywhere reachable from a starting point within a set travel time or distance, based on the real road, path, or transit network.\n- Unlike a fixed-radius buffer, an isochrone accounts for road geometry, one-way streets, mode of travel, and (optionally) real-time traffic.\n- The Stadia Maps Isochrone API supports nearly a dozen travel modes, including driving, walking, cycling, bus, taxi, and truck.\n- Output is a GeoJSON FeatureCollection that renders directly in MapLibre GL JS, Leaflet, or any GeoJSON-aware map library.\n- Isochrones are the right tool for site selection, service-area planning, and accessibility analysis. They are not a substitute for routing (single ETA) or matrix (ranked distances).\n\n## Why Not Just Use a Radius for Isochrones?\n\nA fixed-radius buffer is fast, but for most real questions, it is wrong. A 10-minute drive out of downtown San Francisco covers a different area than a 10-minute drive out of suburban Phoenix. Highways, one-way streets, rivers with no bridges, transit availability, and pedestrian-only zones all bend the shape.\n\nCases where a radius breaks:\n\n- **Rivers and rail corridors.** A bridge or tunnel can be the only crossing for kilometers. A circle ignores that.\n- **One-way networks.** Driving out of a dense center is often slower than driving in. The reachable area is asymmetric.\n- **Mode mismatch.** A 15-minute walking radius reaches almost nothing on a road network built for cars, not people.\n- **Time of day.** A drive-time isochrone at 04:00 is much larger than the same isochrone at 17:30 when accounting for traffic.\n\nIf your product or application is making decisions based on who can reach a point quickly, then a radius is a meaningful penalty for accuracy. That is what the [Stadia Maps Isochrone API](https:\u002F\u002Fdocs.stadiamaps.com\u002Frouting\u002Fisochrones\u002F) is designed to fix.\n\n## How Isochrones Are Calculated\n\nIsochrone engines work in roughly the same way:\n\n1. Take the [road, path, and transit network](https:\u002F\u002Fwiki.openstreetmap.org\u002Fwiki\u002FRouting) as a graph.\n2. Assign a travel cost to every edge based on speed, mode, and any time-of-day model.\n3. Run a search outward from the origin, expanding by accumulated cost rather than distance.\n4. When the search hits each time or distance threshold, capture the reachable subgraph.\n5. Turn that subgraph into a polygon or linestring by buffering reachable edges and dissolving the result.\n\nStadia Maps runs isochrones on [Valhalla](https:\u002F\u002Fgithub.com\u002Fvalhalla\u002Fvalhalla), an open-source routing engine that Stadia Maps contributes to. Valhalla uses a tiled, multimodal graph and supports per-mode costing models, which is why the same endpoint can produce a useful pedestrian, bicycle, or automobile isochrone without swapping engines. For more on how the Stadia Maps routing stack fits together, see the [Routing overview](https:\u002F\u002Fdocs.stadiamaps.com\u002Frouting\u002F).\n\n## Isochrone Parameters That Matter\n\nThe [Stadia Maps Isochrone API](https:\u002F\u002Fdocs.stadiamaps.com\u002Frouting\u002Fisochrones\u002F) exposes the parameters that actually change the shape.\n\n- **`locations`**: The starting point (latitude and longitude). Required.\n- **`costing`**: The travel mode. Options include `auto`, `bicycle`, `pedestrian`, `bus`, `taxi`, and `truck`, among others. The full list is in the [API reference](https:\u002F\u002Fdocs.stadiamaps.com\u002Fapi-reference\u002F).\n- **`contours`**: One or more time or distance thresholds. Each contour can carry a `color` that is echoed back in the response for direct rendering.\n- **`polygons`**: Set to `true` for filled polygons or `false` for linestrings. Use linestrings for accessibility plots or overlay layers.\n- **`date_time`**: For traffic-influenced modes, the departure or arrival time. Skipping this defaults to average conditions.\n\nTwo more that are less obvious but matter in production:\n\n- **`denoise`**: Removes small disconnected fragments below a relative size threshold. Lower it if you need to see remote islands of reachability.\n- **`generalize`**: Simplification tolerance in meters. Lower numbers produce more detailed shapes and larger payloads.\n\n## How Traffic Changes an Isochrone\n\nFor automobile, bus, taxi, and truck modes, the Stadia Maps Isochrone API supports [traffic-influenced profiles](https:\u002F\u002Fdocs.stadiamaps.com\u002Frouting\u002Fisochrones\u002F#traffic-influenced-profiles) via the `_traffic` and `_traffic_premium` suffixes. `auto_traffic` and `truck_traffic_premium` are two examples.\n\nTraffic-influenced isochrones combine live conditions with historical data, so a rush-hour isochrone is typically smaller than the same isochrone at 03:00. If your product uses isochrones for logistics, dispatch, or delivery-zone decisions, a static-speed isochrone will overstate reachability during peak hours.\n\nTraffic-influenced routing requires a Standard plan or higher. See the [pricing page](\u002Fpricing\u002F) for plan details.\n\n## How Do You Generate an Isochrone?\n\nHere is what a request to the Stadia Maps Isochrone API looks like. This example asks for a 5-minute pedestrian isochrone from a point in Tallinn, Estonia.\n\n```http\nPOST https:\u002F\u002Fapi.stadiamaps.com\u002Fisochrone\u002Fv1\nContent-Type: application\u002Fjson\n\n{\n  \"locations\": [{\"lat\": 59.436884, \"lon\": 24.742595}],\n  \"costing\": \"pedestrian\",\n  \"contours\": [{\"time\": 5, \"color\": \"aabbcc\"}],\n  \"polygons\": true\n}\n```\n\nThe response is a [GeoJSON](https:\u002F\u002Fdatatracker.ietf.org\u002Fdoc\u002Fhtml\u002Frfc7946) `FeatureCollection` with one feature per contour. It renders directly in [MapLibre GL JS](https:\u002F\u002Fmaplibre.org\u002F), Leaflet, or any GeoJSON-aware renderer.\n\nFor runnable code in TypeScript, Python, Kotlin, Swift, PHP, or cURL, see the [Stadia Maps Isochrone API docs](https:\u002F\u002Fdocs.stadiamaps.com\u002Frouting\u002Fisochrones\u002F). A step-by-step MapLibre GL JS walkthrough is in the [Display Isochrones on a Map tutorial](https:\u002F\u002Fdocs.stadiamaps.com\u002Ftutorials\u002Fdisplay-isochrones-on-a-map\u002F).\n\n## Where Isochrones Fall Short\n\nIsochrones are not always the right tool. Beyond the parameter details in the [Isochrones documentation](https:\u002F\u002Fdocs.stadiamaps.com\u002Frouting\u002Fisochrones\u002F), here are the practical patterns worth knowing:\n\n- **Very small time bands are noisy.** A 1-minute isochrone is mostly buffer around the origin. For travel times below a few minutes, results depend heavily on off-road buffering rather than on real network travel, so use very short contours with caution.\n- **Static isochrones do not reflect traffic.** Without a `date_time` parameter, automobile isochrones can dramatically overstate reachability at rush hour or understate it at night.\n- **Cross-provider comparisons rarely agree.** Two providers will produce different polygons for the same origin because they use different graphs, different speed models, and different generalization settings. Standardize on a single provider for consistency across your product.\n- **Isochrones describe geographic reachability, not service areas.** Delivery zones, minimum-order distances, and exclusion rules are business logic that should sit on top of the isochrone, not inside it.\n\n## Isochrone vs. Matrix vs. Routing: Which Do You Need?\n\nThe [Stadia Maps Routing API](https:\u002F\u002Fdocs.stadiamaps.com\u002Frouting\u002F) family includes several related endpoints. Pick the right one:\n\n- For a single point-to-point travel time or ETA, use [standard routing](https:\u002F\u002Fdocs.stadiamaps.com\u002Frouting\u002Fstandard-routing\u002F). It is cheaper and more precise than an isochrone.\n- For \"which of these N destinations is closest by drive time,\" use the [Time\u002FDistance Matrix API](https:\u002F\u002Fdocs.stadiamaps.com\u002Frouting\u002Ftime-distance-matrix\u002F). Isochrones describe an area, not a ranking.\n- For service-area billing logic, compute the isochrone once, store the polygon, and query against it. Recomputing on every request wastes API credits.\n\n## Common Isochrone Use Cases\n\nIsochrones answer questions where a \"how far in time\" constraint matters more than a \"how far in miles\" constraint. The [Stadia Maps Isochrones product page](\u002Fproducts\u002Frouting-navigation\u002Fisochrones\u002F) frames it as \"reachable range decision-making\" and lists example questions this API commonly answers:\n\n- **Site selection.** Retail, healthcare, and logistics teams compare reachable population, demographics, or competitor density inside a drive-time band. A 20-minute isochrone is a better proxy for catchment than a 10-mile radius.\n- **Accessibility and mobility analysis.** Walking or transit isochrones show real access to schools, clinics, or grocery stores, not just distance.\n- **EV and fuel planning.** A driving isochrone with a distance constraint answers \"what is reachable in the last 20 miles before I need to charge or refuel?\"\n- **Marketplace coverage.** When a merchant joins a delivery platform, an isochrone defines the visible service area.\n- **Real estate search.** Filtering listings by \"30 minutes from my office by transit\" is an isochrone query against a property index.\n\n## Frequently Asked Questions\n\n### What is an isochrone map?\n\nAn isochrone map displays one or more isochrone shapes, each connecting all points reachable within a set travel time or distance from a common starting point. Isochrone maps are used for site selection, accessibility analysis, service-area planning, and mobility studies.\n\n### What is the difference between an isochrone and an isodistance?\n\nIsochrones measure reachability in units of time; isodistances measure reachability in units of distance. The [Stadia Maps Isochrone API](https:\u002F\u002Fdocs.stadiamaps.com\u002Frouting\u002Fisochrones\u002F) can be used to produce either by setting a `time` or `distance` value on each contour in the request.\n\n### What travel modes does the Stadia Maps Isochrone API support?\n\nThe [Stadia Maps Isochrone API](https:\u002F\u002Fdocs.stadiamaps.com\u002Frouting\u002Fisochrones\u002F) supports nearly a dozen travel modes, including `auto`, `bicycle`, `pedestrian`, `bus`, `taxi`, and `truck`. Traffic-influenced variants exist for `auto`, `bus`, `taxi`, and `truck`. The full list is in the [API reference](https:\u002F\u002Fdocs.stadiamaps.com\u002Fapi-reference\u002F).\n\n### Do isochrones account for traffic?\n\nThey can. The Stadia Maps Isochrone API offers [traffic-influenced profiles](https:\u002F\u002Fdocs.stadiamaps.com\u002Frouting\u002Fisochrones\u002F#traffic-influenced-profiles) via `_traffic` and `_traffic_premium` suffixes on supported costing models. A traffic-influenced isochrone with an explicit `date_time` reflects live conditions and historical patterns; a static isochrone assumes average speeds. Traffic-influenced routing requires a Standard plan or higher.\n\n### How is an isochrone request billed on Stadia Maps?\n\nIsochrone requests are billed as routing requests on the [Stadia Maps API](\u002Fpricing\u002F) credit system. Contour count does not multiply the cost; a single request with three contours is a single billable request.\n\n## Where to Go Next\n\n### From the Blog\n\nMore on isochrones and adjacent routing topics:\n\n- [The Invisible Costs of Routing: Privacy, Pricing & the MAU Trap](\u002Fblog\u002Finvisible-costs-of-routing-privacy-pricing-mau-trap\u002F)\n- [Beyond the Car: Routing for the Other 90% of Transport](\u002Fblog\u002Fbeyond-the-car-routing-for-specialized-fleets\u002F)\n- [Why Basic OSM Routing Needs Real-Time Traffic](\u002Fblog\u002Fwhy-osm-routing-needs-real-time-traffic\u002F)\n- [Traffic-Influenced Routing Is Here (Public Preview)](\u002Fblog\u002Ftraffic-influenced-routing-in-public-preview\u002F)\n\n### Routing & Navigation\n\n- [Isochrones API documentation](https:\u002F\u002Fdocs.stadiamaps.com\u002Frouting\u002Fisochrones\u002F) for the full parameter set\n- [Display Isochrones on a Map tutorial](https:\u002F\u002Fdocs.stadiamaps.com\u002Ftutorials\u002Fdisplay-isochrones-on-a-map\u002F) with a working MapLibre GL JS example\n- [Standard Routing](https:\u002F\u002Fdocs.stadiamaps.com\u002Frouting\u002Fstandard-routing\u002F) for a single point-to-point ETA\n- [Time\u002FDistance Matrix](https:\u002F\u002Fdocs.stadiamaps.com\u002Frouting\u002Ftime-distance-matrix\u002F) for ranked distances to many destinations\n- [Stadia Maps Isochrones product page](\u002Fproducts\u002Frouting-navigation\u002Fisochrones\u002F) and pricing tiers\n- [Matrix Routing product page](\u002Fproducts\u002Frouting-navigation\u002Fmatrix-routing\u002F)\n",{"id":857,"bio":821,"extension":13,"jobTitle":821,"meta":858,"name":859,"sameAs":860,"slug":863,"stem":864,"twitterCreator":821,"type":865,"url":866,"__hash__":867},"authors\u002Fauthors\u002Fstadia-maps.yml",{},"Stadia Maps",[861,862],"https:\u002F\u002Fwww.linkedin.com\u002Fcompany\u002Fstadia-maps\u002F","https:\u002F\u002Fgithub.com\u002Fstadiamaps","stadia-maps","authors\u002Fstadia-maps","Organization","https:\u002F\u002Fstadiamaps.com\u002F","jRSutfRcYEknA-OSdkWoPHgm7Iep6BJfLBIsMtzQONk",1784208159830]