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

# Quickstart

> Create an API key and make your first Nylon request.

## Before you begin

You need a Nylon account with at least one connected social profile.

1. Open [Connections](https://app.nylon.dev/connections) and connect a profile.
2. Open [API keys](https://app.nylon.dev/api).
3. Select **Create key**, give the key a recognizable name, and copy it.

<Warning>
  Nylon only displays a newly created API key once. Store it in your secret manager and never commit it to source control.
</Warning>

## Make your first request

Request the social profiles connected to your Nylon account:

<CodeGroup>
  ```bash cURL theme={null}
  curl "https://api.nylon.dev/v1/profiles" \
    -H "Authorization: Bearer nylon_live_YOUR_API_KEY"
  ```

  ```js Node.js theme={null}
  const response = await fetch('https://api.nylon.dev/v1/profiles', {
    headers: {
      Authorization: 'Bearer nylon_live_YOUR_API_KEY',
    },
  })

  if (!response.ok) {
    throw new Error(`Nylon request failed: ${response.status}`)
  }

  const { data } = await response.json()
  console.log(data)
  ```

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

  response = requests.get(
      'https://api.nylon.dev/v1/profiles',
      headers={'Authorization': 'Bearer nylon_live_YOUR_API_KEY'},
  )
  response.raise_for_status()

  print(response.json()['data'])
  ```
</CodeGroup>

## Example response

```json theme={null}
{
  "data": [
    {
      "id": "profile_01k4nylon",
      "network": "instagram",
      "name": "Nylon Studio",
      "username": "nylonstudio",
      "avatarUrl": "https://cdn.example.com/avatar.jpg",
      "status": "active",
      "connectedAt": "2026-05-14T10:20:00.000Z"
    }
  ]
}
```

## Next steps

* Read the [authentication guide](/authentication).
* Learn about [connection statuses](/connections).
* Explore the [API reference](/api-reference).
