This is the Postman walkthrough for the Website Categorization API on Zyla API Hub. Postman is optional: the contract is still HTTP. Auth is Authorization: Bearer YOUR_API_KEY. Subscription + quota, not pay-per-call. First API: 7-day trial or 50 requests. No Free Plan.
Get a key at zylalabs.com/register, subscribe to the listing, then import the curls.
URL request in Postman
New → HTTP. Method POST. URL = the Hub URL path. Authorization → Bearer Token = your Hub key. Body → x-www-form-urlencoded → key url, value https://yahoo.com (the documented example). Do not add other keys.
curl -s -X POST "https://zylalabs.com/api/12/website-categorization-api/48/url" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "url=https://yahoo.com"
In Postman, Import → Raw text → paste that curl. Send. You should see success: true and a domain.categories array.
Stored Hub example for https://yahoo.com:
{
"domain": {
"categories": [
{"confidence": 0.8140320181846619, "name": "/Internet & Telecom/Other", "IAB19-18": "Internet Technology"},
{"confidence": 0.28268808126449585, "name": "/News/Other", "IAB12": "News"},
{"confidence": 0.24724437296390533, "name": "/Internet & Telecom/Search Engines/Other", "IAB19-35": "Web Search"}
],
"social_media": {
"facebook_url": "https://facebook.com/YahooNews",
"instagram_url": "https://instagram.com/yahoonews"
}
},
"success": true
}
Assert on domain.categories[0].name = /Internet & Telecom/Other if you are checking this fixture.
Email request
Duplicate the request. Change the URL to the email path. Replace the body key with email = [email protected].
curl -s -X POST "https://zylalabs.com/api/12/website-categorization-api/1989/email" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "[email protected]"
Stored Hub example:
{
"domain": {
"categories": [
{"confidence": 0.9019761085510254, "name": "/Internet & Telecom/Email & Messaging/Email"}
],
"social_media": null
},
"success": true
}
What to save in the collection
Two requests, one environment variable for the Bearer token. Do not store a real key in the collection JSON you share. MCP for agents is https://mcp.zylalabs.com/mcp — Postman stays on the REST paths above.
Go live
1. Register — 7-day trial on your first Hub API.
2. Subscribe to the Website Categorization API.
3. Import the URL curl, then the email curl. Same Bearer on both.