{
  "service": "brandfetch",
  "displayName": "Brandfetch",
  "categories": [
    "Design & Media",
    "Marketing"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "BRANDFETCH_API_KEY",
      "description": "Brandfetch API key sent as a Bearer token. Create or view it in the Brandfetch developer dashboard: https://developers.brandfetch.com.",
      "extraFields": []
    }
  ],
  "homepageUrl": "https://brandfetch.com",
  "actions": [
    {
      "id": "brandfetch.get_brand",
      "service": "brandfetch",
      "name": "get_brand",
      "description": "Fetch a Brandfetch brand profile from a domain, Brand ID, ISIN, or stock ticker identifier.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "minLength": 1,
            "description": "The identifier to look up, such as a domain, Brand ID, ISIN, or stock ticker."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for fetching a Brandfetch brand profile."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Brandfetch brand identifier."
          },
          "urn": {
            "type": "string",
            "description": "The Brandfetch URN for the brand profile."
          },
          "name": {
            "anyOf": [
              {
                "type": "string",
                "description": "The canonical brand name."
              },
              {
                "type": "null"
              }
            ]
          },
          "domain": {
            "type": "string",
            "description": "The primary brand domain."
          },
          "claimed": {
            "type": "boolean",
            "description": "Whether the brand profile is claimed on Brandfetch."
          },
          "description": {
            "anyOf": [
              {
                "type": "string",
                "description": "The short brand description."
              },
              {
                "type": "null"
              }
            ]
          },
          "longDescription": {
            "anyOf": [
              {
                "type": "string",
                "description": "The long-form brand description."
              },
              {
                "type": "null"
              }
            ]
          },
          "qualityScore": {
            "type": "number",
            "description": "The Brandfetch quality score for the brand."
          },
          "isNsfw": {
            "type": "boolean",
            "description": "Whether the brand profile is flagged as NSFW."
          },
          "logos": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "description": "The logo type, such as `icon` or `logo`."
                },
                "theme": {
                  "type": "string",
                  "description": "The logo theme, such as `dark` or `light`."
                },
                "formats": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "src": {
                        "type": "string",
                        "description": "The source URL for the asset format."
                      },
                      "format": {
                        "type": "string",
                        "description": "The asset file format, such as `svg` or `png`."
                      },
                      "width": {
                        "type": "number",
                        "description": "The asset width in pixels."
                      },
                      "height": {
                        "type": "number",
                        "description": "The asset height in pixels."
                      },
                      "size": {
                        "type": "number",
                        "description": "The asset size in bytes."
                      },
                      "background": {
                        "type": "string",
                        "description": "The background hint returned for the asset."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "src",
                      "format"
                    ],
                    "description": "One asset format returned by Brandfetch."
                  },
                  "description": "The available logo formats."
                }
              },
              "additionalProperties": false,
              "required": [
                "type",
                "formats"
              ],
              "description": "One logo variant returned by Brandfetch."
            },
            "description": "The logos returned by Brandfetch."
          },
          "colors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "hex": {
                  "type": "string",
                  "description": "The HEX color value."
                },
                "type": {
                  "type": "string",
                  "description": "The color role returned by Brandfetch."
                },
                "brightness": {
                  "type": "number",
                  "description": "The brightness score returned by Brandfetch."
                }
              },
              "additionalProperties": false,
              "required": [
                "hex",
                "type"
              ],
              "description": "One brand color returned by Brandfetch."
            },
            "description": "The brand colors."
          },
          "fonts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "The font name."
                },
                "type": {
                  "type": "string",
                  "description": "The font usage type, such as `title` or `body`."
                },
                "origin": {
                  "type": "string",
                  "description": "The font origin system."
                },
                "originId": {
                  "type": "string",
                  "description": "The font origin identifier."
                }
              },
              "additionalProperties": false,
              "required": [
                "type"
              ],
              "description": "One font descriptor returned by Brandfetch."
            },
            "description": "The brand fonts."
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "description": "The image type returned by Brandfetch."
                },
                "formats": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "src": {
                        "type": "string",
                        "description": "The source URL for the asset format."
                      },
                      "format": {
                        "type": "string",
                        "description": "The asset file format, such as `svg` or `png`."
                      },
                      "width": {
                        "type": "number",
                        "description": "The asset width in pixels."
                      },
                      "height": {
                        "type": "number",
                        "description": "The asset height in pixels."
                      },
                      "size": {
                        "type": "number",
                        "description": "The asset size in bytes."
                      },
                      "background": {
                        "type": "string",
                        "description": "The background hint returned for the asset."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "src",
                      "format"
                    ],
                    "description": "One asset format returned by Brandfetch."
                  },
                  "description": "The available image formats."
                }
              },
              "additionalProperties": false,
              "description": "One brand image variant returned by Brandfetch."
            },
            "description": "The brand images."
          },
          "links": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "The social or link target name."
                },
                "url": {
                  "type": "string",
                  "description": "The linked URL."
                }
              },
              "additionalProperties": false,
              "description": "One external link returned by Brandfetch."
            },
            "description": "The external links for the brand."
          },
          "company": {
            "type": "object",
            "additionalProperties": {
              "description": "Any company metadata value returned by Brandfetch."
            },
            "description": "The company metadata block returned by Brandfetch."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Brandfetch brand profile."
      }
    },
    {
      "id": "brandfetch.get_transaction_info",
      "service": "brandfetch",
      "name": "get_transaction_info",
      "description": "Resolve a raw transaction label into the corresponding Brandfetch merchant brand profile.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "transactionLabel": {
            "type": "string",
            "minLength": 1,
            "description": "The raw merchant label from a payment or card statement."
          },
          "countryCode": {
            "type": "string",
            "minLength": 2,
            "maxLength": 2,
            "description": "The ISO 3166-1 alpha-2 country code for the transaction."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for resolving Brandfetch transaction information."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Brandfetch brand identifier."
          },
          "urn": {
            "type": "string",
            "description": "The Brandfetch URN for the brand profile."
          },
          "name": {
            "anyOf": [
              {
                "type": "string",
                "description": "The canonical brand name."
              },
              {
                "type": "null"
              }
            ]
          },
          "domain": {
            "type": "string",
            "description": "The primary brand domain."
          },
          "claimed": {
            "type": "boolean",
            "description": "Whether the brand profile is claimed on Brandfetch."
          },
          "description": {
            "anyOf": [
              {
                "type": "string",
                "description": "The short brand description."
              },
              {
                "type": "null"
              }
            ]
          },
          "longDescription": {
            "anyOf": [
              {
                "type": "string",
                "description": "The long-form brand description."
              },
              {
                "type": "null"
              }
            ]
          },
          "qualityScore": {
            "type": "number",
            "description": "The Brandfetch quality score for the brand."
          },
          "isNsfw": {
            "type": "boolean",
            "description": "Whether the brand profile is flagged as NSFW."
          },
          "logos": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "description": "The logo type, such as `icon` or `logo`."
                },
                "theme": {
                  "type": "string",
                  "description": "The logo theme, such as `dark` or `light`."
                },
                "formats": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "src": {
                        "type": "string",
                        "description": "The source URL for the asset format."
                      },
                      "format": {
                        "type": "string",
                        "description": "The asset file format, such as `svg` or `png`."
                      },
                      "width": {
                        "type": "number",
                        "description": "The asset width in pixels."
                      },
                      "height": {
                        "type": "number",
                        "description": "The asset height in pixels."
                      },
                      "size": {
                        "type": "number",
                        "description": "The asset size in bytes."
                      },
                      "background": {
                        "type": "string",
                        "description": "The background hint returned for the asset."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "src",
                      "format"
                    ],
                    "description": "One asset format returned by Brandfetch."
                  },
                  "description": "The available logo formats."
                }
              },
              "additionalProperties": false,
              "required": [
                "type",
                "formats"
              ],
              "description": "One logo variant returned by Brandfetch."
            },
            "description": "The logos returned by Brandfetch."
          },
          "colors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "hex": {
                  "type": "string",
                  "description": "The HEX color value."
                },
                "type": {
                  "type": "string",
                  "description": "The color role returned by Brandfetch."
                },
                "brightness": {
                  "type": "number",
                  "description": "The brightness score returned by Brandfetch."
                }
              },
              "additionalProperties": false,
              "required": [
                "hex",
                "type"
              ],
              "description": "One brand color returned by Brandfetch."
            },
            "description": "The brand colors."
          },
          "fonts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "The font name."
                },
                "type": {
                  "type": "string",
                  "description": "The font usage type, such as `title` or `body`."
                },
                "origin": {
                  "type": "string",
                  "description": "The font origin system."
                },
                "originId": {
                  "type": "string",
                  "description": "The font origin identifier."
                }
              },
              "additionalProperties": false,
              "required": [
                "type"
              ],
              "description": "One font descriptor returned by Brandfetch."
            },
            "description": "The brand fonts."
          },
          "images": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "description": "The image type returned by Brandfetch."
                },
                "formats": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "src": {
                        "type": "string",
                        "description": "The source URL for the asset format."
                      },
                      "format": {
                        "type": "string",
                        "description": "The asset file format, such as `svg` or `png`."
                      },
                      "width": {
                        "type": "number",
                        "description": "The asset width in pixels."
                      },
                      "height": {
                        "type": "number",
                        "description": "The asset height in pixels."
                      },
                      "size": {
                        "type": "number",
                        "description": "The asset size in bytes."
                      },
                      "background": {
                        "type": "string",
                        "description": "The background hint returned for the asset."
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "src",
                      "format"
                    ],
                    "description": "One asset format returned by Brandfetch."
                  },
                  "description": "The available image formats."
                }
              },
              "additionalProperties": false,
              "description": "One brand image variant returned by Brandfetch."
            },
            "description": "The brand images."
          },
          "links": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "The social or link target name."
                },
                "url": {
                  "type": "string",
                  "description": "The linked URL."
                }
              },
              "additionalProperties": false,
              "description": "One external link returned by Brandfetch."
            },
            "description": "The external links for the brand."
          },
          "company": {
            "type": "object",
            "additionalProperties": {
              "description": "Any company metadata value returned by Brandfetch."
            },
            "description": "The company metadata block returned by Brandfetch."
          }
        },
        "additionalProperties": false,
        "description": "The normalized Brandfetch brand profile."
      }
    }
  ]
}
