Affordable maps and geocoding API
Geocoding, places, routing, IP lookup, and free map tiles. Everything you need to put location in your app, from $0.10 per 1,000 requests.
- 250,000 free requests
- No credit card required
Moving from another provider?
Each comparison maps the provider's APIs to Mapricot's, compares prices, and says when to choose either one.
See all comparisonsGeocoding
Turn what people type into a point on the map, and a point on the map back into an address. Where there is no street address, you get the town, county, or country instead of nothing.
- Address forms that fill themselves in
- Store locators and delivery zones
- Readable labels for a dropped pin or GPS fix
Places
Suggest places as people type, and list the cafés, stations, or shops around any point. Every result has a Mapricot ID you can save and look up again later.
- Search boxes that suggest as you type
- "Near me" lists filtered by category
- Saved places that stay linked to their details
Routing
Get driving, cycling, and walking routes through up to 20 stops. Each response has the distance and travel time for every leg, plus a line to draw on your map.
- Directions and arrival estimates
- Multi-stop trips and delivery runs
- Prices and limits based on real travel distance
IP geolocation
Look up the country, region, and city of a visitor's IP address, so your page is useful before they type anything. Works with IPv4 and IPv6.
- Default country, currency, and shipping options
- Search results focused near the visitor
- Regional content and analytics
- City
- Region
- Country
Free map tiles
Show an interactive map with MapLibre, then draw your search results and routes on top. Mapricot's vector tiles come in six styles, free to use, with nothing to meter.
Explore the free map tilesPlain HTTPS and JSON
Call the API from any language with your API key, and get JSON back. Official clients for JavaScript, Python, Ruby, PHP, and Go add types and retries.
- Save results and look them up again by their ID
- Show each response's data credits wherever you display its results
curl "https://api.mapricot.com/geocoding/v1/search?q=128+SW+3rd+Ave,+Portland&limit=1" \
-H "Authorization: Bearer $MAPRICOT_KEY"{ "attribution": [ { "source": "openaddresses", "text": "OpenAddresses", "url": "https://openaddresses.io" } ], "results": [ { "id": "mp_b3BlbmFkZHJlc3NlczphZGRyZXNzOnVzL29yL3N0YXRld2lkZS1hZGRyZXNzZXMtc3RhdGU6YzFmZTc1NGZhZTk4ZTQxYw", "type": "address", "name": "128 SW 3rd Avenue", "label": "128 SW 3rd Avenue, Portland, OR, USA", "lat": 45.521789, "lon": -122.673448, "address": { "houseNumber": "128", "street": "SW 3rd Avenue", "postalCode": "97204", "locality": "Portland", "region": "Oregon", "regionCode": "OR", "country": "United States", "countryCode": "US" }, "source": "openaddresses" } ]}One price for every endpoint
Mapricot's data is open and our hosting costs are low, so we can charge what we think is a fair price. A search, a route, and an IP lookup each cost the same.
-
Free every 30 days
250,000 requests
Shared by geocoding, places, routing, and IP geolocation. No credit card.
- Every endpoint
- Every API key on the account
- Starts again every 30 days
-
Pay as you go
$0.10 per 1,000
Buy credits as you need them, so you're never invoiced for more than you bought.
- Credits in $25 increments
- Credits last a year
- Checkout on Stripe
-
Map tiles
$0 unmetered
Vector tiles and styles for MapLibre never count against your requests or credits.
- Six styles, from light and dark to outdoors
- Fonts and icons included
- Fair use applies
Start with 250,000 free requests
Sign in with your email, create an API key, and make your first request in a few minutes. No credit card required.