> ## Documentation Index
> Fetch the complete documentation index at: https://docs.facetflux.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FacetFlux API

> Enrich, classify, and export product data programmatically — or hand the whole toolset to an AI agent over MCP.

FacetFlux turns messy product catalogs into clean, classified, export-ready data. Everything you can do in the app you can do over the API: run a free catalog **diagnostic**, **enrich** products with AI, read your **catalog**, and generate **exports** in the formats your channels expect.

There are two ways in:

<CardGroup cols={2}>
  <Card title="REST API" icon="code" href="/quickstart">
    A JSON API over `https://app.facetflux.com`. Authenticate with a Bearer key and call the endpoints directly, or explore them in the interactive [API reference](/api-reference/introduction).
  </Card>

  <Card title="MCP server" icon="robot" href="/mcp">
    The full toolset as a Model Context Protocol server. Point Claude, Cursor, or your own agent at `https://app.facetflux.com/api/mcp` and it can read schemas, upsert products, and run imports on your behalf.
  </Card>
</CardGroup>

## What you can do

<CardGroup cols={2}>
  <Card title="Diagnostics" icon="stethoscope" href="/guides/diagnostics">
    Upload a catalog file and get a completeness report — fill rates, detected product types, and quality gaps. The first runs are free.
  </Card>

  <Card title="Enrichment" icon="wand-magic-sparkles" href="/guides/enrichment">
    Fill missing specs, normalize values, generate descriptions, and classify to ETIM and eCl\@ss — every value comes with a source.
  </Card>

  <Card title="Exports" icon="file-export" href="/guides/exports">
    Turn your catalog into BMEcat, CSV, or channel-specific formats through reusable export profiles.
  </Card>

  <Card title="Product catalog" icon="database" href="/guides/product-catalog">
    Read products, schemas, and attribute definitions to sync your enriched data back into your own systems.
  </Card>
</CardGroup>

## Before you start

You'll need a FacetFlux account and an API key. API access is available on any paid plan — see [pricing](https://facetflux.com/pricing). Head to [Quickstart](/quickstart) to make your first call in a couple of minutes.

<Note>
  New to FacetFlux? The [free catalog diagnostic](https://facetflux.com) is the fastest way to see what the platform finds in your data — no code required.
</Note>
