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 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.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
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.
kosmo integrations:call brandfetch.brandfetch_get_brand '{}' --json 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.
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 - Parameters
- none
kosmo integrations:call brandfetch.brandfetch_get_brand '{}' --json kosmo integrations:brandfetch brandfetch_get_brand '{}' --json brandfetch.brandfetch_get_brand_by_domain
Get brand data by explicit domain route.
read - Parameters
- none
kosmo integrations:call brandfetch.brandfetch_get_brand_by_domain '{}' --json kosmo integrations:brandfetch brandfetch_get_brand_by_domain '{}' --json brandfetch.brandfetch_get_brand_by_ticker
Get brand data by explicit ticker route.
read - Parameters
- none
kosmo integrations:call brandfetch.brandfetch_get_brand_by_ticker '{}' --json kosmo integrations:brandfetch brandfetch_get_brand_by_ticker '{}' --json brandfetch.brandfetch_get_brand_by_isin
Get brand data by explicit ISIN route.
read - Parameters
- none
kosmo integrations:call brandfetch.brandfetch_get_brand_by_isin '{}' --json kosmo integrations:brandfetch brandfetch_get_brand_by_isin '{}' --json brandfetch.brandfetch_get_brand_by_crypto
Get brand data by explicit crypto route.
read - Parameters
- none
kosmo integrations:call brandfetch.brandfetch_get_brand_by_crypto '{}' --json kosmo integrations:brandfetch brandfetch_get_brand_by_crypto '{}' --json brandfetch.brandfetch_search_brands
Search brands by name or domain.
read - Parameters
- none
kosmo integrations:call brandfetch.brandfetch_search_brands '{}' --json kosmo integrations:brandfetch brandfetch_search_brands '{}' --json brandfetch.brandfetch_enrich_transaction
Turn raw payment transaction text into merchant brand data.
write - Parameters
- none
kosmo integrations:call brandfetch.brandfetch_enrich_transaction '{}' --json kosmo integrations:brandfetch brandfetch_enrich_transaction '{}' --json brandfetch.brandfetch_logo_url
Build a Logo API CDN URL with transformations.
read - Parameters
- none
kosmo integrations:call brandfetch.brandfetch_logo_url '{}' --json kosmo integrations:brandfetch brandfetch_logo_url '{}' --json brandfetch.brandfetch_list_logos
Fetch a brand and return logos.
read - Parameters
- none
kosmo integrations:call brandfetch.brandfetch_list_logos '{}' --json kosmo integrations:brandfetch brandfetch_list_logos '{}' --json brandfetch.brandfetch_get_logo
Legacy logo URL helper.
read - Parameters
- none
kosmo integrations:call brandfetch.brandfetch_get_logo '{}' --json kosmo integrations:brandfetch brandfetch_get_logo '{}' --json brandfetch.brandfetch_list_colors
Fetch a brand and return colors.
read - Parameters
- none
kosmo integrations:call brandfetch.brandfetch_list_colors '{}' --json kosmo integrations:brandfetch brandfetch_list_colors '{}' --json brandfetch.brandfetch_list_fonts
Fetch a brand and return fonts.
read - Parameters
- none
kosmo integrations:call brandfetch.brandfetch_list_fonts '{}' --json kosmo integrations:brandfetch brandfetch_list_fonts '{}' --json brandfetch.brandfetch_get_current_user
Verify Brand API credentials with the Brandfetch test brand.
read - Parameters
- none
kosmo integrations:call brandfetch.brandfetch_get_current_user '{}' --json kosmo integrations:brandfetch brandfetch_get_current_user '{}' --json brandfetch.brandfetch_api_get
Call a safe relative Brandfetch API path with GET.
read - Parameters
- none
kosmo integrations:call brandfetch.brandfetch_api_get '{}' --json kosmo integrations:brandfetch brandfetch_api_get '{}' --json brandfetch.brandfetch_api_post
Call a safe relative Brandfetch API path with POST.
write - Parameters
- none
kosmo integrations:call brandfetch.brandfetch_api_post '{}' --json 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
kosmo integrations:schema brandfetch.brandfetch_get_brand --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
brandfetch.brandfetch_get_brand_by_domain 0 parameters
kosmo integrations:schema brandfetch.brandfetch_get_brand_by_domain --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
brandfetch.brandfetch_get_brand_by_ticker 0 parameters
kosmo integrations:schema brandfetch.brandfetch_get_brand_by_ticker --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
brandfetch.brandfetch_get_brand_by_isin 0 parameters
kosmo integrations:schema brandfetch.brandfetch_get_brand_by_isin --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
brandfetch.brandfetch_get_brand_by_crypto 0 parameters
kosmo integrations:schema brandfetch.brandfetch_get_brand_by_crypto --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
brandfetch.brandfetch_search_brands 0 parameters
kosmo integrations:schema brandfetch.brandfetch_search_brands --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
brandfetch.brandfetch_enrich_transaction 0 parameters
kosmo integrations:schema brandfetch.brandfetch_enrich_transaction --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
brandfetch.brandfetch_logo_url 0 parameters
kosmo integrations:schema brandfetch.brandfetch_logo_url --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
brandfetch.brandfetch_list_logos 0 parameters
kosmo integrations:schema brandfetch.brandfetch_list_logos --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
brandfetch.brandfetch_get_logo 0 parameters
kosmo integrations:schema brandfetch.brandfetch_get_logo --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
brandfetch.brandfetch_list_colors 0 parameters
kosmo integrations:schema brandfetch.brandfetch_list_colors --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
brandfetch.brandfetch_list_fonts 0 parameters
kosmo integrations:schema brandfetch.brandfetch_list_fonts --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
brandfetch.brandfetch_get_current_user 0 parameters
kosmo integrations:schema brandfetch.brandfetch_get_current_user --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
brandfetch.brandfetch_api_get 0 parameters
kosmo integrations:schema brandfetch.brandfetch_api_get --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
brandfetch.brandfetch_api_post 0 parameters
kosmo integrations:schema brandfetch.brandfetch_api_post --json | Parameter | Type | Required | Description |
|---|---|---|---|
| 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.