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

# Authentication

> How to authenticate with the FieldFunded API

## API Key Authentication

All API requests require an `X-API-Key` header with your API key.

```bash theme={null}
curl -X GET "https://api.fieldfunded.com/v1/sports" \
  -H "X-API-Key: YOUR_API_KEY"
```

> [!WARNING]
>
> Never expose your API key in client-side code or public repositories. Always use server-side requests or environment variables.

## Getting your API key

1. Visit [docs.fieldfunded.com](https://docs.fieldfunded.com)
2. Click **Get API Key**
3. Fill in your details and expected request volume
4. We respond within **24 hours** with your dedicated key

## Error responses

| Status Code | Description |
| - | - |
| `401` | Missing or invalid API key |
| `403` | API key doesn't have access to this resource |
| `429` | Rate limit exceeded |

> [card] [Quick Start Guide](https://docs.fieldfunded.com/quickstart.md)
>
> Get your API key and make your first call in 5 minutes

> [card] [SDK Reference](https://docs.fieldfunded.com/sdk.md)
>
> TypeScript SDK handles authentication automatically

> [card] [Error Handling](https://docs.fieldfunded.com/errors.md)
>
> Full error codes and handling patterns

> [card] [Rate Limits](https://docs.fieldfunded.com/rate-limits.md)
>
> Understanding request quotas and burst limits


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.