# Mapbox integration

> Mapping, geocoding, navigation, and location data services for developers

- Authentication: apiKey

## Tools (31)

- **Batch Geocode (v5)**: Legacy v5 batch geocoder — up to 50 forward or reverse queries in a single call
- **Batch Geocode (v6)**: Run up to 1000 forward, reverse, or structured geocoding queries in a single request
- **Forward Geocode (v5)**: Legacy v5 forward geocoding — convert a place name to coordinates via the mapbox.places endpoint
- **Forward Geocode (v6)**: Convert a free-form or structured address to coordinates using the Geocoding v6 API
- **Get Directions**: Calculate a route between 2–25 waypoints with optional turn-by-turn instructions
- **Get Distance Matrix**: Travel-time and travel-distance matrix between multiple origin/destination coordinates
- **Get Isochrone**: Compute reachable areas from a point given travel time or distance contours
- **Get Optimization (V1)**: Find the optimal visiting order for 2–12 waypoints (traveling salesman style)
- **Get Static Map Image**: Render a PNG/JPEG of a Mapbox style at a given center, zoom, and size with optional overlays
- **Get Static Raster Tile**: Fetch a single raster tile (PNG/JPG) from a Mapbox style at the given XYZ coordinates
- **Get Style Embed HTML**: Get an embeddable HTML page (Mapbox GL JS) for a style that can be dropped into an iframe
- **Get Style Sprite**: Retrieve a style's sprite sheet image or its JSON index of icon positions
- **Get Tileset Metadata (TileJSON)**: Retrieve TileJSON metadata (bounds, zooms, layers, attribution) for a Mapbox tileset
- **Get Vector Tile**: Fetch a single vector tile (MVT protobuf) from a hosted Mapbox tileset
- **Map Matching (GET)**: Snap a short GPS trace to the road network (≤100 coordinates via GET)
- **Map Matching (POST)**: Snap a longer GPS trace to the road network via POST (form-encoded body)
- **Permanent Forward Geocode (v5)**: Forward geocoding via the v5 mapbox.places-permanent endpoint (enterprise plan required)
- **Permanent Reverse Geocode (v5)**: Reverse geocoding via the v5 mapbox.places-permanent endpoint (enterprise plan required)
- **Query Tile Features (Tilequery)**: Find features in a vector tileset near a given coordinate (point-in-polygon and radius queries)
- **Retrieve Font Glyph Range**: Download a PBF tile of font glyphs for a Unicode codepoint range
- **Retrieve Standalone Marker**: Download a standalone marker icon PNG (no map background)
- **Retrieve Style**: Fetch the full JSON style specification for a Mapbox style
- **Retrieve Style WMTS Document**: Get the OGC-compliant WMTS XML capabilities document for a Mapbox style
- **Reverse Geocode (v5)**: Legacy v5 reverse geocoding — convert coordinates to place names via the mapbox.places endpoint
- **Reverse Geocode (v6)**: Convert latitude/longitude coordinates to place names using the Geocoding v6 API
- **Search Box Category**: Search for POIs by canonical category (restaurants, hotels, gas stations, etc.)
- **Search Box Forward**: One-shot forward search using the Search Box API (no session token, billed per request)
- **Search Box Retrieve**: Retrieve full place details for a mapbox_id returned from a Suggest call (step 2 of the Search Box flow)
- **Search Box Reverse**: One-shot reverse geocoding via the Search Box API — coordinates to place
- **Search Box Suggest**: Autocomplete suggestions for a partial place or address query (step 1 of the Search Box flow)
- **Validate Access Token**: Validate a Mapbox access token and retrieve its owner, type, and scopes

## Related prompts

- [Filter Typeform leads by service area with a drive-time map](https://www.generalinput.com/prompts/filter-typeform-leads-by-service-area-with-a-drive-time-map.md)
- [Score every new Airtable property on commute and reach](https://www.generalinput.com/prompts/score-every-new-airtable-property-on-commute-and-reach.md)
- [Plan your daily field visits in the best driving order](https://www.generalinput.com/prompts/plan-your-daily-field-visits-in-the-best-driving-order.md)
- [Route new HubSpot leads to the nearest rep with a drive-time map](https://www.generalinput.com/prompts/route-new-hubspot-leads-to-the-nearest-rep-with-a-drive-time-map.md)
- [Slack alerts for every new Shopify order with map and drive time](https://www.generalinput.com/prompts/slack-alerts-for-every-new-shopify-order-with-map-and-drive-time.md)

Connect Mapbox in General Input: https://www.generalinput.com/apps/mapbox