# MailTester Ninja API Integration - HELP

**URL:** <https://community.hubspot.com/t/mailtester-ninja-api-integration-help/104723>\
**Category:** APIs & Integrations\
**Tags:** how-to\
**Created:** [April 12, 2024, 3:03pm UTC](https://community.hubspot.com/t/mailtester-ninja-api-integration-help/104723 "2024-04-12T15:03:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GCxm001](https://avatars.discourse-cdn.com/v4/letter/g/47e85d/32.png) [@GCxm001](https://community.hubspot.com/u/GCxm001)\
**Post date:** [April 12, 2024, 3:03pm UTC](https://community.hubspot.com/t/mailtester-ninja-api-integration-help/104723/1 "2024-04-12T15:03:15Z")

</div>

I am looking for a JS code to user the [MailTester Ninja Email Checker](https://mailtester.ninja) API

Anyone using nodejs + axios could help ?

I would like to qualify my mailing list before any communication to help getting a better sender reputation

---

<div class="post-metadata">

**Author:** ![MiaSrebrnjak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miasrebrnjak/32/10_2.png) [@MiaSrebrnjak](https://community.hubspot.com/u/MiaSrebrnjak)\
**Post date:** [April 12, 2024, 5:46pm UTC](https://community.hubspot.com/t/mailtester-ninja-api-integration-help/104723/2 "2024-04-12T17:46:56Z")

</div>

Hi @GCxm001,

Thank you for reaching out to the Community!

I found two existing Community articles that might be partially relevant:

[Can API data be accessed using vanilla JS fetch method instead of axios?](https://community.hubspot.com/t5/APIs-Integrations/Can-API-data-be-accessed-using-vanilla-JS-fetch-method-instead/m-p/725014)

[How to upload a file using Hubspot File Uploading API with Nodejs, Axios AWS Lambda,](https://community.hubspot.com/t5/APIs-Integrations/How-to-upload-a-file-using-Hubspot-File-Uploading-API-with/m-p/459002)

I also wanted to invite subject matter experts to this conversation:

Hi @himanshurauthan & @louischausse, do you have any advice for @GCxm001? Thank you!!

Cheers,

Mia, Community team

---

<div class="post-metadata">

**Author:** ![himanshurauthan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/himanshurauthan/32/53076_2.png) [@himanshurauthan](https://community.hubspot.com/u/himanshurauthan)\
**Post date:** [April 19, 2024, 5:02am UTC](https://community.hubspot.com/t/mailtester-ninja-api-integration-help/104723/3 "2024-04-19T05:02:52Z")

</div>

Hey @GCxm001 ,  
you can use this js code to verify email is valid or not. Note:- You are limited to one query per minute: Try MailTester Ninja unlimited or just wait 59 sec.  
async function checkEmailValidOrNot() {

try {

const response = await fetch(

[https://api.mailtester.ninja?email=YourEmail](https://api.mailtester.ninja/?email=YourEmail)

).then(response=\>response.json());

console.log(‘response’, response);

} catch (error) {

console.error(“Error:”, error);

}

}

I hope this will help you. Thanks
