MCC Explorer

API & Database

API DocsMCP
MCC Explorer
MCC CodesBlogGuidesPricingAPI DocsPrivacyTerms

© 2026 MCC Explorer

    MCC Explorer

    API & Database

    API DocsMCP

    API Documentation

    Complete reference for the MCC Explorer API

    Getting Started

    The MCC Explorer API provides programmatic access to merchant category codes and merchant mappings. Use it to categorize transactions, build financial tools, and enhance your fintech applications.

    Base URL
    https://mccexplorer.com/api/v2.1
    Authentication
    All API requests require an API key. Include it in the request headers.
    Authentication Headers
    # Option 1: x-api-key header
    curl -H "x-api-key: mcc_your_api_key_here" ...
    
    # Option 2: Authorization header
    curl -H "Authorization: Bearer mcc_your_api_key_here" ...

    Get your API key from the API Dashboard.

    Rate Limits & Features by Tier

    FeatureFreeProEnterprise
    MCC Codes List
    Categories & Descriptions
    MCC Details & Merchant Details
    Merchant Mappings
    Merchant Lookup
    Vote Counts & Confidence Scores
    Merchant Aliases
    Monthly Requests50050,000500,000
    Rate Limit10/min100/min1,000/min

    Endpoints

    GET/api/v2.1/mcc-codesfree
    List MCC Codes
    Retrieve a paginated list of all MCC codes with optional filtering.

    Parameters

    NameTypeRequiredDescription
    categorystringOptionalFilter by category name (partial match)
    searchstringOptionalSearch across code, description, and category
    includestringOptionalSet to 'merchants' to include merchant mappings (Pro+)
    limitnumberOptionalNumber of results (default: 50, max: 100)
    offsetnumberOptionalPagination offset (default: 0)

    Example Request

    Request
    curl -X GET "https://mccexplorer.com/api/v2.1/mcc-codes?category=Retail&limit=10" \
      -H "x-api-key: mcc_your_api_key_here"

    Example Response

    Response
    {
      "data": [
        {
          "mcc_code": "5411",
          "category": "Grocery Stores",
          "description": "Grocery Stores, Supermarkets"
        },
        {
          "mcc_code": "5412",
          "category": "Grocery Stores",
          "description": "Convenience Stores"
        }
      ],
      "meta": {
        "total": 1038,
        "limit": 10,
        "offset": 0,
        "has_more": true
      }
    }
    GET/api/v2.1/mcc-codes/:codefree
    Get MCC Code
    Retrieve a single MCC code by its code number.

    Parameters

    NameTypeRequiredDescription
    codestringRequiredThe MCC code (e.g., '5411')
    includestringOptionalSet to 'merchants' to include merchant mappings (Pro+)

    Example Request

    Request
    curl -X GET "https://mccexplorer.com/api/v2.1/mcc-codes/5411?include=merchants" \
      -H "x-api-key: mcc_your_api_key_here"

    Example Response

    Response
    {
      "data": {
        "mcc_code": "5411",
        "category": "Grocery Stores",
        "description": "Grocery Stores, Supermarkets",
        "mcc_details": "Used for grocery and supermarket purchases...",
        "merchant_count": 45,
        "merchants": [
          {
            "name": "Walmart",
            "is_primary": true,
            "vote_count": 127,
            "confidence_score": 0.95,
            "aliases": ["WAL-MART", "WALMART.COM"]
          },
          {
            "name": "Costco",
            "is_primary": true,
            "vote_count": 98,
            "confidence_score": 0.92
          }
        ]
      }
    }
    GET/api/v2.1/lookuppro
    Merchant Lookup
    Look up MCC codes by merchant name. Perfect for transaction categorization.

    Parameters

    NameTypeRequiredDescription
    merchantstringRequiredMerchant name to search (min 2 characters)

    Example Request

    Request
    curl -X GET "https://mccexplorer.com/api/v2.1/lookup?merchant=amazon" \
      -H "x-api-key: mcc_your_api_key_here"

    Example Response

    Response
    {
      "data": {
        "query": "amazon",
        "match_count": 3,
        "matches": [
          {
            "merchant": "Amazon",
            "mcc_code": "5942",
            "category": "Book Stores",
            "description": "Book Stores",
            "is_primary": true,
            "confidence": 0.95,
            "vote_count": 234,
            "aliases": ["AMZN MKTP", "AMAZON.COM"]
          },
          {
            "merchant": "Amazon Web Services",
            "mcc_code": "7372",
            "category": "Computer Programming",
            "description": "Computer Programming, Data Processing",
            "is_primary": true,
            "confidence": 0.92
          }
        ]
      }
    }

    Error Codes

    Status CodeDescription
    200Success
    400Bad Request - Invalid parameters
    401Unauthorized - Invalid or missing API key
    403Forbidden - Feature not available in your tier
    404Not Found - Resource doesn't exist
    429Rate Limit Exceeded - Too many requests
    500Internal Server Error

    Ready to Get Started?

    Create a free account and get your API key in seconds.

    MCC Explorer
    MCC CodesBlogGuidesPricingAPI DocsPrivacyTerms

    © 2026 MCC Explorer