MailSlurp MailSlurp MailSlurp
About Guides Documentation Examples Pricing Support Login
Sign up
About Guides Documentation Examples Pricing Support Login
  • Guides
    • Account settings
    • Create email addresses
    • Custom Domains
    • Dashboard guide
    • Developer guide
    • Fetch nameserver records
    • Email address custom domain setup - (step by step guide)
    • Email Webhooks
    • Code examples
    • Expired inboxes
    • Extracting email content
    • Fetching emails in code
    • Getting started in code
    • Inbox wildcard catch all using custom domains
    • Matching email content
    • PHP Mail Tutorial (3 ways to send emails)
    • Plans
    • Query IP addresses
    • Receiving emails
    • Reset API Key
    • Send
    • Sending emails
    • Sending limits and reputation
    • Setup email aliases
    • Spam email and virus detection
    • Team email account sharing
    • Create organizations
    • Testing
    • Testing email with Cypress
  • About
  • Examples
  • Developers
  • Documentation
  1. Home
  2. Guides
  3. Query IP addresses

IP Address API: resolve domain IP addresses with MailSlup

You can use MailSlurp’s REST API to query domains to determine a servers IP address. Here is an example using curl.

curl -X POST "https://api.mailslurp.com/mail-server/describe/ip-address?name=www.mailslurp.com" -H  "accept: application/json" -H  "x-api-key: YOUR_API_KEY"

Note the x-api-key header: this is your free API Key. Sign up to create an account.

SDKs

  • CSharp DotNet IP Address Library
  • Get domain IP address in Ruby
  • Resolve IP address in Java
  • PHP IP Address Library

Related

  • Receive email in code

  • Deploy Redash to AWS with Terraform

  • Email API

  • Email API Send Attachments

  • Receiving emails in tests

  • Test user sign up with NodeJS and Jest (testing email verification codes)

On this page
  • SDKs

Footer

MailSlurp
MailSlurp

Modern email APIs for development, testing, and social. Free for personal use.

Facebook Twitter GitHub GitHub

About

  • Getting started
  • How it works
  • Examples
  • Developers
  • Pricing
  • Blog

Developers

  • REST API
  • Javascript
  • C# DotNET
  • Golang
  • Java
  • Objective C
  • PHP
  • Python
  • Ruby
  • Typescript
  • Swagger Spec

Examples

  • Cypress JS
  • Jest Puppeteer
  • Selenium Testing
  • Example repositories

Company

  • Support
  • Contact
  • Legal
  • Terms
  • Privacy

© Pettman OU. All rights reserved.