Skip to content

apiverve/action-domain-health

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

APIVerve Domain Health Action

Monitor domain expiration, WHOIS changes, and domain availability

Beta Release - This action is in beta. We'd love your feedback! Open an issue if you encounter any problems.

![GitHub Marketplace](https://img.shields.io/badge/Marketplace-Domain Health-blue?logo=github) License: MIT

Browse All APIs | Get Free API Key | Documentation


What does this action do?

This action provides access to APIVerve's Domain Health APIs directly in your GitHub workflows:

  • Alert before domains expire
  • Monitor WHOIS record changes
  • Check domain availability for new projects
  • Verify domain is responding

Available APIs

API Description
domainexpiration Domain Expiration Checker is a simple tool for checking the expiration date and age of a domain. It returns the expiration date and age of the domain provided.
whoislookup Whois Lookup is a simple tool for checking the registration of a domain name. It returns the name and contact information of the domain owner, the domain registrar, and more.
domainavailability Domain Availability Checker is a simple tool for checking the availability of a domain. It returns if the domain is available or not.
domainpinger domainpinger API

Quick Start

- name: Domain Health
  uses: apiverve/action-domain-health@v1
  with:
    api_key: ${{ secrets.APIVERVE_KEY }}
    api: domainexpiration
    params: '{"domain": "example.com"}'

Setup

1. Get Your API Key

Sign up for a free account at dashboard.apiverve.com/signup and create an API key.

2. Add Secret to Repository

Go to your repository SettingsSecrets and variablesActionsNew repository secret

  • Name: APIVERVE_KEY
  • Value: Your API key from the dashboard

3. Use in Workflow

- name: Domain Health
  uses: apiverve/action-domain-health@v1
  with:
    api_key: ${{ secrets.APIVERVE_KEY }}
    api: domainexpiration
    params: '{"your": "parameters"}'

Inputs

Input Description Required Default
api_key Your APIVerve API key (or set APIVERVE_API_KEY env var) Yes* -
api API to use: domainexpiration, whoislookup, domainavailability, domainpinger No domainexpiration
params JSON parameters for the API No {}
output_file Path to save binary output (images, PDFs) No -
format Response format: json, yaml, or xml No json
fail_on_error Fail workflow if API returns error No true

*API key is required but can be provided via input OR APIVERVE_API_KEY / APIVERVE_KEY environment variable.

Outputs

Output Description
result Full API response as JSON
data The data field from response as JSON
status API status (ok or error)
file Path to downloaded file (if output_file was used)

Examples

Expiration Check

Check when a domain expires

- name: Expiration Check
  id: domain-health-0
  uses: apiverve/action-domain-health@v1
  with:
    api_key: ${{ secrets.APIVERVE_KEY }}
    api: domainexpiration
    params: '{"domain": "example.com"}'

- name: Use result
  run: echo "Result: ${{ steps.domain-health-0.outputs.data }}"

WHOIS Lookup

Get WHOIS information for a domain

- name: WHOIS Lookup
  id: domain-health-1
  uses: apiverve/action-domain-health@v1
  with:
    api_key: ${{ secrets.APIVERVE_KEY }}
    api: whoislookup
    params: '{"domain": "example.com"}'

- name: Use result
  run: echo "Result: ${{ steps.domain-health-1.outputs.data }}"

Full Workflow Example

name: Domain Health Workflow

on:
  push:
    branches: [main]
  workflow_dispatch:

jobs:
  domain-health:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Run Domain Health
        id: result
        uses: apiverve/action-domain-health@v1
        with:
          api_key: ${{ secrets.APIVERVE_KEY }}
          api: domainexpiration
          params: '{"domain": "example.com"}'

      - name: Show result
        run: |
          echo "Status: ${{ steps.result.outputs.status }}"
          echo "Data: ${{ steps.result.outputs.data }}"

Related Actions

Looking for more APIVerve actions?

Browse all APIVerve Actions →


Pricing

  • Free tier - Get started with generous free limits
  • Pro plans - Higher rate limits and priority support for production use

Check out pricing details.


Resources


License

MIT - see LICENSE


Built by APIVerve - 350+ APIs for developers

About

Monitor domain expiration, WHOIS changes, and domain availability

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors