Hostname API
Netify Hostname API
The Netify Hostname API provides network intelligence data that is typically used for:
- DNS filtering
- Application detection
- Hostname-based machine learning models
Get Started
We have a number of available subscription options to meet your needs. If you have a specific requirement for the data, please do not hesitate to contact us
Available SubscriptionsAPI Quick Reference
Single Hostname | GET | https://feeds.netify.ai/api/v2/hostnames/pbs.twimg.com |
Batch | POST | https://feeds.netify.ai/api/v2/hostnames + JSON data |
JSON - Extended Data
The Hostname Object documentation is where you will find detailed information on the hostname payload.
Requests Parameters
Single Hostname Example
curl --header 'x-api-key: {your key}' https://feeds.netify.ai/api/v2/hostnames/e17437.dsct.akamaiedge.net
Batch Example
curl --header "Content-Type: application/json" \
--header 'x-api-key: {your key}' \
--request POST \
--data '["pbs.twimg.com", "youtubei.googleapis.com", "e17437.dsct.akamaiedge.net" ]' \
https://feeds.netify.ai/api/v2/hostnames
The batch data list must not exceed 100 items.
Sample Scripts
The script(s) provided below are intended as sample code only - feel free to modify.
Python - Lookup Hostname(s)
Step 1
Download the script.
curl https://www.netify.ai/scripts/lookup.py -o lookup.py
Step 2
Set the executable bit.
chmod +x lookup.py
Step 3
Example call - Lookup a hostname or list of hostnames (comma separated).
./lookup.py --key=YOUR_API_KEY --hostnames=google.ca
Data Feeds Docs
Integration and Custom Solutions
Do you have any questions about integration, APIs or custom development?
Contact Us