Validate phone numbers, VAT IDs, IBANs, and other data formats
Beta Release - This action is in beta. We'd love your feedback! Open an issue if you encounter any problems.

Browse All APIs | Get Free API Key | Documentation
This action provides access to APIVerve's Data Validation APIs directly in your GitHub workflows:
- Validate phone numbers
- Verify VAT identification numbers
- Validate IBAN bank account numbers
- Lookup BIN/IIN card information
| API | Description |
|---|---|
phonenumbervalidator |
Phone Number Validator is a simple tool for validating if a phone number is valid or not. It checks the phone number format and the country code to see if the phone number is valid. |
vatvalidator |
vatvalidator API |
ibanvalidator |
ibanvalidator API |
binlookup |
BIN Lookup is a simple tool for looking up BIN number information. It returns information such as the bank, card type, and more based on the BIN number provided. |
routinglookup |
Routing Number Lookup is a simple tool for looking up routing number information for USA Banks. It returns information such as the bank, location, and more based on the routing number provided. |
- name: Data Validation
uses: apiverve/action-data-validation@v1
with:
api_key: ${{ secrets.APIVERVE_KEY }}
api: phonenumbervalidator
params: '{"number": "+14155551234"}'Sign up for a free account at dashboard.apiverve.com/signup and create an API key.
Go to your repository Settings → Secrets and variables → Actions → New repository secret
- Name:
APIVERVE_KEY - Value: Your API key from the dashboard
- name: Data Validation
uses: apiverve/action-data-validation@v1
with:
api_key: ${{ secrets.APIVERVE_KEY }}
api: phonenumbervalidator
params: '{"your": "parameters"}'| Input | Description | Required | Default |
|---|---|---|---|
api_key |
Your APIVerve API key (or set APIVERVE_API_KEY env var) |
Yes* | - |
api |
API to use: phonenumbervalidator, vatvalidator, ibanvalidator, binlookup, routinglookup |
No | phonenumbervalidator |
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.
| 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) |
Validate a phone number
- name: Phone Validation
id: data-validation-0
uses: apiverve/action-data-validation@v1
with:
api_key: ${{ secrets.APIVERVE_KEY }}
api: phonenumbervalidator
params: '{"number": "+14155551234"}'
- name: Use result
run: echo "Result: ${{ steps.data-validation-0.outputs.data }}"Validate a VAT ID
- name: VAT Validation
id: data-validation-1
uses: apiverve/action-data-validation@v1
with:
api_key: ${{ secrets.APIVERVE_KEY }}
api: vatvalidator
params: '{"vatid": "DE123456789"}'
- name: Use result
run: echo "Result: ${{ steps.data-validation-1.outputs.data }}"name: Data Validation Workflow
on:
push:
branches: [main]
workflow_dispatch:
jobs:
data-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Data Validation
id: result
uses: apiverve/action-data-validation@v1
with:
api_key: ${{ secrets.APIVERVE_KEY }}
api: phonenumbervalidator
params: '{"number": "+14155551234"}'
- name: Show result
run: |
echo "Status: ${{ steps.result.outputs.status }}"
echo "Data: ${{ steps.result.outputs.data }}"Looking for more APIVerve actions?
- apiverve/action - Generic action for all 350+ APIs
- apiverve/action-release-assets - Generate QR codes, barcodes, and badges for your GitHub releases
- apiverve/action-visual-testing - Capture screenshots and generate PDFs for visual regression testing and documentation
- apiverve/action-dns-monitor - Verify DNS configuration, check propagation, and validate DNSSEC after deployments
- Free tier - Get started with generous free limits
- Pro plans - Higher rate limits and priority support for production use
Check out pricing details.
- API Documentation: docs.apiverve.com
- API Marketplace: apiverve.com/marketplace
- Issues & Support: GitHub Issues
- Email: support@apiverve.com
MIT - see LICENSE
Built by APIVerve - 350+ APIs for developers