websitecategorization / websitecategorizationapi
Website categorization API
Package info
github.com/optimiser4/websitecategorizationapi
pkg:composer/websitecategorization/websitecategorizationapi
Requires
None
Requires (Dev)
None
Suggests
- aiagentallowlist/aiagentallowlist: AI Agent Allowlist: per-URL allow/deny verdicts for web-browsing AI agents
- aitoolsblocklist/aitoolsblocklist: AI Tools Blocklist: 20,000+ AI-tool domains in 18 categories, refreshed daily
- shadowaitools/shadowaitools: Shadow AI Tools: detect AI tool usage from DNS, proxy and firewall exports
- urlcategorizationdatabase/urlcategorizationdatabase: URL Categorization Database: 120M+ domains with IAB tier 1 and tier 2 categories
- webfilteringdatabase/webfilteringdatabase: Web Filtering Database: 120M+ domains in 59 web filtering categories
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-20 02:16:56 UTC
README
PHP client for the Website Categorization API, which classifies websites and texts into IAB content taxonomy categories using machine learning.
Usage
See websitecategorization/websitecategorizationapi/index.php for a working cURL example that posts a URL to the classification endpoint and prints the JSON response.
$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://www.websitecategorizationapi.com/api/iab/iab_category1_url.php', CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS => 'query=www.microsoft.com&data_type=url', CURLOPT_RETURNTRANSFER => true, )); $response = curl_exec($curl); curl_close($curl); echo $response;
Our other services
We also provide a resume parsing API, the Resume Reader API turns PDF and DOCX resumes into structured JSON (work history, education, skills, contact data) for HR platforms and applicant tracking systems.
Text sent to a categorization endpoint from forms, tickets, or CRM records often includes customer identifiers that should never leave your perimeter unredacted. With a personally identifiable information detection service you can locate and mask names, emails, IBANs, and phone numbers in PHP applications with a single API call. Running PII redaction before any third-party processing is one of the simplest GDPR safeguards to retrofit into an existing codebase.
PHP backends that orchestrate AI agents need a fast answer to one question: is this URL safe for the agent to open? A page-type lookup API returns each domain's verified login, checkout, pricing, and documentation URLs so your code can enforce allow/deny rules before navigation. Adding AI agent web access control is one HTTP call per decision.
Related packages
- npm: websitecategorization, aiblocklist, shadowaitools, aiagentallowlist, phishingdetectionapi, webfilteringdatabase.
- PyPI: websiteclassificationapi, aiblocklist, shadowaitools, aiagentallowlist.
- Data: the AI domain blocklist (20,000+ AI-tool domains, 18 categories), the AI agent allow list (verified page-type URLs across 40 million+ domains) and shadow AI detection from a DNS, proxy or firewall export.
- Source: github.com/explainableaixai, gitlab.com/url-classifications.