API · /subnet-api

Subnet API

healthy 3,139 Subscribers

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.oanor.com/subnet-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/subnet-api/openapi.json
/api/subnet-api/llms.txt

Discovery: GET /api/index.json lists every API.

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
status Full status page → · 20 probes/24h

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
Sign in to subscribe

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
Sign in to subscribe

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
Sign in to subscribe

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
Sign in to subscribe

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?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Subnet API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Subnet API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does Subnet API cost?
Subnet API has a free tier with 100 calls / month. Paid plans start at €4.00 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is Subnet API GDPR-compliant?
All requests to Subnet API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

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 in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 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 in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.