Opencage
Overview
SLUG: OPENCAGE
Description
OpenCage Geocoder provides a simple API for forward and reverse geocoding using open data sources.
Authentication Details
API Key
Connecting to Opencage
Create an auth config
Use the dashboard to create an auth config for the Opencage toolkit. This allows you to connect multiple Opencage accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Opencage Auth Config”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Opencage toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
OPENCAGE_GEOCODE_FORWARD
Tool Name: Forward Geocode Address
Description
Action Parameters
Action Response
OPENCAGE_GEOCODE_GEOJSON
Tool Name: Geocode to GeoJSON
Description
Action Parameters
Action Response
OPENCAGE_GEOCODE_GEOJSONP
Tool Name: Geocode with JSONP
Description
Action Parameters
Action Response
OPENCAGE_GEOCODE_REVERSE
Tool Name: Reverse Geocode Coordinates
Description
Action Parameters
Action Response
OPENCAGE_GEOCODE_XML
Tool Name: Geocode XML
Description
Action Parameters
Action Response