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

# Quickstart

> Get started with TinyFn in under a minute

## 1. Get your API key

<Card title="Sign up for free" icon="key" href="https://tinyfn.io/#signup">
  Create an account and get your API key instantly. No credit card required.
</Card>

## 2. Make your first request

<CodeGroup>
  ```bash cURL theme={null}
  curl "https://api.tinyfn.io/v1/generate/uuid" \
    -H "X-API-Key: YOUR_API_KEY"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://api.tinyfn.io/v1/generate/uuid', {
    headers: { 'X-API-Key': 'YOUR_API_KEY' }
  });
  const data = await response.json();
  console.log(data.uuid);
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://api.tinyfn.io/v1/generate/uuid',
      headers={'X-API-Key': 'YOUR_API_KEY'}
  )
  print(response.json()['uuid'])
  ```

  ```go Go theme={null}
  req, _ := http.NewRequest("GET", "https://api.tinyfn.io/v1/generate/uuid", nil)
  req.Header.Set("X-API-Key", "YOUR_API_KEY")
  resp, _ := http.DefaultClient.Do(req)
  ```
</CodeGroup>

## 3. Get your response

```json theme={null}
{
  "uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "version": 4,
  "variant": "RFC 4122"
}
```

## Try more endpoints

<CardGroup cols={2}>
  <Card title="Validate an email" icon="envelope">
    ```bash theme={null}
    curl "https://api.tinyfn.io/v1/validate/email?email=test@example.com"
    ```
  </Card>

  <Card title="Generate a password" icon="lock">
    ```bash theme={null}
    curl "https://api.tinyfn.io/v1/generate/password?length=16"
    ```
  </Card>

  <Card title="Hash a string" icon="hashtag">
    ```bash theme={null}
    curl "https://api.tinyfn.io/v1/hash/sha256?text=hello"
    ```
  </Card>

  <Card title="Get a dad joke" icon="face-laugh">
    ```bash theme={null}
    curl "https://api.tinyfn.io/v1/fun/dad-joke"
    ```
  </Card>
</CardGroup>

## Next steps

<CardGroup cols={2}>
  <Card title="Authentication" icon="shield" href="/docs/authentication">
    Learn about API keys and authentication
  </Card>

  <Card title="API Reference" icon="code" href="/docs/api-reference">
    Browse all 500+ endpoints
  </Card>
</CardGroup>
