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
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
}PAYPAL *NETFLIX 4029357733
Netflix
✓ Verified cache{ } View API response
{
"descriptor": "PAYPAL *NETFLIX 4029357733",
"normalized": "NETFLIX",
"merchant": {
"id": "mer_01M4TMV772ZMACDZMVHM14VJH3",
"name": "Netflix",
"legal_name": null,
"website": "https://www.netflix.com",
"logo_url": "https://cdn.descriptorapi.com/logos/netflix-5a54a17a.png",
"category": "subscriptions_and_streaming",
"subcategory": "video_streaming",
"mcc": "4899"
},
"location": null,
"processor": "PayPal",
"is_subscription": true,
"confidence": 0.97,
"source": "cache",
"verified": true
}PHONEPE*ZOMATO GURUGRAM IN
Zomato
✓ Verified cache{ } View API response
{
"descriptor": "PHONEPE*ZOMATO GURUGRAM IN",
"normalized": "ZOMATO",
"merchant": {
"id": "mer_01M57DEHY4J6BGHYMNPH2SKFC7",
"name": "Zomato",
"legal_name": "Zomato Limited",
"website": "https://www.zomato.com",
"logo_url": "https://cdn.descriptorapi.com/logos/zomato-ecbd3345.png",
"category": "food_and_dining",
"subcategory": "food_delivery",
"mcc": "5812"
},
"location": {
"city": "Gurugram",
"country": "IN"
},
"processor": "PhonePe",
"is_subscription": false,
"confidence": 0.97,
"source": "cache",
"verified": true
}شراء كارفور الرياض
Carrefour
✓ Verified cache{ } View API response
{
"descriptor": "شراء كارفور الرياض",
"normalized": "كارفور",
"merchant": {
"id": "mer_01M4TNEWV2E3F49GFMW1K97SH0",
"name": "Carrefour",
"legal_name": null,
"website": "https://www.carrefour.com",
"logo_url": "https://cdn.descriptorapi.com/logos/carrefour-2fcf3be4.png",
"category": "groceries",
"subcategory": "supermarkets",
"mcc": "5411"
},
"location": {
"city": "Riyadh",
"country": "SA"
},
"processor": null,
"is_subscription": false,
"confidence": 0.97,
"source": "cache",
"verified": true
}GOPAY*GOJEK JAKARTA ID
Gojek
✓ Verified cache{ } View API response
{
"descriptor": "GOPAY*GOJEK JAKARTA ID",
"normalized": "GOJEK",
"merchant": {
"id": "mer_01M89EEFRBJ7MASDBV7P0DGS6M",
"name": "Gojek",
"legal_name": "PT GoTo Gojek Tokopedia Tbk",
"website": "https://www.gojek.com",
"logo_url": "https://cdn.descriptorapi.com/logos/gojek-a8c682e3.png",
"category": "transportation",
"subcategory": "ride_hailing",
"mcc": "4121"
},
"location": {
"city": "Jakarta",
"country": "ID"
},
"processor": "GoPay",
"is_subscription": false,
"confidence": 0.97,
"source": "cache",
"verified": true
}POS 4521 CAREEM*RIDE DXB AE
Careem
✓ Verified cache{ } View API response
{
"descriptor": "POS 4521 CAREEM*RIDE DXB AE",
"normalized": "CAREEM RIDE",
"merchant": {
"id": "mer_01M4TKG2681HHBYZWQE4FEQARK",
"name": "Careem",
"legal_name": "Careem Networks FZ LLC",
"website": "https://www.careem.com",
"logo_url": "https://cdn.descriptorapi.com/logos/careem-218be11e.png",
"category": "transportation",
"subcategory": "ride_hailing",
"mcc": "4121"
},
"location": {
"city": "Dubai",
"country": "AE"
},
"processor": null,
"is_subscription": false,
"confidence": 0.97,
"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.
- 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
-
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 Cache Seen this exact descriptor before? Answer from memory or the database.
- 2 Rules Exact, prefix and regex patterns for known merchants.
- 3 Fuzzy Trigram match against merchant names, for typos and truncation.
- 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"}'
body := strings.NewReader(`{"descriptor": "POS 4521 CAREEM*RIDE DXB AE", "country": "AE", "mcc": "4121"}`)
req, _ := http.NewRequest("POST", "https://api.descriptorapi.com/v1/enrich", body)
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer "+os.Getenv("DESCRIPTORAPI_KEY"))
resp, err := http.DefaultClient.Do(req)
const res = await fetch("https://api.descriptorapi.com/v1/enrich", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.DESCRIPTORAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({"descriptor": "POS 4521 CAREEM*RIDE DXB AE", "country": "AE", "mcc": "4121"}),
});
const data = await res.json();
import os, requests
res = requests.post(
"https://api.descriptorapi.com/v1/enrich",
headers={"Authorization": f"Bearer {os.environ['DESCRIPTORAPI_KEY']}"},
json={"descriptor": "POS 4521 CAREEM*RIDE DXB AE", "country": "AE", "mcc": "4121"},
timeout=10,
)
data = res.json()
$ch = curl_init("https://api.descriptorapi.com/v1/enrich");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => '{"descriptor": "POS 4521 CAREEM*RIDE DXB AE", "country": "AE", "mcc": "4121"}',
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('DESCRIPTORAPI_KEY'),
'Content-Type: application/json',
],
]);
$data = json_decode(curl_exec($ch), true);
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.
Verified merchants
verified: true means a person on our team approved the merchant record. AI suggestions stay unverified until they are reviewed.
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- Free 500 enrichments / month Free
- Starter 10,000 enrichments / month $29
- Growth 100,000 enrichments / month $199
- Enterprise Custom volume Talk to us
Decode your first descriptor in two minutes
Sign up, copy your key, send one request. Or try it right now without an account.