Nashboard Merchant Enrichment API

Normalize raw bank descriptors to merchant identity, category, and hierarchy.

GitHub OpenAPI

Operations 2

POST /v1/enrich/transaction Enrich a bank transaction descriptor #
POST /v1/enrich/bulk Enrich up to 100 transactions in a single request #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nashboard-ai:nashboard-ai-merchant-enrichment-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

nashboard-ai-merchant-enrichment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nashboard B2B Merchant Enrichment API
  version: '2026-06-13'
  description: 'The Nashboard B2B API provides merchant enrichment, receipt OCR, and self-service account management for fintech developers. Base URL: https://api.nashboard.ai. Interactive docs: https://api.nashboard.ai/docs.


    ## Data sources & attribution


    The merchant reference corpus is built exclusively from openly licensed data:


    - **Overture Maps Places** — © Overture Maps Foundation and its data contributors. Licensed under CDLA Permissive 2.0 (only the CDLA-Permissive-2.0 subset is ingested).

    - **Foursquare Open Source Places (FSQ OS Places)** — © Foursquare. Licensed under the Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0).

    - **Wikidata** — released under CC0 1.0.

    - **AllThePlaces** and **GLEIF LEI** — released under CC0 1.0.


    No OpenStreetMap/ODbL or other share-alike data is included in API responses — share-alike rows are filtered out at the source-license layer, so API output is redistributable.'
  contact:
    url: https://nashboard.ai
    email: api@nashboard.ai
servers:
- url: https://api.nashboard.ai
security:
- apiKeyBearer: []
- apiKeyHeader: []
tags:
- name: Merchant Enrichment
  description: Normalize raw bank descriptors to merchant identity, category, and hierarchy.
paths:
  /v1/enrich/transaction:
    post:
      operationId: enrichTransaction
      tags:
      - Merchant Enrichment
      summary: Enrich a bank transaction descriptor
      description: 'Required scope: `enrich:transaction`. Returns a normalized merchant identity, category, hierarchy, and rail signals. Send descriptors as-is: bank-statement scaffolding (PSP prefixes, channel markers, store numbers, trailing city/country tokens) is stripped server-side before retrieval — client-side pre-cleaning is unnecessary. Descriptors in non-Latin scripts (Arabic, Persian, Cyrillic, Turkish) are matched natively without transliteration. Use `?debug=1` with the `enrich:debug` scope to surface internal scoring fields (rank_gap, nb_extensions) — silently ignored without the scope.'
      parameters:
      - $ref: '#/components/parameters/NashboardVersion'
      - name: debug
        in: query
        required: false
        schema:
          type: string
          enum:
          - '1'
        description: Surface debug fields (rank_gap, nb_extensions). Requires `enrich:debug` scope; silently ignored otherwise.
      - name: taxonomy
        in: query
        required: false
        schema:
          type: string
          enum:
          - consumer_v2026.05
          - mcc
          - naics_2022
          - isic_rev5
          - nace_rev21
          - uk_sic_2026
          - anzsic_2006
          - pfc_v2
          default: consumer_v2026.05
        description: Taxonomy system for the category field.
      - name: X-Idempotency-Key
        in: header
        required: false
        schema:
          type: string
          maxLength: 128
        description: Optional idempotency key (max 128 chars).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransactionInput'
      responses:
        '200':
          description: Enriched result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnrichResponse'
        '400':
          description: Bad request (invalid JSON, invalid ID, invalid cursor, etc.)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, malformed, or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope or scope escalation attempt.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (e.g. email already taken).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Request body too large.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '415':
          description: Unsupported media type.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Request body failed schema validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited, quota exceeded, or DP budget exhausted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: Upstream dependency error (e.g. receipt image storage unavailable — code storage_failure).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/enrich/bulk:
    post:
      operationId: enrichBulk
      tags:
      - Merchant Enrichment
      summary: Enrich up to 100 transactions in a single request
      description: 'Required scope: `enrich:transaction`. AI fallback is forced OFF for bulk (retrieval-grade only). Billed per successful item. Partial failures do not roll back successes. Retry failed items individually via POST /v1/enrich/transaction (which supports X-Idempotency-Key).'
      parameters:
      - $ref: '#/components/parameters/NashboardVersion'
      - name: debug
        in: query
        required: false
        schema:
          type: string
          enum:
          - '1'
        description: Surface debug fields. Requires `enrich:debug` scope.
      - name: taxonomy
        in: query
        required: false
        schema:
          type: string
          enum:
          - consumer_v2026.05
          - mcc
          - naics_2022
          - isic_rev5
          - nace_rev21
          - uk_sic_2026
          - anzsic_2006
          - pfc_v2
          default: consumer_v2026.05
        description: Taxonomy system applied to all items.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkEnrichRequest'
      responses:
        '200':
          description: Per-item results and summary. Partial failures do not fail the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkEnrichResponse'
        '400':
          description: Bad request (invalid JSON, invalid ID, invalid cursor, etc.)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, malformed, or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope or scope escalation attempt.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (e.g. email already taken).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Request body too large.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '415':
          description: Unsupported media type.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Request body failed schema validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited, quota exceeded, or DP budget exhausted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: Upstream dependency error (e.g. receipt image storage unavailable — code storage_failure).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    BulkEnrichRequest:
      type: object
      required:
      - items
      properties:
        items:
          type: array
          minItems: 1
          maxItems: 100
          items:
            $ref: '#/components/schemas/TransactionInput'
      additionalProperties: false
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              enum:
              - missing_api_key
              - malformed_api_key
              - invalid_api_key
              - api_key_revoked
              - api_key_expired
              - insufficient_scope
              - scope_escalation
              - unsupported_version
              - rate_limited
              - quota_exceeded
              - dp_budget_exhausted
              - validation_failed
              - invalid_json
              - invalid_id
              - invalid_cursor
              - invalid_multipart
              - payload_too_large
              - unsupported_media_type
              - not_found
              - email_taken
              - internal_error
              - storage_failure
              description: Machine-readable error code.
            message:
              type: string
              description: Human-readable explanation.
            details:
              type: array
              description: Per-field validation errors (validation_failed only).
              items:
                type: object
                required:
                - path
                - message
                properties:
                  path:
                    type: string
                  message:
                    type: string
                additionalProperties: false
          additionalProperties: false
      additionalProperties: false
    BulkEnrichResponse:
      type: object
      required:
      - results
      - summary
      properties:
        results:
          type: array
          items:
            oneOf:
            - type: object
              required:
              - index
              - status
              - result
              properties:
                index:
                  type: integer
                  minimum: 0
                status:
                  type: string
                  enum:
                  - ok
                result:
                  $ref: '#/components/schemas/EnrichResponse'
              additionalProperties: false
            - type: object
              required:
              - index
              - status
              - error_code
              - message
              properties:
                index:
                  type: integer
                  minimum: 0
                status:
                  type: string
                  enum:
                  - error
                error_code:
                  type: string
                message:
                  type: string
              additionalProperties: false
        summary:
          type: object
          required:
          - total
          - ok
          - error
          properties:
            total:
              type: integer
            ok:
              type: integer
            error:
              type: integer
          additionalProperties: false
      additionalProperties: false
    EnrichResponse:
      type: object
      required:
      - request_id
      - match_score
      - match_method
      - ai_generated
      - counterparties
      - is_recurring
      - homoglyph_detected
      - ai_confidence
      - latency_ms
      properties:
        request_id:
          type: string
          format: uuid
        merchant_id:
          type: string
          nullable: true
          format: uuid
          description: Matched merchant ID, or null on no-match.
        merchant:
          type: object
          nullable: true
          description: Resolved merchant object (null on no-match). Carries additional hierarchy/standards fields not all enumerated here.
          properties:
            name:
              type: string
            name_localized:
              type: object
              additionalProperties:
                type: string
              nullable: true
              description: Localized display names keyed by locale (e.g. en, ar, ru).
            logo_url:
              type: string
              nullable: true
            confidence_tier:
              type: integer
          additionalProperties: true
        match_score:
          type: number
          minimum: 0
          maximum: 1
          description: Customer-facing retrieval confidence 0-1. Distinct from ai_confidence.
        match_method:
          type: string
          description: How the match was determined (e.g. exact, fuzzy, ai_haiku, ai_sonnet, no_match).
        ai_generated:
          type: boolean
          description: True only when the AI disambiguation step produced/altered the returned match (EU AI Act Art. 50).
        ai_confidence:
          type: number
          nullable: true
          description: AI self-reported confidence 0-1 when AI fired; null otherwise.
        counterparties:
          type: array
          description: Rail-aware counterparty provenance (e.g. BNPL chains).
          items:
            type: object
            additionalProperties: true
        is_recurring:
          type: boolean
          description: True when the merchant has a known subscription pattern.
        recurrence:
          type: object
          nullable: true
          description: Recurrence cadence details; null when is_recurring is false.
          additionalProperties: true
        homoglyph_detected:
          type: boolean
          description: 'Fraud signal: true when the descriptor mixes lookalike scripts (e.g. Cyrillic+Latin).'
        latency_ms:
          type: integer
          description: Server-side pipeline latency in ms.
        cache_hit:
          type: boolean
        category:
          type: object
          description: Taxonomy classification result.
          additionalProperties: true
        hierarchy:
          type: object
          nullable: true
          description: Brand → operator → location hierarchy.
          additionalProperties: true
        alternates:
          type: array
          description: Top-N alternate merchant candidates.
          items:
            type: object
            properties:
              merchant_id:
                type: string
                format: uuid
              name:
                type: string
              confidence:
                type: number
            additionalProperties: true
      additionalProperties: true
      description: W5a flat EnrichResponse. additionalProperties:true — fields such as merchant{}, hierarchy, bin_signal, debug fields (rank_gap, nb_extensions) are present but not fully closed in this schema.
    TransactionInput:
      type: object
      required:
      - raw_descriptor
      properties:
        raw_descriptor:
          type: string
          minLength: 1
          maxLength: 200
          description: Raw bank transaction descriptor string. Send it exactly as it appears on the statement — do not pre-clean. PSP prefixes (e.g. "PAYPAL *", "SQ *", "TST*"), POS channel markers ("POS DEBIT", "CHECKCARD"), store numbers, and trailing city/country tokens are unwrapped server-side before matching. Non-Latin descriptors (Arabic, Persian, Cyrillic, Turkish) are matched natively in-script — no transliteration needed.
        amount_minor:
          type: integer
          minimum: 0
          description: Transaction amount in minor currency units (e.g. cents).
        currency_code:
          type: string
          pattern: ^[A-Z]{3}$
          description: ISO 4217 currency code (e.g. USD).
        date_hint:
          type: string
          pattern: ^\d{4}-\d{2}-\d{2}$
          description: Transaction date hint (YYYY-MM-DD).
        country_hint:
          type: string
          pattern: ^[A-Z]{2}$
          description: ISO 3166-1 alpha-2 country hint.
        user_locale:
          type: string
          maxLength: 35
          description: BCP 47 locale tag (e.g. en-US).
      additionalProperties: false
  parameters:
    NashboardVersion:
      name: X-Nashboard-Version
      in: header
      required: false
      schema:
        type: string
        enum:
        - '2026-06-13'
        default: '2026-06-13'
      description: API version pin (ISO date). Absent → latest. Unknown or future → 400 unsupported_version. The X-Amouen-Version header name is still accepted as a deprecated alias; when both are present, X-Nashboard-Version takes precedence.
  securitySchemes:
    apiKeyBearer:
      type: http
      scheme: bearer
      description: 'API key as a Bearer token: `Authorization: Bearer nsh_live_...`'
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'API key as a custom header: `X-API-Key: nsh_live_...`'