Skip to main content
GET
Identify a transaction's merchant
Reads a bank statement line and returns the merchant behind it, or says it’s a person, transfer, fee, ATM withdrawal or refund. POST /transaction takes the same fields as a JSON body. 3 credits, 1 for a line looked up in the last 7 days, +10 with include_brand. Failed requests are never charged.

Guide: Card transactions

How lines are parsed and resolved, the response fields, and examples.

Authorizations

X-API-Key
string
header
required

Your Prefetch API key. Obtain one from the dashboard.

Query Parameters

descriptor
string
required

The transaction line as the bank statement or card network shows it (1–200 characters).

Example:

"SQ *BLUE BOTTLE COFFE OAKLAND CA"

country
string

Two-letter code of the country the card was used in. Helps tell local merchants apart.

Example:

"US"

mcc
string

The four-digit merchant category code, if your card data has it.

Example:

"5814"

include_brand
string

Also return the merchant's brand — logos, colors, fonts — exactly as GET /brand would, when its website is found. Adds the /brand price (10 credits), charged only when a brand is returned. Can take several seconds for a site not seen before. Pass "true".

Response

The merchant, or what else the line is.

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required