# SVG Icon Search: Iconify, SVGL, Simple Icons (`jet_elation/unified-svg-icons-and-brand-logos`) Actor

One query searches Iconify, SVGL, and Simple Icons, then returns ready-to-use SVG code, recolored SVGs, React TSX components, data URIs, and SPDX license signals.

- **URL**: https://apify.com/jet_elation/unified-svg-icons-and-brand-logos.md
- **Developed by:** [y u](https://apify.com/jet_elation) (community)
- **Categories:** Developer tools, AI, For creators
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 icon returneds

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/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

Search **Iconify**, **SVGL**, and **Simple Icons** in one request and receive production-ready **SVG icons and brand logos** for AI coding agents, frontend developers, and design systems. **SVG Icon Search: Iconify, SVGL, Simple Icons** returns raw SVG, recolored SVG, React/TSX components, UTF-8 data URIs, and license signals in one normalized JSON schema.

Send one query such as `stripe` from Cursor, Claude Code, an Apify Task, the Apify API, or the **Apify MCP Server**. No browser, Playwright, or proxy is required. The Actor uses plain Node.js HTTP requests with hard timeouts, controlled concurrency, and source-specific rate-limit handling.

**Apify Store:** [SVG Icon Search: Iconify, SVGL, Simple Icons](https://apify.com/jet_elation/unified-svg-icons-and-brand-logos)\
**MCP tool name:** `jet_elation--unified-svg-icons-and-brand-logos`

### What is the SVG Icon Search API?

This Actor is a unified search and SVG generation layer over three large open icon ecosystems:

- **Iconify:** 275,000+ UI icons across many collections, with per-collection SPDX licenses and authors.
- **SVGL:** 650+ technology and brand logos, fetched once from the SVGL catalog and filtered locally to respect the API's rate limit.
- **Simple Icons:** 3,300+ CC0 brand icons, with brand color and trademark notice data.

Every successful record includes an SVG source URL and the exact SVG code used. You can ask for a custom color, generated React TSX, and a data URI in the same run.

### Key features

- **One query, three catalogs:** UI icons and brand logos in one normalized dataset.
- **Copy-paste SVG:** cleaned SVG markup with a stable `viewBox`, `xmlns`, and no scripts or event handlers.
- **Recoloring:** hex, `currentColor`, CSS color names, `rgb()`, and `hsl()` support for monochrome SVGs.
- **Multi-color safety:** complex or gradient brand logos keep their original colors and include a `metadata.colorNote`.
- **React/TSX output:** optional ready-to-paste components with `className`, `fillRule`, `strokeWidth`, `strokeLinecap`, and other JSX-safe attributes.
- **Data URI output:** optional `data:image/svg+xml;utf8,...` strings for CSS and inline usage.
- **License intelligence:** SPDX IDs, source license URLs, authors, commercial-use flags, attribution requirements, and brand trademark notices.
- **MCP-first input:** `query` is the only required field; all other properties have defaults.
- **Pay-per-event:** one `icon-returned` charge per valid SVG record actually written to the dataset.
- **Resilient:** one failed source does not block results from the other catalogs; per-source status is written to `SUMMARY`.
- **Offline mock mode:** full SVG generation and PPE behavior can be tested with no network access.

### Sources and licenses

| Source | Content | License handling | SVG retrieval |
| --- | --- | --- | --- |
| **Iconify** | UI icons and some brand collections | License and author resolved from the Iconify `collections` metadata for each prefix | Direct Iconify SVG endpoint, with color query for eligible UI icons |
| **SVGL** | Brand and technology logos | SVGL catalog is MIT. Output uses `MIT (Brand trademarks belong to respective owners)` and `trademarkNotice: true` | Catalog fetched once per run; SVG files fetched with concurrency ≤ 3 |
| **Simple Icons** | Brand icons | CC0-1.0 by default, with per-icon license overrides when present; brand trademarks remain with their owners | Catalog fetched once; SVG fetched from jsDelivr CDN by slug |

#### SVGL rate limiting

`https://api.svgl.app` allows only five requests per ten seconds and can block an IP for three minutes after exceeding the limit. This Actor calls the catalog endpoint **once per run**, filters the returned array in memory by `title` and `category`, and then fetches SVG assets only for the top results. The catalog request is deliberately not retried.

#### Simple Icons catalog compatibility

Simple Icons currently serves a top-level JSON array at `_data/simple-icons.json`. The Actor supports both that format and the older `{ "icons": [...] }` shape, and falls back to `data/simple-icons.json` on HTTP 404. If a `slug` is absent, the package's lowercase alphanumeric slug convention is derived from the title (for example `C++` → `cplusplus`, `.NET` → `dotnet`).

#### License and trademark caveat

`commercialUseAllowed` is a conservative signal derived from the source license, not legal advice. Brand logos can be used only in ways permitted by their owners, regardless of the SVG catalog license. Review the source URL, license URL, and the owner's trademark guidelines before commercial publication.

### Input parameters

Only `query` is required.

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `query` | string | prefill: `stripe` | Icon or brand to search across the selected catalogs. |
| `sources` | array | `["iconify", "svgl", "simple-icons"]` | One or more catalogs: `iconify`, `svgl`, `simple-icons`. |
| `customColor` | string | unset | Optional color for monochrome SVGs: `#2563EB`, `currentColor`, a CSS color name, `rgb(...)`, or `hsl(...)`. |
| `includeReactComponent` | boolean | `true` | Generate a React/TypeScript component. |
| `includeDataUri` | boolean | `false` | Generate a UTF-8 SVG data URI. |
| `maxResults` | integer | `20` | Maximum output records, from 1 to 100. |
| `useMockData` | boolean | `false` | Use bundled offline fixtures instead of network calls. |

Example minimal MCP-friendly input:

```json
{
  "query": "stripe"
}
```

Example with code generation options:

```json
{
  "query": "stripe",
  "sources": ["iconify", "svgl", "simple-icons"],
  "customColor": "#2563EB",
  "includeReactComponent": true,
  "includeDataUri": true,
  "maxResults": 20
}
```

### Output format

One icon equals one dataset record.

```json
{
  "id": "iconify:mingcute:stripe-fill",
  "source": "iconify",
  "category": "ui-icon",
  "name": "stripe-fill",
  "collectionOrBrand": "MingCute Icon",
  "license": "Apache-2.0",
  "commercialUseAllowed": true,
  "trademarkNotice": false,
  "brandColorHex": null,
  "svgUrl": "https://api.iconify.design/mingcute/stripe-fill.svg?color=%232563EB",
  "svgCode": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M4 8h16M4 12h10M4 16h16\" stroke=\"#2563EB\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>",
  "reactTsxCode": "import type { SVGProps } from 'react';\n\nexport function StripeFillIcon(props: SVGProps<SVGSVGElement>) {\n    return (\n        <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" {...props}>\n            <path d=\"M4 8h16M4 12h10M4 16h16\" stroke=\"#2563EB\" strokeWidth=\"1.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\n        </svg>\n    );\n}\n",
  "dataUri": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M4%208h16M4%2012h10M4%2016h16%22%20stroke%3D%22%232563EB%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E",
  "metadata": {
    "authors": ["MingCute Design"],
    "licenseUrl": "https://github.com/Richard9394/MingCute/blob/main/LICENSE",
    "licenseTitle": "Apache 2.0",
    "spdxLicense": "Apache-2.0",
    "attributionRequired": true,
    "attributionText": "MingCute Icon — stripe-fill by MingCute Design, licensed under Apache-2.0. Source: Iconify.",
    "trademarkNoticeText": null,
    "sourceUrl": "https://icon-sets.iconify.design/mingcute/",
    "collectionPrefix": "mingcute",
    "colorReplacementApplied": true,
    "colorNote": null,
    "originalColorCount": 0
  }
}
```

`reactTsxCode` and `dataUri` are `null` when the corresponding generation option is disabled. `brandColorHex` is `null` when the catalog does not supply a brand color. Brand records include a trademark notice in `metadata.trademarkNoticeText`; Simple Icons records also expose the owner's guidelines URL when available.

#### SUMMARY record

The default key-value store contains a `SUMMARY` record with:

- per-source `success`, `partial`, `empty`, `error`, or `skipped` status,
- matched, returned, and error counts,
- catalog and SVG fetch failures,
- total returned and charged icons,
- budget-stop state,
- source attribution and notes.

### Use from AI coding agents with Apify MCP

Connect the Apify MCP Server and load this Actor as a focused tool:

```json
{
  "mcpServers": {
    "apify-unified-svg": {
      "type": "http",
      "url": "https://mcp.apify.com?tools=jet_elation/unified-svg-icons-and-brand-logos"
    }
  }
}
```

The hosted server uses OAuth by default. Clients without OAuth support can use a Bearer token:

```json
{
  "headers": {
    "Authorization": "Bearer YOUR_APIFY_TOKEN"
  }
}
```

**Example agent prompt:** “Get the Stripe logo as a React TSX component in the official brand color, plus the raw SVG and license.”

**Combined toolset:** [Jet Elation AI Tools](https://github.com/Matsuda681/jet-elation-ai-tools) — five Apify Actors in one MCP connection.

Minimal tool call:

```json
{
  "query": "stripe"
}
```

An agent can request all output formats in one call:

```json
{
  "query": "github",
  "customColor": "currentColor",
  "includeReactComponent": true,
  "includeDataUri": true,
  "maxResults": 5
}
```

The dataset schema, output schema, and per-record metadata make the result discoverable and directly usable by agents.

### Processing behavior

1. Iconify search returns icon IDs and collection metadata; the Actor joins each icon prefix to its SPDX license, author, and collection page before fetching SVG.
2. SVGL's catalog is downloaded once per run and filtered locally. SVG assets are fetched with a maximum concurrency of three.
3. Simple Icons' catalog is downloaded once per run. Individual SVGs are fetched from jsDelivr with concurrency five; 404s are skipped.
4. SVG input is trimmed, scripts/comments/event handlers are removed, and `xmlns` is ensured.
5. `customColor` is applied to monochrome fill/stroke attributes. If multiple explicit colors or gradients are detected, the original brand colors are preserved and a note is attached.
6. React TSX attributes are converted to JSX-safe camelCase and receive `{...props}` overrides.
7. Data URIs are percent-encoded UTF-8 SVG URIs.
8. A record is pushed and charged only after its SVG has been fetched and normalized successfully.

### Pricing (Pay-Per-Event)

The intended pricing event is documented in `.actor/pay_per_event.json`:

- Event: `icon-returned`
- Price: **$0.003 per valid icon record**
- Recommended minimum user spend limit: **$0.01**

The Actor writes a valid icon record first and then calls `Actor.charge({ eventName: 'icon-returned', count: 1 })`. Empty results, failed catalog calls, invalid records, SVG fetch failures, and filtered results are never charged. When `chargedCount` reaches zero or the event charge limit is reached, the Actor stops the loop, writes `SUMMARY`, and exits gracefully.

In Apify Console, enable the same event under **Publishing → Monetization**. Remove or zero the synthetic `apify-default-dataset-item` event if you do not want a second per-item charge. The optional `apify-actor-start` event can be kept according to your pricing strategy.

### Local development and testing

Requirements: Node.js 20 or newer for the Actor. Node.js 24 is recommended for the latest Apify CLI.

```bash
npm ci
npm run build
npm test
npx apify-cli@latest validate-schema
```

`npm test` runs 16 automated checks covering:

- MCP input defaults and unsafe color rejection,
- Simple Icons slug derivation,
- SPDX/commercial license analysis,
- monochrome recoloring and multi-color preservation,
- JSX attribute conversion and data URI generation,
- Iconify collection license/author mapping,
- SVGL string/object routes and catalog-once behavior,
- Simple Icons top-level-array catalog compatibility,
- SVG retrieval failure handling,
- pre-billing record validation,
- full Actor runs, PPE charging, budget stops, invalid input, and one-source outages.

Run the Actor offline with the bundled fixture:

```bash
npx apify-cli@latest run --input-file=./input.example.json
```

Test the PPE path locally:

```powershell
$env:ACTOR_TEST_PAY_PER_EVENT = "true"
npx apify-cli@latest run --input-file=./input.example.json
```

Bash:

```bash
ACTOR_TEST_PAY_PER_EVENT=true npx apify-cli@latest run --input-file=./input.example.json
```

Build the production image:

```bash
docker build -t unified-svg-icons-and-brand-logos .
```

### Deploy to Apify Store

1. `npx apify-cli@latest login`
2. `npx apify-cli@latest push`
3. Configure the Store title, SEO fields, categories, and 512 MB memory limit.
4. In **Publishing → Monetization**, add `icon-returned` from `.actor/pay_per_event.json`.
5. Set `icon-returned` as the primary event and configure the minimum spend limit.
6. Test with a small `maxResults`, then publish.

### FAQ

#### Does this Actor download files?

No. It fetches SVG text and returns it in the dataset. Logos remain subject to brand guidelines.

#### Why is a brand logo not recolored?

Multi-color and gradient logos are intentionally preserved to avoid destroying brand identity. Check `metadata.colorReplacementApplied` and `metadata.colorNote`.

#### Why do some Simple Icons entries return no SVG?

The catalog does not always include an explicit slug. The Actor derives the official-style slug, but a small number of special brand names can still produce a 404. Those entries are skipped and never charged.

#### Why does SVGL sometimes return fewer results?

SVGL is filtered locally from a single catalog fetch, and detail SVG retrieval is capped by `maxResults` and concurrency three. This avoids the 10-second/5-request API block.

#### Are brand logos safe for commercial use?

The SVG catalog license is only one part of the answer. Brand names and logos may be protected by trademark and brand guidelines. Review `trademarkNoticeText`, `metadata.sourceUrl`, and the owner's press kit before commercial use.

### Attribution

- **Iconify:** icons and collection metadata are provided by [Iconify](https://iconify.design/). Each record includes the collection license and author metadata.
- **SVGL:** logo catalog provided by [SVGL](https://svgl.app/). The catalog is MIT-licensed; brand trademarks belong to their respective owners.
- **Simple Icons:** icons provided by [Simple Icons](https://simpleicons.org/) under CC0-1.0. Brand trademarks belong to their respective owners.
- This Actor is not affiliated with Iconify, SVGL, Simple Icons, or any brand represented in their catalogs.

# Actor input Schema

## `query` (type: `string`):

Icon or brand to search for (for example: 'stripe', 'rocket', 'github', 'credit card'). Iconify uses its search API; SVGL and Simple Icons are filtered locally from their catalogs.

## `sources` (type: `array`):

Choose one or more icon catalogs. Iconify provides UI icons and collection licenses; SVGL provides brand logos under an MIT catalog license; Simple Icons provides CC0 brand icons with trademark notices.

## `customColor` (type: `string`):

Optional color applied to monochrome SVGs, such as '#2563EB' or 'currentColor'. Hex, currentColor, CSS color names, rgb(), and hsl() are accepted. Multi-color brand logos keep their original colors and include a color note in metadata.

## `includeReactComponent` (type: `boolean`):

Generate a ready-to-paste React/TypeScript component with JSX-safe camelCase attributes, className support, and SVGProps overrides.

## `includeDataUri` (type: `boolean`):

Generate a data:image/svg+xml;utf8,... URI from the final SVG code for inline CSS, img src, or agent-friendly embedding.

## `maxResults` (type: `integer`):

Maximum number of normalized icon records to write to the dataset, from 1 to 100. Only successfully fetched SVG records are emitted and charged.

## `useMockData` (type: `boolean`):

Use bundled API-shaped fixtures instead of network requests. Useful for offline testing, CI, and pay-per-event verification. SVG processing, record validation, dataset writes, and charging still run normally.

## Actor input object example

```json
{
  "query": "stripe",
  "sources": [
    "iconify",
    "svgl",
    "simple-icons"
  ],
  "customColor": "#2563EB",
  "includeReactComponent": true,
  "includeDataUri": false,
  "maxResults": 20,
  "useMockData": false
}
```

# Actor output Schema

## `icons` (type: `string`):

SVG source, optional React/data URI variants, and license metadata for each icon.

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

Per-source status, matched/returned counts, errors, billing totals, and attribution notes.

# 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 = {
    "query": "stripe"
};

// Run the Actor and wait for it to finish
const run = await client.actor("jet_elation/unified-svg-icons-and-brand-logos").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 = { "query": "stripe" }

# Run the Actor and wait for it to finish
run = client.actor("jet_elation/unified-svg-icons-and-brand-logos").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 '{
  "query": "stripe"
}' |
apify call jet_elation/unified-svg-icons-and-brand-logos --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jet_elation/unified-svg-icons-and-brand-logos"
        }
    }
}
```

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/WkTl6QuOrsyhg5SAk/builds/ISUBVOgKXWbSicv5M/openapi.json
