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

# API documentation

> Access documentation for the API products linked to your account, or browse public Sanctions and Chainabuse documentation.

export const DocsAccessStatus = () => {
  const [session, setSession] = useState('unknown');
  useEffect(() => {
    const update = () => setSession(window.trmReadDocsSession?.() || 'unknown');
    window.addEventListener('trm:docs-session', update);
    update();
    return () => window.removeEventListener('trm:docs-session', update);
  }, []);
  return <div className="trm-docs-access-status">
      {session === 'signed-in' ? <>
          <p><strong>You are signed in.</strong></p>
          <p>Choose your product from the API selector above the sidebar. Only documentation available to your account is shown.</p>
        </> : <>
          <p>Log in to access documentation for the API products linked to your account and include it in search and assistant answers.</p>
          <p><a className="trm-docs-primary" href="/login?redirect=/api-reference">Log in to API docs</a></p>
          <p>Already signed in? Choose your product from the API selector above the sidebar.</p>
        </>}
    </div>;
};

## Your API documentation

<DocsAccessStatus />

## Search and assistant answers

The AI assistant answers based on the documentation you have access to, including documentation for the API products linked to your account.

## Public documentation

These documentation sets are available without logging in:

<CardGroup cols={2}>
  <Card title="Sanctions API" icon="shield-check" href="/guides/sanctions/introduction">
    Read the public Sanctions API documentation.
  </Card>

  <Card title="Chainabuse API" icon="link" href="/guides/chainabuse/welcome-to-chainabuse-api">
    Read the public Chainabuse API documentation.
  </Card>
</CardGroup>
