AMZN*MKTP US) and returns:
titleanddomain: clean company name and domainlogos: SVG/PNG variants in light, dark, and on-background modescolors: hex codes of colors from the merchant’s logoindustries.eic: industry + subindustry classificationstock: ticker and exchange for publicly traded merchants- And more:
socials,address,links,description,slogan
mcc, city, country_gl, or phone.
Integrate Context.dev's Transaction Enrichment in your app
Prerequisites
-
A Context.dev API key. Sign up at context.dev/signup, copy the key from the dashboard (prefix
ctxt_secret_), and export it: -
An SDK (optional). Install for your language, or skip the install and call directly with
curl:
Identify a transaction
POST /brand/retrieve takes a raw descriptor in transaction_info and resolves it to a merchant brand. Pass MCC and geography hints when you have them: they collapse ambiguity sharply on small or regional merchants.
Request Parameters
Response
Handle errors
A fallback pattern that surfaces 400 as a “no match” outcome instead of an exception:
Use cases
- Personal finance apps: show actual company logos and clean names for every merchant and subscription.
- Reconcile employee expense reports automatically: match messy expense entries to clean company names, logos, and categories.
Next steps
Prefetch for Faster Response
Hide cold-hit latency from your users.
Handle Rate Limits
Backoff strategies, client cache, and prefetch fallbacks.
Best Practices
Caching, error handling, and key hygiene.
Troubleshooting
Status codes, retry patterns, and common errors.