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

# Quickstart

> Get started with agntdata in minutes — REST, OpenClaw, or build a deployed agent in the dashboard.

## Authentication

All endpoints require a Bearer token. Pass your agntdata API key in the `Authorization` header:

```bash theme={null}
Authorization: Bearer YOUR_API_KEY
```

<Card title="Get your API key" icon="key" href="https://app.agntdata.dev/login">
  Sign up or log in to generate an API key from the dashboard. Free tier and 7-day trials available.
</Card>

## Pick a path

<Tabs>
  <Tab title="REST API">
    Call the data APIs directly with any HTTP client — curl, fetch, or any language.

    <Steps>
      <Step title="Get your API key">
        [Sign up at agntdata.dev](https://app.agntdata.dev/login) and generate a key from the dashboard.
      </Step>

      <Step title="Make a request">
        Bearer-auth the call and hit any data API.

        ```bash theme={null}
        curl -X GET "https://api.agntdata.dev/v1/data/linkedin/get-company-details?username=microsoft" \
          -H "Authorization: Bearer YOUR_API_KEY"
        ```
      </Step>

      <Step title="Parse the response">
        Every response is a structured JSON envelope.

        ```json theme={null}
        {
          "success": true,
          "data": {
            "name": "Microsoft",
            "staffCount": 228000,
            "industries": ["Software Development"],
            "website": "https://microsoft.com"
          }
        }
        ```
      </Step>
    </Steps>
  </Tab>

  <Tab title="Build an agent">
    Skip the integration layer. Build a deployed Claude agent in the dashboard and the Builder wires up tools, schedules, and Slack routing for you.

    <Steps>
      <Step title="Sign up and pick your style">
        At [app.agntdata.dev/login](https://app.agntdata.dev/login), sign up and pick the "agents built for me" or "I build things myself" track on the onboarding screen.
      </Step>

      <Step title="Talk to the Builder">
        You land in a meta-agent chat. Describe what you want the agent to do. The Builder proposes a configuration (system prompt + tools) and asks for approval.
      </Step>

      <Step title="Deploy">
        Approve the proposal. agntdata mints an agent API key, registers the agent with Anthropic's runtime, and gives you a Slack-ready URL plus a dashboard chat to test it.
      </Step>
    </Steps>

    See [**Agents → Overview**](/agents/overview) for the full lifecycle.
  </Tab>

  <Tab title="OpenClaw Plugin">
    Register agntdata tools natively in your own agent's tool registry.

    <Steps>
      <Step title="Install the plugin">
        ```bash theme={null}
        openclaw plugins install @agntdata/openclaw-agnt-data
        ```
      </Step>

      <Step title="Configure your API key">
        Add your key to `openclaw.json`:

        ```json theme={null}
        {
          "plugins": {
            "entries": {
              "agnt-data": {
                "enabled": true,
                "config": {
                  "apiKey": "${AGNTDATA_API_KEY}"
                }
              }
            }
          }
        }
        ```
      </Step>

      <Step title="Restart OpenClaw">
        Every agntdata data API is now callable from your agent.
      </Step>
    </Steps>
  </Tab>

  <Tab title="OpenClaw Skill">
    Teach your OpenClaw agent to call agntdata via a ClawHub skill.

    <Steps>
      <Step title="Install the skill">
        ```bash theme={null}
        clawhub install agnt-data
        ```
      </Step>

      <Step title="Set your API key">
        ```bash theme={null}
        export AGNTDATA_API_KEY=your_api_key_here
        ```
      </Step>

      <Step title="Start a session">
        Start a new OpenClaw session — the agent now has agntdata APIs available.
      </Step>
    </Steps>
  </Tab>
</Tabs>

## Example requests

<CodeGroup>
  ```bash LinkedIn company theme={null}
  curl -X GET "https://api.agntdata.dev/v1/data/linkedin/get-company-details?username=microsoft" \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```bash YouTube channel theme={null}
  curl -X GET "https://api.agntdata.dev/v1/data/youtube/get-channel-details?username=@mkbhd" \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```bash X user profile theme={null}
  curl -X GET "https://api.agntdata.dev/v1/data/x/get-user-details?username=elonmusk" \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```bash Workspace database query theme={null}
  curl -X POST "https://api.agntdata.dev/v1/db/select" \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{"table":"leads","limit":50}'
  ```
</CodeGroup>

## Response format

Every successful response follows a consistent envelope:

```json theme={null}
{
  "success": true,
  "data": { /* endpoint-specific data */ },
  "meta": {
    "costCents": 1,
    "purchasedBalanceCents": 949,
    "subscriptionRemainingCents": 500,
    "cached": false,
    "latencyMs": 245
  }
}
```

Errors include a typed code:

```json theme={null}
{
  "success": false,
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid or missing API key"
  }
}
```

## Next steps

<CardGroup cols={2}>
  <Card title="Agents" icon="robot" href="/agents/overview">
    Deploy a Claude agent on top of these APIs.
  </Card>

  <Card title="API reference" icon="code" href="/apis/overview">
    Every endpoint across every platform.
  </Card>

  <Card title="Errors" icon="triangle-exclamation" href="/concepts/errors">
    Codes, retries, and what each one means.
  </Card>

  <Card title="Rate limits" icon="gauge" href="/concepts/rate-limits">
    Per-plan RPM and backoff guidance.
  </Card>
</CardGroup>
