# Transaction Categorization {API}

Categorize and enrich any transaction with merchant data and brand assets.

Turn raw transaction strings into structured merchant data with names, logos, categories, and domains. Built for finance apps and fraud detection.

[Get API Access](https://www.context.dev/signup) No credit card required

[View Documentation](https://docs.context.dev/api-reference/retrieve-brand/identify-brand-from-transaction-data)

## What You Get

Each API call converts transaction text into structured brand data.

#### Company name

Clean, official business name

#### Domain & logo

Official website and high-res logo

#### Brand metadata

Colors, description, and social profiles

#### Category

Business classification and industry

## How It Works

We use advanced matching algorithms to identify merchants from transaction descriptions.

— step 01 —  
#### Send transaction text

Like GREGORYS COFFEE $9.99

— step 02 —  
#### String parsed

Token matching, BIN data, and payment processor mapping

— step 03 —  
#### Merchant matched

Known merchant database and pattern analysis

— step 04 —  
#### Brand returned

Complete business identity with domain, logo, and category

## API Response

Extracted brand data for Nespresso

`POST /v1/brand/transaction`

```json
{
  "brand": {
    "domain": "nespresso.com",
    "title": "Nespresso",
    "description": "World leader in coffee...",
    "colors": [{ "hex": "#8a8c92", "name": "Ancient Pewter" }],
    "logos": [{ "url": "https://media.context.dev/...", "mode": "light" }]
  }
}
```

## Ship an agent that actually knows things.

Free tier, 10-minute integration, and the same API powering agents at Mintlify, daily.dev, and Propane. No credit card to start.
