OpenCage

Turn addresses into coordinates and coordinates into answers

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.

Chosen by 800+ global brands across industries

Location intelligence in every interaction

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.

Forward Geocode

A customer types their street address. Your AI agent sends it to OpenCage and receives precise latitude and longitude coordinates, along with confidence scores and formatted address components. Service area validation happens automatically during the chat.

Reverse Geocode

A delivery driver shares GPS coordinates from their phone. The agent converts those coordinates into a human-readable address using OpenCage's reverse geocoding, showing the street name, city, state, and postal code. Dispatchers get clarity without juggling map apps.

Retrieve GeoJSON Data

The agent requests geocoding results in GeoJSON format, ready for direct use in mapping applications and spatial databases. Location data from customer conversations flows directly into your geographic information systems without format conversion.

Filter by Country

Operating in specific markets? The agent restricts geocoding results to one or more countries using ISO country codes. When a UK customer types an ambiguous place name, results are filtered to the UK, avoiding confusion with similarly named locations elsewhere.

Enrich with Timezone Data

Beyond coordinates, OpenCage returns timezone information, currency details, and FIPS codes for each location. The agent uses this enrichment to schedule deliveries in the customer's local time or display prices in their local currency during the conversation.

Proximity-Biased Search

When a customer searches for a nearby location, the agent passes a proximity point to bias results toward their area. A customer in San Francisco asking for the nearest office gets results centered around their location rather than matches from across the country.

OpenCage

Use Cases

Geocoding that powers real decisions

See how businesses embed location intelligence into AI conversations for service area validation, delivery routing, and customer location enrichment.

Service Area Validation at First Contact

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.

Real-Time Delivery Location Resolution

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.

Timezone-Aware Appointment Scheduling

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.

Try
OpenCage

OpenCage

FAQs

Frequently Asked Questions

What data does OpenCage return beyond just coordinates?

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.

How accurate is the geocoding for different types of addresses?

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.

What authentication does Tars need for OpenCage?

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.

Does Tars store geocoded location data?

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.

Which countries and regions does OpenCage cover?

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.

How is this different from using Google Maps geocoding?

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.

Can the agent geocode in multiple languages?

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.

What happens if OpenCage cannot find a match for an address?

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.

How to add Tools to your AI Agent

Supercharge your AI Agent with Tool Integrations

Don't limit your AI Agent to basic conversations. Watch how to configure and add powerful tools making your agent smarter and more functional.

Real results, real customers, real stories

“We're saving an average of 4,000+ calls a month.”
Implementing an Agent revolutionized our customer service channels and our service to Indiana business owners. We're saving an average of 4,000+ calls a month and can now provide 24x7x365 customer service️ along with our business services.
Lindsey Roark Mayes
Ex-Director of SOS IT (State of Indiana)
“Cutting down on staff needing to email back.”
Since our launch of Tars Agents, we've had more than 5k interactions with them from individuals on the website. We saw prospects interacting with the Agent regarding application timelines, tuition, curriculum, and other items that may come through an email. This provides another avenue of access to our team while cutting down on staff needing to email back.
Levi Eastwood
Marketing Director of UCI Merage School
“Powerful tool - and there's so much more still to explore!”
I love the flexibility of the TARS chatbot design tool. The ability to drop in a new gambit and easily de-link and re-link gambits before and after it saves HOURS of time lost if I had to regenerate from scratch. TARS stands out for its flexibility, consistent performance, and outstanding support.
Aaron Rittmaster
Founder
“I like the product.”
Takes those boring forms and allows you to make the collecting of customer information enjoyable for the user. It has a lot of value and I see the company constantly working on improving it.
Pierre Rattini
Director of Marketing
“Very responsive and supportive Team”
I love how supportive and responsive the team members are. The chatbots are not difficult to build once you have an idea of what you are doing, and this is so based on the backend work Tars has completed. Also, they are flexible to the clients' requests.
Keisha Cameron
Product Manager
“Easy for cooperation and open to agreement.”
One of the biggest qualities of TARS is their ability to truly understand their clients' needs. They took the time to thoroughly assess our requirements, offering valuable insights and recommendations that we hadn't even considered. This level of personalized attention made a significant difference in the success of our project.
Milica Petrovic
Customer Care Project Associate
“Great service”
The guys at Tars are so passionate about bots and maximum engagement. Tars is overall a great product with really nice people there to help me engage and automate conversations I would have otherwise missed.
Nigel Gosling
Health Coach
“Best in class for lead generation”
TARS is an essential tool within our lead gen strategy. I started to use it a couple years ago, and the platform evolved to focus on results. You can integrate your Google Analytics, Facebook Pixel, and AdWords conversion tag to track results and measure your campaign. You can also integrate with Zapier, which opens a lot of possibilities. Compared with static landing pages, we have seen an increase in conversions and more engagement.
Leonardo Wolff
Founder
“Very professional and cooperative”
Building an automated chat that our customers actually used and reduced calls amount.
Maryam Alhaddad
Customer Journey Designer
“Flexibility and good service”
Tars platform is very flexible, so you can do pretty much any flux you desire. Also integrates with any third party through APIs with a very simple and easy-to-use interface. Also tars team is great! Always at disposal and brings suggestions and solutions for any issue encountered during the process of building the chatbot.
Lucas Von Lachmann
Process Manager
“Deserved The title of the Best Chatbot of the Year”
If you are building chatbots, you cannot go wrong with TARS. I have been with this company since their beginning. Seen how they have grown. I have tested a lot of bots, but this one is still the best out there. We use WhatsApp a lot for our business. And what I like best is that I can have 1 chatbot for website and for my WhatsApp. I especially appreciate their support team as well. Whenever I am stuck, they quickly reply to my questions.
MJ Felix
Chairman
“Advanced integration, easy to use, and very customizable.”
This chatbot does everything from AI integration to complete customization and is excellent for lead conversion in most industries. I think the pre-formatted templates are an excellent boost to get started quickly. The team is also excellent.
Rachel Rowling
Chief Operating Officer
“The chatbot implementation has exceeded expectations!”
The implementation has delivered 24/7 customer support and is proving its value by reducing Contact center calls by around 5% in just four months of operation. Beyond enhancing the e-care experience, the chatbot is driving impressive business results, achieving a remarkable 20% month-on-month growth.
Victor Pereira
Customer Care and CX Manager
“We're saving an average of 4,000+ calls a month.”
Implementing an Agent revolutionized our customer service channels and our service to Indiana business owners. We're saving an average of 4,000+ calls a month and can now provide 24x7x365 customer service️ along with our business services.
Lindsey Roark Mayes
Ex-Director of SOS IT (State of Indiana)
“Cutting down on staff needing to email back.”
Since our launch of Tars Agents, we've had more than 5k interactions with them from individuals on the website. We saw prospects interacting with the Agent regarding application timelines, tuition, curriculum, and other items that may come through an email. This provides another avenue of access to our team while cutting down on staff needing to email back.
Levi Eastwood
Marketing Director of UCI Merage School
“Powerful tool - and there's so much more still to explore!”
I love the flexibility of the TARS chatbot design tool. The ability to drop in a new gambit and easily de-link and re-link gambits before and after it saves HOURS of time lost if I had to regenerate from scratch. TARS stands out for its flexibility, consistent performance, and outstanding support.
Aaron Rittmaster
Founder
“I like the product.”
Takes those boring forms and allows you to make the collecting of customer information enjoyable for the user. It has a lot of value and I see the company constantly working on improving it.
Pierre Rattini
Director of Marketing
“Very responsive and supportive Team”
I love how supportive and responsive the team members are. The chatbots are not difficult to build once you have an idea of what you are doing, and this is so based on the backend work Tars has completed. Also, they are flexible to the clients' requests.
Keisha Cameron
Product Manager
“Easy for cooperation and open to agreement.”
One of the biggest qualities of TARS is their ability to truly understand their clients' needs. They took the time to thoroughly assess our requirements, offering valuable insights and recommendations that we hadn't even considered. This level of personalized attention made a significant difference in the success of our project.
Milica Petrovic
Customer Care Project Associate
“Great service”
The guys at Tars are so passionate about bots and maximum engagement. Tars is overall a great product with really nice people there to help me engage and automate conversations I would have otherwise missed.
Nigel Gosling
Health Coach
“Best in class for lead generation”
TARS is an essential tool within our lead gen strategy. I started to use it a couple years ago, and the platform evolved to focus on results. You can integrate your Google Analytics, Facebook Pixel, and AdWords conversion tag to track results and measure your campaign. You can also integrate with Zapier, which opens a lot of possibilities. Compared with static landing pages, we have seen an increase in conversions and more engagement.
Leonardo Wolff
Founder
“Very professional and cooperative”
Building an automated chat that our customers actually used and reduced calls amount.
Maryam Alhaddad
Customer Journey Designer
“Flexibility and good service”
Tars platform is very flexible, so you can do pretty much any flux you desire. Also integrates with any third party through APIs with a very simple and easy-to-use interface. Also tars team is great! Always at disposal and brings suggestions and solutions for any issue encountered during the process of building the chatbot.
Lucas Von Lachmann
Process Manager
“Deserved The title of the Best Chatbot of the Year”
If you are building chatbots, you cannot go wrong with TARS. I have been with this company since their beginning. Seen how they have grown. I have tested a lot of bots, but this one is still the best out there. We use WhatsApp a lot for our business. And what I like best is that I can have 1 chatbot for website and for my WhatsApp. I especially appreciate their support team as well. Whenever I am stuck, they quickly reply to my questions.
MJ Felix
Chairman
“Advanced integration, easy to use, and very customizable.”
This chatbot does everything from AI integration to complete customization and is excellent for lead conversion in most industries. I think the pre-formatted templates are an excellent boost to get started quickly. The team is also excellent.
Rachel Rowling
Chief Operating Officer
“The chatbot implementation has exceeded expectations!”
The implementation has delivered 24/7 customer support and is proving its value by reducing Contact center calls by around 5% in just four months of operation. Beyond enhancing the e-care experience, the chatbot is driving impressive business results, achieving a remarkable 20% month-on-month growth.
Victor Pereira
Customer Care and CX Manager

Privacy & Security

We’ll never let you lose sleep over privacy and security concerns

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

GDPR
ISO
SOC 2
HIPAA

Still scrolling? We both know you're interested.

Let's chat about AI Agents the old-fashioned way. Get a demo tailored to your requirements.

Schedule a Demo