KosmoKrator

data

Brandfetch CLI for AI Agents

Use the Brandfetch CLI from KosmoKrator to call Brandfetch tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

Brandfetch CLI Setup

Brandfetch can be configured headlessly with `kosmokrator integrations:configure brandfetch`.

Install, configure, and verify
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure brandfetch --enable --read allow --write ask --json
kosmokrator integrations:doctor brandfetch --json
kosmokrator integrations:status --json

Credentials

Authentication type: Bearer token bearer_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

KeyEnv varTypeRequiredLabel
access_token BRANDFETCH_ACCESS_TOKEN Secret secret no Brand API Token
client_id BRANDFETCH_CLIENT_ID Secret secret no Client ID
url BRANDFETCH_URL URL url no API Base URL
cdn_url BRANDFETCH_CDN_URL URL url no Logo CDN URL

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call brandfetch.brandfetch_get_brand '{}' --json
Provider shortcut
kosmo integrations:brandfetch brandfetch_get_brand '{}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs brandfetch --json
kosmo integrations:docs brandfetch.brandfetch_get_brand --json
kosmo integrations:schema brandfetch.brandfetch_get_brand --json
kosmo integrations:search "Brandfetch" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

brandfetch.brandfetch_get_brand

Get brand data by generic identifier.

Read read
Parameters
none
Generic call
kosmo integrations:call brandfetch.brandfetch_get_brand '{}' --json
Shortcut
kosmo integrations:brandfetch brandfetch_get_brand '{}' --json

brandfetch.brandfetch_get_brand_by_domain

Get brand data by explicit domain route.

Read read
Parameters
none
Generic call
kosmo integrations:call brandfetch.brandfetch_get_brand_by_domain '{}' --json
Shortcut
kosmo integrations:brandfetch brandfetch_get_brand_by_domain '{}' --json

brandfetch.brandfetch_get_brand_by_ticker

Get brand data by explicit ticker route.

Read read
Parameters
none
Generic call
kosmo integrations:call brandfetch.brandfetch_get_brand_by_ticker '{}' --json
Shortcut
kosmo integrations:brandfetch brandfetch_get_brand_by_ticker '{}' --json

brandfetch.brandfetch_get_brand_by_isin

Get brand data by explicit ISIN route.

Read read
Parameters
none
Generic call
kosmo integrations:call brandfetch.brandfetch_get_brand_by_isin '{}' --json
Shortcut
kosmo integrations:brandfetch brandfetch_get_brand_by_isin '{}' --json

brandfetch.brandfetch_get_brand_by_crypto

Get brand data by explicit crypto route.

Read read
Parameters
none
Generic call
kosmo integrations:call brandfetch.brandfetch_get_brand_by_crypto '{}' --json
Shortcut
kosmo integrations:brandfetch brandfetch_get_brand_by_crypto '{}' --json

brandfetch.brandfetch_search_brands

Search brands by name or domain.

Read read
Parameters
none
Generic call
kosmo integrations:call brandfetch.brandfetch_search_brands '{}' --json
Shortcut
kosmo integrations:brandfetch brandfetch_search_brands '{}' --json

brandfetch.brandfetch_enrich_transaction

Turn raw payment transaction text into merchant brand data.

Write write
Parameters
none
Generic call
kosmo integrations:call brandfetch.brandfetch_enrich_transaction '{}' --json
Shortcut
kosmo integrations:brandfetch brandfetch_enrich_transaction '{}' --json

brandfetch.brandfetch_logo_url

Build a Logo API CDN URL with transformations.

Read read
Parameters
none
Generic call
kosmo integrations:call brandfetch.brandfetch_logo_url '{}' --json
Shortcut
kosmo integrations:brandfetch brandfetch_logo_url '{}' --json

brandfetch.brandfetch_list_logos

Fetch a brand and return logos.

Read read
Parameters
none
Generic call
kosmo integrations:call brandfetch.brandfetch_list_logos '{}' --json
Shortcut
kosmo integrations:brandfetch brandfetch_list_logos '{}' --json

brandfetch.brandfetch_list_colors

Fetch a brand and return colors.

Read read
Parameters
none
Generic call
kosmo integrations:call brandfetch.brandfetch_list_colors '{}' --json
Shortcut
kosmo integrations:brandfetch brandfetch_list_colors '{}' --json

brandfetch.brandfetch_list_fonts

Fetch a brand and return fonts.

Read read
Parameters
none
Generic call
kosmo integrations:call brandfetch.brandfetch_list_fonts '{}' --json
Shortcut
kosmo integrations:brandfetch brandfetch_list_fonts '{}' --json

brandfetch.brandfetch_get_current_user

Verify Brand API credentials with the Brandfetch test brand.

Read read
Parameters
none
Generic call
kosmo integrations:call brandfetch.brandfetch_get_current_user '{}' --json
Shortcut
kosmo integrations:brandfetch brandfetch_get_current_user '{}' --json

brandfetch.brandfetch_api_get

Call a safe relative Brandfetch API path with GET.

Read read
Parameters
none
Generic call
kosmo integrations:call brandfetch.brandfetch_api_get '{}' --json
Shortcut
kosmo integrations:brandfetch brandfetch_api_get '{}' --json

brandfetch.brandfetch_api_post

Call a safe relative Brandfetch API path with POST.

Write write
Parameters
none
Generic call
kosmo integrations:call brandfetch.brandfetch_api_post '{}' --json
Shortcut
kosmo integrations:brandfetch brandfetch_api_post '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

brandfetch.brandfetch_get_brand 0 parameters
Schema command
kosmo integrations:schema brandfetch.brandfetch_get_brand --json
ParameterTypeRequiredDescription
No parameters.
brandfetch.brandfetch_get_brand_by_domain 0 parameters
Schema command
kosmo integrations:schema brandfetch.brandfetch_get_brand_by_domain --json
ParameterTypeRequiredDescription
No parameters.
brandfetch.brandfetch_get_brand_by_ticker 0 parameters
Schema command
kosmo integrations:schema brandfetch.brandfetch_get_brand_by_ticker --json
ParameterTypeRequiredDescription
No parameters.
brandfetch.brandfetch_get_brand_by_isin 0 parameters
Schema command
kosmo integrations:schema brandfetch.brandfetch_get_brand_by_isin --json
ParameterTypeRequiredDescription
No parameters.
brandfetch.brandfetch_get_brand_by_crypto 0 parameters
Schema command
kosmo integrations:schema brandfetch.brandfetch_get_brand_by_crypto --json
ParameterTypeRequiredDescription
No parameters.
brandfetch.brandfetch_search_brands 0 parameters
Schema command
kosmo integrations:schema brandfetch.brandfetch_search_brands --json
ParameterTypeRequiredDescription
No parameters.
brandfetch.brandfetch_enrich_transaction 0 parameters
Schema command
kosmo integrations:schema brandfetch.brandfetch_enrich_transaction --json
ParameterTypeRequiredDescription
No parameters.
brandfetch.brandfetch_logo_url 0 parameters
Schema command
kosmo integrations:schema brandfetch.brandfetch_logo_url --json
ParameterTypeRequiredDescription
No parameters.
brandfetch.brandfetch_list_logos 0 parameters
Schema command
kosmo integrations:schema brandfetch.brandfetch_list_logos --json
ParameterTypeRequiredDescription
No parameters.
brandfetch.brandfetch_list_colors 0 parameters
Schema command
kosmo integrations:schema brandfetch.brandfetch_list_colors --json
ParameterTypeRequiredDescription
No parameters.
brandfetch.brandfetch_list_fonts 0 parameters
Schema command
kosmo integrations:schema brandfetch.brandfetch_list_fonts --json
ParameterTypeRequiredDescription
No parameters.
brandfetch.brandfetch_get_current_user 0 parameters
Schema command
kosmo integrations:schema brandfetch.brandfetch_get_current_user --json
ParameterTypeRequiredDescription
No parameters.
brandfetch.brandfetch_api_get 0 parameters
Schema command
kosmo integrations:schema brandfetch.brandfetch_api_get --json
ParameterTypeRequiredDescription
No parameters.
brandfetch.brandfetch_api_post 0 parameters
Schema command
kosmo integrations:schema brandfetch.brandfetch_api_post --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.