# Company Logo Source Link Finder (`datalantern/company-logo-source-link`) Actor

Locate a logo URL that an authorized company page declares, with the source field and original reference. Returns links only.

- **URL**: https://apify.com/datalantern/company-logo-source-link.md
- **Developed by:** [Data Lantern](https://apify.com/datalantern) (community)
- **Categories:** Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 located logo source links

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Company Logo Source Link Finder

Submit an official webpage you are authorized to inspect. Get the declared logo file URL, the source page, the original attribute or JSON field and its location. The default example uses fictional HTML and makes no network requests.

For a live lookup, turn off the sample and submit final page URLs:

```json
{"authorized":true,"urls":["https://your-company.example/"]}
```

Replace the fictional hostname with your own. Each run accepts up to 25 URLs. Repeated inputs share one row with their original positions. If you provide two different pages or www aliases for the same host, choose one final page.

**Interpreting a result.** A located row identifies a reference declared by the website. The finder first checks an organization linked to the site's home page or its named publisher. If no declaration qualifies, it checks for an explicitly branded image in the header linked to the home page. A brand-only alt label also qualifies when the image or its home-link wrapper carries an exact logo, logo-link, site-logo or brand-logo class; the original marker is recorded. Structured declarations can link across trusted blocks on the same page. Conflicting image URLs give an ambiguous row with no selected URL; an unresolved owner reference is left blank rather than filled from the header. A favicon, social preview or partner image alone leaves the URL unresolved. The checker does not fetch the file or establish ownership, availability, image contents, or permission to copy or display the mark.

Only public HTML and robots.txt are requested. Redirects, restricted pages, private IPs, credential-bearing URLs, and query-based image links are excluded. Static JavaScript-generated logos, extensionless URLs, inline SVG, and some alternate-language or responsive headers can stay unresolved. Use a fresh run after interruption. One complete located result is eligible for one proposed event. Demo, unresolved, conflicting and skipped rows do not earn an event.

Sources defining the fields include [Schema.org logo](https://schema.org/logo) and [Organization structured data](https://developers.google.com/search/docs/appearance/structured-data/organization).

# Actor input Schema

## `sample` (type: `boolean`):

A fictional page demonstrates the result without external requests. Turn this off to supply URLs.

## `authorized` (type: `boolean`):

I have permission to inspect every official website submitted below.

## `urls` (type: `array`):

1–25 final public URLs, at most one page per host. Omit query parameters.

## Actor input object example

```json
{
  "sample": true,
  "authorized": false
}
```

# Actor output Schema

## `rows` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "sample": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("datalantern/company-logo-source-link").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "sample": True }

# Run the Actor and wait for it to finish
run = client.actor("datalantern/company-logo-source-link").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "sample": true
}' |
apify call datalantern/company-logo-source-link --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datalantern/company-logo-source-link"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Ofym6b5tSVPaDhfgl/builds/8TojZXAQ0nALufACf/openapi.json
