Enigma provides fresh, accurate data about the identity and financial health of every small business.
Go to siteThe Enigma API enables developers to access data and content from a variety of sources, including news, weather, and social media. With the Enigma API, you can build applications that display real-time data, offer insights and analysis, and provide a variety of other features and services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
enigma: {
type: "app",
app: "enigma",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.enigma.com/businesses/{your_enigma_id}`,
headers: {
"x-api-key": `${this.enigma.$auth.api_key}`,
"accept": `application/json`,
},
params: {
lookback_months: `1`,
},
})
},
})
Enigma uses API keys for authentication. When you connect your Enigma account, Pipedream securely stores the keys so you can easily authenticate to Enigma APIs in both code and no-code steps.
Sign in and copy your API key from your Enigma dashboard.