webfilteringservice.com
Home
Features - Core
Domain Categorization Real-Time Content Updates Content Filtering Categories Unsafe Content Protection
Features - Technology
Custom Filtering Policies AI-Powered Classification Reporting & Analytics API Integration Multi-Tenant Management Compliance Filtering
Tools
Domain Lookup Category Checker Bulk Domain Scanner Website Category Scanner Category Browser
Industries - Financial
Banking Insurance FinTech Investment
Industries - Healthcare
Healthcare Pharmaceuticals Medical Research
Industries - Government & Legal
Federal Government Law Firms Law Enforcement
Industries - Technology
Software & SaaS Cybersecurity AI & Machine Learning
Industries - Education & Other
Higher Education Retail & Ecommerce Hospitality Energy & Utilities
Resources
Managed Filter Pricing API Docs Sign In Check Domain
Developer API

Build With Our
Classification API

Integrate real-time domain classification into any application with our RESTful API. Query our database of 90 million categorized domains, submit bulk lookups, receive webhook notifications, and leverage SDKs in your preferred language.

Get API Key
REST
API Architecture
<10ms
Response Time
4
Official SDKs

Core API Endpoints

Simple, well-documented endpoints for domain classification, bulk lookups, policy management, and log retrieval. All endpoints return JSON and support gzip compression.

Domain Lookup

Query a single domain to retrieve its categories, first-seen date, and classification details. Responses return in under 10ms from our global API edge network with caching at every PoP.

Bulk Classification

Submit up to 1,000 domains per request for batch classification. Results are returned in a single response with per-domain categories and scores. Ideal for processing log files and URL lists.

Streaming API

Subscribe to real-time classification updates via Server-Sent Events or WebSocket connections. Receive instant notifications when domains are recategorized, added to content risk lists, or newly classified.

Webhook Notifications

Configure webhooks to receive HTTP callbacks when specific events occur: new content filterings, category changes for watched domains, policy violations, or security incident alerts.

Policy Management

Programmatically create, update, and delete filtering policies via the API. Manage user assignments, category rules, allow/block lists, and time-based schedules without accessing the web portal.

Log Query API

Retrieve DNS query logs programmatically with filtering by date range, client IP, domain pattern, category, and action. Supports pagination for large result sets and concurrent export operations.

Quick Start Examples

Get up and running in minutes. Here are real request and response examples you can copy directly into your applications.

Request - Domain Lookup
GET /v2/domains/classify?domain=example.com
Host: api.dnsfilteringservice.com
Authorization: Bearer YOUR_API_KEY
Accept: application/json
Response
{
  "domain": "example.com",
  "categories": ["Technology", "Reference"],
  "risk_score": 2,
  "confidence": 0.97,
  "first_seen": "1995-08-14",
  "last_classified": "2026-04-09T14:22:00Z"
}
Python SDK
from dnsfilter import Client

client = Client(api_key="YOUR_API_KEY")

# Single lookup
result = client.classify("example.com")
print(result.categories)

# Bulk lookup
domains = ["a.com", "b.org", "c.net"]
results = client.classify_bulk(domains)
for r in results:
  print(f"{r.domain}: {r.categories}")
cURL - Bulk Request
curl -X POST \
  https://api.dnsfilteringservice.com/v2/domains/classify-bulk \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"domains": ["a.com", "b.org"]}'

Official SDK Support

Native SDKs handle authentication, retries, rate limit backoff, and response parsing so you can focus on building your application.

Python

pip install dnsfilter-sdk
Python 3.8+ with async support

Node.js

npm install @dnsfilter/sdk
ESM and CJS module support

Go

go get dnsfilter.com/sdk
Context-aware with connection pooling

Java

Maven Central artifact
Java 11+ with reactive streams

Authentication & Rate Limits

All API requests are authenticated using Bearer tokens included in the Authorization header. API keys can be generated and revoked from the management portal, and you can create multiple keys with different permission scopes for separate applications or environments.

Rate limits are applied per API key and vary by plan tier. The standard plan includes 1,000 requests per minute with burst capacity up to 5,000. Enterprise plans offer configurable rate limits up to 100,000 requests per minute with dedicated API infrastructure.

Rate limit headers (X-RateLimit-Remaining, X-RateLimit-Reset) are included in every response. Our SDKs handle rate limit backoff automatically with configurable retry strategies.

<10ms
Avg Response Time
99.99%
API Uptime
1,000
Bulk Domains/Request
100K
Max Req/Min (Ent.)

Start Building With Our API Today

Sign up for a free developer account with 10,000 monthly API calls included. Full documentation, interactive API explorer, and community support available immediately.

Get Free API Key Explore the Database