# LLM Answers Models API Documentation

Read the current model catalog from the live service, never from a fixed list. engine=chatgpt (default) returns model ids with title, description, token limit and capabilities, plus the default model. engine=perplexity returns every model id with label, provider and mode, plus the default model per mode. Use an id as the model parameter of the answer endpoint.

- **Documentation:** [https://scrappa.co/docs/llm-answers-api/llm_answers_models](https://scrappa.co/docs/llm-answers-api/llm_answers_models)
- **API group:** LLM Answers API
- **Endpoint:** `GET https://scrappa.co/api/llm-answers/models`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `engine` | string | No | chatgpt (default) or perplexity. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/llm-answers/models?engine=chatgpt"
```

## Example response

```json
{
    "success": true,
    "data": {
        "engine": "chatgpt",
        "default_model": "auto",
        "models": [
            {
                "slug": "gpt-6",
                "title": "GPT-6",
                "max_tokens": 34834
            }
        ]
    },
    "meta": {
        "duration_ms": 900
    }
}
```

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
