
OpenCage
When a customer provides an address or GPS coordinates, your AI agent instantly resolves it through OpenCage's geocoding API. Forward geocoding converts addresses to map coordinates. Reverse geocoding turns latitude and longitude into readable locations. Location-aware conversations become the default, not the exception.




Your AI agent resolves addresses to coordinates and coordinates to addresses in real-time, enriching conversations with timezone data, country codes, and geographic context from OpenCage.
OpenCage
See how businesses embed location intelligence into AI conversations for service area validation, delivery routing, and customer location enrichment.
A potential customer asks if you deliver to their address. Your AI Agent geocodes their address through OpenCage, gets the coordinates, and checks them against your service area boundaries. If they are within range, the agent proceeds to take their order. If not, it suggests the nearest serviced location or offers alternative shipping options. No wasted time for either party.
A delivery customer shares their current location as GPS coordinates from their mobile device. Your AI Agent reverse-geocodes the coordinates through OpenCage to display the full street address, cross-references it with the delivery order address, and confirms whether the driver is at the right location. Address ambiguity resolves in one message.
An international customer wants to schedule a call with your team. Your AI Agent geocodes their city through OpenCage, extracts the timezone information from the response, and presents available time slots converted to the customer's local time. No more confusion about AM versus PM across time zones, and no double-booked calls due to conversion errors.

OpenCage
FAQs
OpenCage returns structured address components, confidence scores from 0 to 10, timezone information, currency details, FIPS codes, NUTS codes, UN/LOCODE identifiers, what3words addresses, Wikidata IDs, and speed limits when available. The agent can use any of these enrichment fields to provide more context during conversations.
Accuracy depends on the input quality and region. OpenCage aggregates data from OpenStreetMap, GeoNames, and other open sources. Each result includes a confidence score from 1 to 10 that indicates reliability. The agent can filter results by minimum confidence to ensure only high-quality matches are used in business-critical conversations.
Tars requires your OpenCage API key, which you get when you create an OpenCage account. Free accounts provide 2,500 requests per day. Paid plans offer higher limits and faster rate limits. The key is entered once in the Tars dashboard and can be regenerated anytime from your OpenCage account.
No. Geocoding results are fetched live from OpenCage during each conversation and used only for that interaction. OpenCage's licensing allows you to store results permanently if needed, but Tars itself does not cache or maintain a database of geocoded locations.
OpenCage provides worldwide geocoding coverage using open data sources including OpenStreetMap, which covers virtually every country. Coverage quality varies by region, with major cities and developed areas having the most detailed data. The countrycode parameter lets you restrict results to specific countries for targeted markets.
OpenCage uses open data sources and offers transparent, predictable pricing without surge charges. Unlike Google Maps, you can permanently store geocoded data. OpenCage also provides unique enrichments like what3words, NUTS codes, and UN/LOCODE identifiers. For businesses concerned about vendor lock-in or data licensing, OpenCage offers more flexibility.
Yes. The language parameter accepts ISO 639-1 codes, and results are returned in the specified language when translations are available. This is especially useful for international businesses where customers input addresses in their local language but results need to be displayed in a different language.
If no results are returned, the agent asks the customer to provide more details, check for typos, or try a nearby landmark. It can also broaden the search by removing filters or lowering the minimum confidence threshold. The conversation continues smoothly without dead ends.
Don't limit your AI Agent to basic conversations. Watch how to configure and add powerful tools making your agent smarter and more functional.

Privacy & Security
At Tars, we take privacy and security very seriously. We are compliant with GDPR, ISO, SOC 2, and HIPAA.