OpenCage

Reverse geocoding API

Go to site
Explore
/
Apps
/
OpenCage

OpenCage API Integrations

Build and run workflows using the OpenCage API. Use 1000s of open source triggers and actions across 800+ apps. Or write custom code to integrate any app or API in seconds.

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    opencage: {
      type: "app",
      app: "opencage",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.opencagedata.com/geocode/v1/json`,
      params: {
        key: `${this.opencage.$auth.api_key}`,
        "q": `51.952659%2C+7.632473`,
        pretty: `1`,
        no_annotations: `1`,
      },
    })
  },
})

Authentication

OpenCage uses API keys for authentication. When you connect your OpenCage account, Pipedream securely stores the keys so you can easily authenticate to OpenCage APIs in both code and no-code steps.

The API Key for OpenCage is in the Dashboard. See OpenCage API Quickstart for getting the API Key.