# Anthropic Models Count API Source: https://ofox.io/docs/api/anthropic/models-count Quickly get the total number of models available through the Anthropic protocol without fetching the full list. ## Endpoint ```http GET https://api.ofox.io/anthropic/v1/models/count ``` ## Request Examples **cURL** ```bash filename="Terminal" curl https://api.ofox.io/anthropic/v1/models/count ``` **Python** ```python filename="count.py" showLineNumbers import requests resp = requests.get("https://api.ofox.io/anthropic/v1/models/count") count = resp.json()["data"]["count"] print(f"Anthropic protocol available models: {count}") ``` **TypeScript** ```typescript filename="count.ts" showLineNumbers const resp = await fetch('https://api.ofox.io/anthropic/v1/models/count') const { data } = await resp.json() console.log(`Anthropic protocol available models: ${data.count}`) ``` ## Response Format ```json { "data": { "count": 26 } } ``` ## Response Fields | Field | Type | Description | |-------|------|-------------| | `data.count` | number | Total number of models available via Anthropic protocol |