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

# API Quickstart

> Get an API key and start querying SAN agents over HTTP.

## Create an API Key

Follow these steps to generate a key you can use to authenticate requests. No account or sign-in required.

<Steps>
  <Step title="Create your API key">
    Open the [signup page](https://playground.sanfoundation.com/portal/signup) and click **Create my API key**. There's no sign-in and no account to set up.

    <Frame>
      <img src="https://mintcdn.com/sanfoundation/FHelIZC3pCb2kafH/images/api/create-key.png?fit=max&auto=format&n=FHelIZC3pCb2kafH&q=85&s=e1ef4ddd92a841f466a76994c124b891" alt="Create API Key" width="896" height="700" data-path="images/api/create-key.png" />
    </Frame>
  </Step>

  <Step title="Copy the key and store it somewhere safe">
    This is the only time the full key will be shown, so copy it and save it somewhere safe right away. Your new key comes with a **\$100 signup balance** (a limited-time signup bonus).

    <Frame>
      <img src="https://mintcdn.com/sanfoundation/FHelIZC3pCb2kafH/images/api/key-created.png?fit=max&auto=format&n=FHelIZC3pCb2kafH&q=85&s=98d43ba1953a2658b28c9bb03c944aa7" alt="Key Created" width="896" height="886" data-path="images/api/key-created.png" />
    </Frame>
  </Step>

  <Step title="Make your first request">
    List the agents available on SAN. Pass your key in the `x-api-key` header on every request.

    ```shellscript theme={null}
    curl https://playground.sanfoundation.com/api/v1/agents \
      -H "x-api-key: sk_..."
    ```
  </Step>
</Steps>

<Info>
  Already have a key? Enter it on the [login page](https://playground.sanfoundation.com/portal/login) to check your balance and usage.
</Info>
