Is an IP inside a CIDR
API · /subnet-api
Subnet API
A fast, fully-local IP and subnet calculator: validate IPv4 and IPv6 addresses with type classification (private, public, loopback, link-local, multicast, CGNAT or reserved), compute CIDR subnet details (network, netmask, wildcard, broadcast, first and last host, total addresses and usable hosts, with IPv6 network and range size), check whether an address falls inside a CIDR block, and convert addresses (IPv4 to integer, hex and binary; IPv6 expand and compress). Every endpoint accepts input via the query string or the request body. Pure server-side compute, no third-party upstream, so responses are instant and always available. Ideal for devops, network automation, IPAM, firewall and ACL tooling and cloud infrastructure.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 78 ms
- Server probes · 24h
- Subscribers
- 3,139
- active
- Total calls
- 20
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 14,000 calls / month
- 3 requests / second
- Hard cap (429 above quota, no overage)
- 14,000 calls/month, 3 req/s
- All endpoints: validate, subnet, contains, convert
- IPv4 + IPv6 with type classification
- No credit card
Basic
€4.00 /month
- 240,000 calls / month
- 12 requests / second
- Hard cap (429 above quota, no overage)
- 240,000 calls/month, 12 req/s
- Full IPv4/IPv6 validate, subnet, contains, convert
- Commercial use allowed
- Email support
Pro
€15.00 /month
- 1,300,000 calls / month
- 40 requests / second
- Hard cap (429 above quota, no overage)
- 1,300,000 calls/month, 40 req/s
- All endpoints, batch-friendly throughput
- Priority email support
- Commercial use allowed
Mega
€40.00 /month
- 6,800,000 calls / month
- 120 requests / second
- Hard cap (429 above quota, no overage)
- 6,800,000 calls/month, 120 req/s
- High-volume IPAM / firewall / network-automation use
- All endpoints, full IPv6 range sizing
- Priority support
Built by
Related APIs
Other APIs with overlapping tags.
WHOIS API
Domain and IP registration lookups via RDAP — the modern, structured successor to WHOIS. Get the registrar, registration / update / expiry dates, status codes, nameservers, DNSSEC state, and IP network ownership (CIDR, organization, country).
api.oanor.com/whois-api
IP Geolocation API
Geolocate any IPv4 or IPv6 address — country, region, city, postal code, latitude/longitude, timezone, calling code, currency and network details (ASN, ISP, organization). Look up any address or detect the caller's own public IP.
api.oanor.com/ipgeo-api
MAC Vendor API
Identify the manufacturer behind any MAC address. Look up a MAC or OUI to get the assigned vendor, its short name and the exact assignment block (/24, /28 or /36) using the official IEEE registry, search the registry by vendor name to find all of a company’s OUIs, or generate random valid test MAC addresses for a given vendor. MAC addresses are accepted in every common format — colon, hyphen, dot or bare hex — and bare OUIs work too. Built on the open IEEE OUI dataset (~57,000 assignments) and served entirely in-memory, so responses are instant and the service is always available. Ideal for network scanning and monitoring, IoT and device identification, security and asset inventory, NAC and devops tooling.
api.oanor.com/macvendor-api
YAML API
Convert, validate and tidy YAML through a fast, fully-local API. Turn YAML into JSON (including multi-document streams) or JSON into clean YAML with optional key sorting and custom indentation, validate a document and get the exact line and column of any syntax error with a context snippet, or reformat and normalize existing YAML. Inputs can be sent as a raw text/plain body, a JSON field or a query parameter; outputs are tidy JSON. Pure server-side compute with no third-party upstream, so responses are instant and the service is always available. Ideal for DevOps and CI/CD, configuration and infrastructure-as-code tooling, no-code platforms, editors and data pipelines.
api.oanor.com/yaml-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Subnet API?
What's the rate limit for Subnet API?
How much does Subnet API cost?
Can I cancel my subscription anytime?
Is Subnet API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/subnet-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/subnet-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/subnet-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/subnet-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.