xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
  1. Home
  2. ›
  3. Mapbox
  4. ›
  5. Forward Geocode Tool

Mapbox
Mapbox
Tool

Forward Geocode Tool

forward_geocode_tool

Forward geocode addresses, cities, towns, neighborhoods, districts, postcodes, regions, and countries using Mapbox Geocoding API v6. Converts location name into geographic coordinates. Setting a proximity point helps to bias results towards a specific area for more relevant results. Do not use this tool for geocoding points of interest like businesses, landmarks, historic sites, museums, etc. Supports both JSON and text output formats.


Pricing

Per call

$0.01

Model

flat


Pay only for what you use. No subscriptions.
Inputs

q *

string

country

array

types

array

autocomplete

boolean

proximity

string

permanent

boolean

bbox

object

format

string

limit

number

language

string

worldview

string
Try It
API
MCP Config
Input Parameters
q *
Search text to geocode. Max 256 characters, 20 words, no semicolons.
country
Array of ISO 3166 alpha 2 country codes to limit results
types
Array of feature types to filter results
proximity
Location to bias results towards. Either [longitude, latitude] coordinates or "ip" for IP-based location. Can help get more relevant results when searching in a specific area.
bbox
Bounding box to limit results within specified bounds
formatted_text
format
Output format: "json_string" returns raw GeoJSON data as a JSON string that can be parsed; "formatted_text" returns human-readable text with place names, addresses, and coordinates. Both return as text content but json_string contains parseable JSON data while formatted_text is for display.
limit
Maximum number of results to return (1-10)
language
IETF language tag for the response (e.g., "en", "es", "fr", "de", "ja")
us
worldview
Returns features from a specific regional perspective
Cost per run
Execution cost
$0.01
Deducted from your xPay allowance
xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service
✦
xpay Assistant
Forward Geocode Tool by Mapbox

Ask me about tools, pricing, or how to connect

How does this tool work?
What parameters does it accept?
Show me a usage example
DocsCollectionsExplore