Company Logo API in Python: CBS News PNG URL

October 01, 2026
Company Logo API in Python: CBS News PNG URL

A company logo API in Python posts a website and reads a hosted PNG URL. On Klazify that is POST /api/domain_logo — form field url, not a JSON body. Official sample: https://www.cbsnews.com.

Starter is $39.99/mo (500 successful calls) with a 7-day trial. Failed / unreachable calls are not billed. Categorize / IAB stay on sibling paths. MCP tool klazify.domain_logo is on https://mcp.klazify.com (GET 405). Docs: klazify.com/api-docs.

Request: official CBS News URL

curl 'https://www.klazify.com/api/domain_logo' -X POST \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR_API_KEY' \
--data $'url=https://www.cbsnews.com' 

Python: same contract

import os, urllib.request
req = urllib.request.Request(
"https://www.klazify.com/api/domain_logo",
data=b"url=https://www.cbsnews.com",
headers={"Authorization": "Bearer " + os.environ["KLAZIFY_KEY"], "Accept": "application/json"},
)
print(urllib.request.urlopen(req).read().decode())

Response: official domain_logo sample (2022-12-19)

{
"domain": {
"domain_url": "https://cbsnews.com",
"logo_url": "https://klazify.s3.amazonaws.com/1213829753167146499563a088231a5a04.71607131.png",
"updated_at": "2022-12-19T15:49:57.000000Z"
},
"success": true
}

domain.logo_url may be empty. Do not hotlink the sample S3 path from this article.

Go live

1. Register — 7-day trial.

2. Copy the Bearer key.

3. POST /api/domain_logo with form url.

4. Render domain.logo_url when it is not empty.

Fetch a logo in Python →

Ready to use Klazify?

Start classifying websites, enriching company data, and exploring web intelligence.

Get Started Free