with MEXC and Verifalia?
Delete a previously submitted email verification job. See the docs for more information
Get the number of credit packs and free daily credits available to the account. See the docs for more information
Verify an email address and check if it is properly formatted, really exists and can accept mails, flagging spam traps, disposable emails and much more. See the docs for more information
Verify a list of email address and check if it is properly formatted, really exists and can accept mails, flagging spam traps, disposable emails and much more. See the docs for more information
import { axios } from "@pipedream/platform";
import crypto from "crypto";
export default defineComponent({
props: {
mexc: {
type: "app",
app: "mexc",
}
},
async run({ steps, $ }) {
// Build query string
const timestamp = Date.now()
const recvWindow = 5000
const queryString = `recvWindow=${recvWindow}×tamp=${timestamp}`
// Generate signature
const signature = crypto
.createHmac('sha256', this.mexc.$auth.secret_key)
.update(queryString)
.digest('hex')
// Make authenticated request
return await axios($, {
method: 'GET',
url: 'https://api.mexc.com/api/v3/account',
headers: {
'X-MEXC-APIKEY': this.mexc.$auth.access_key
},
params: {
recvWindow,
timestamp,
signature
}
})
},
})
Verifalia's API provides robust email validation and verification services, ensuring that email addresses in your lists are accurate and deliverable. Leveraging Verifalia within Pipedream workflows can automate the process of cleaning up email lists, improve email marketing efficiency, and maintain communication channel integrity. By integrating Verifalia's capabilities, you can cut down on bounces, identify disposable email addresses, and segment lists based on quality scores.
import { VerifaliaRestClient } from "verifalia"
export default defineComponent({
props: {
verifalia: {
type: "app",
app: "verifalia",
}
},
async run({steps, $}) {
const verifaliaClient = new VerifaliaRestClient({
username: this.verifalia.$auth.username,
password: this.verifalia.$auth.password
});
return await verifaliaClient
.emailValidations
.submit('batman@gmail.com', true);
},
})