import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bright_data: {
type: "app",
app: "bright_data",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.brightdata.com/customer/balance`,
headers: {
Authorization: `Bearer ${this.bright_data.$auth.api_key}`,
},
})
},
})
Extract search engine results using Bright Data SERP API. See the documentation
Send an API call to a URL and get the HTML back. Enables you to bypass anti-bot measures, manages proxies, and solves CAPTCHAs automatically for easier web data collection. See the documentation
Bright Data uses API keys for authentication. When you connect your Bright Data account, Pipedream securely stores the keys so you can easily authenticate to Bright Data APIs in both code and no-code steps.