Skip to content
DescriptorAPI

Merchant enrichment API

Turn messy card descriptors into clean merchant data

One API call turns a raw statement line into a merchant name, category, website, location and payment processor, with a confidence score. Works with statements from any country, Arabic script included.

No signup to try. Then 500 free enrichments a month, no credit card. Read the docs

Statement line

SQ *BLUE BOTTLE COFFEE OAKLAND CA

{ } View API response
{
  "descriptor": "SQ *BLUE BOTTLE COFFEE OAKLAND CA",
  "normalized": "BLUE BOTTLE COFFEE",
  "merchant": {
    "id": "mer_01M6TEFK3M0EV7WTA1F9MXT05B",
    "name": "Blue Bottle Coffee",
    "legal_name": "Blue Bottle Coffee, Inc.",
    "website": "https://bluebottlecoffee.com",
    "logo_url": "https://cdn.descriptorapi.com/logos/blue-bottle-coffee-258750bd.png",
    "category": "food_and_dining",
    "subcategory": "cafes",
    "mcc": "5814"
  },
  "location": {
    "city": "Oakland",
    "country": "US"
  },
  "processor": "Square",
  "is_subscription": false,
  "confidence": 0.9,
  "source": "cache",
  "verified": true
}

Before and after

Your users see this. They should see this.

Eight transactions from one card used around the world, as the bank prints them and as your app can show them. The decoded side is live output from the API.

Card statementOctober
  • 12 Oct UBER *TRIP HELP.UBER.COM USD 18.40
  • 12 Oct TESCO STORES 3271 LONDON GB GBP 23.10
  • 11 Oct PAYPAL *SPOTIFY 4029357733 EUR 10.99
  • 11 Oct REWE SAGT DANKE 4410 BERLIN EUR 46.20
  • 10 Oct STARBUCKS 07214 TOKYO JP JPY 680
  • 09 Oct POS 4521 CAREEM*RIDE DXB AE AED 37.20
  • 08 Oct كارفور الرياض SAR 342.15
  • 08 Oct OXXO SUC 1234 GUADALAJARA MX MXN 189.00
In your applive
  • Uber Transportation USD 18.40
  • Tesco Groceries · London GBP 23.10
  • Spotify Subscriptions & streaming · via PayPal EUR 10.99
  • REWE Groceries · Berlin EUR 46.20
  • Starbucks Food & dining · Tokyo JPY 680
  • Careem Transportation · Dubai AED 37.20
  • Carrefour Groceries · Riyadh SAR 342.15
  • OXXO Groceries · Guadalajara MXN 189.00

How it works

Four steps, cheapest first

Every descriptor falls through the same sieve. Most stop at the first step; the AI only sees descriptors nothing else could answer, and its answer is cached so the same line never costs twice.

  1. 1 Cache Seen this exact descriptor before? Answer from memory or the database.
  2. 2 Rules Exact, prefix and regex patterns for known merchants.
  3. 3 Fuzzy Trigram match against merchant names, for typos and truncation.
  4. 4 AI Only for descriptors never seen before. The answer is cached and reviewed.

Lit up: the step that answered the example in the Decoder above.

Places read in 252 countries · 2,431 cities

Reads statements the way they are written

Airport codes, English spellings and Arabic names all resolve to the same city. Payment processors and wallets are detected and peeled off, so the merchant underneath is what gets matched. These numbers are where we can read a place in a line; merchants are matched against the ones we know, and the AI suggests the rest.

  • NYC · NEW YORK New York, US
  • LON · LONDON London, GB
  • DXB · DUBAI · دبي Dubai, AE
  • BOM · MUMBAI Mumbai, IN
  • GRU · SAO PAULO São Paulo, BR
  • PARIS Paris, FR
  • RUH · RIYADH · الرياض Riyadh, SA
  • TOKYO Tokyo, JP
  • LAGOS Lagos, NG
  • LUDWIGSBURG Ludwigsburg, DE
  • NLU · MEXICO CITY Mexico City, MX
  • CAI · CAIRO · القاهرة Cairo, EG
  • SAN FRANCISCO San Francisco, US
  • BIRMINGHAM Birmingham, GB
  • AUH · ABU DHABI · ابوظبي Abu Dhabi, AE
  • NOIDA Noida, IN

Processors and wallets we detect

  • PayPal
  • Stripe
  • Square
  • Apple Pay
  • Google Pay
  • Klarna
  • SumUp
  • Mercado Pago
  • PhonePe
  • Alipay
  • GoPay
  • M-Pesa
  • Paystack
  • Tabby
  • and 209 more

For developers

One request. One clean answer.

JSON in, JSON out, from any language. Send the descriptor and, if you have it, the card country; get back the merchant and how sure we are.

curl https://api.descriptorapi.com/v1/enrich \
  -X POST \
  -H "Authorization: Bearer $DESCRIPTORAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"descriptor": "POS 4521 CAREEM*RIDE DXB AE", "country": "AE", "mcc": "4121"}'

Response · 200 OK

{
  "descriptor": "SQ *BLUE BOTTLE COFFEE OAKLAND CA",
  "normalized": "BLUE BOTTLE COFFEE",
  "merchant": {
    "id": "mer_01M6TEFK3M0EV7WTA1F9MXT05B",
    "name": "Blue Bottle Coffee",
    "legal_name": "Blue Bottle Coffee, Inc.",
    "website": "https://bluebottlecoffee.com",
    "logo_url": "https://cdn.descriptorapi.com/logos/blue-bottle-coffee-258750bd.png",
    "category": "food_and_dining",
    "subcategory": "cafes",
    "mcc": "5814"
  },
  "location": {
    "city": "Oakland",
    "country": "US"
  },
  "processor": "Square",
  "is_subscription": false,
  "confidence": 0.9,
  "source": "cache",
  "verified": true
}

In every response

Answers you can act on

Confidence scores

Every answer says how sure it is, from 0 to 1. Show high-confidence matches straight away and route the rest to review.

0.97confidence 0.78confidence 0.42confidence

Verified merchants

verified: true means a person on our team approved the merchant record. AI suggestions stay unverified until they are reviewed.

✓ VerifiedUnverifiedai

Arabic, natively

Arabic-script and mixed descriptors are normalized, matched against Arabic merchant names and returned with the same clean fields.

شراء كارفور الرياض

Batch endpoint

Send up to 100 descriptors in one call. Results come back in order, and one bad line never fails the rest.

POST /v1/enrich/batch

Private by design

We need the descriptor, never the cardholder. Amounts are not stored, person-to-person transfers are never cached, and we do not train models on your data.

Fast where it counts

Descriptors we have seen before are answered from memory. Only lines nobody has sent before go further down the pipeline.

Start free, grow when you need to

Compare plans

Decode your first descriptor in two minutes

Sign up, copy your key, send one request. Or try it right now without an account.