Skip to main content
Use Enigma through Corsair: one client, typed API calls. Create a key in the Enigma Console under API Keys. Every call goes to one GraphQL endpoint, https://api.enigma.com/graphql. Things to know before you query:
  • Read-only. All four operations are GraphQL queries; none of them writes or deletes anything at Enigma.
  • Matching, not search listings. brands.match and locations.match send the terms to Enigma’s resolver and return the single best match, or null when nothing clears the confidence bar. Narrow with address and raise matchThreshold (0.0 to 1.0) to reject weak matches.
  • prompt. brands.match accepts a natural-language business description instead of name, website or phone, but it cannot be combined with any of them or with address.
  • Paging. brands.get pages the brand’s operating locations with locationsFirst and the endCursor from the previous page’s pageInfo. legalEntitiesFirst sizes the legal entities list, which is not paged.
  • Card revenue costs credits. cardRevenue12m is the projected 12-month card revenue Enigma reports for the brand or location, in dollars. Enigma bills it per value returned (25 credits each on its price list as of November 2026), so brands.get with the default 10 locations can use about 275 credits in one call. Set locationsFirst lower when you only need the brand’s details. brands.match returns one value.
  • Rate limits. Limits are per plan, daily and monthly. Over the limit the API answers 429 with a Retry-After header; the plugin retries up to three times, honoring that header. A 402 means the account is out of credits and is not retried.
  • Webhooks. Enigma does not send webhooks to this plugin.
What you get:
  • 4 typed API operations

Setup

1

Install

2

Add the plugin

corsair.ts
Multi-tenancy is the default — scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

4

Connect a tenant

Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.

Example API calls

Match a brand by name and state
Read a brand detail by ID
See the full list on the API page.

What’s next

API reference

Every enigma.api.* operation with input and output types.

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.