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

# OpenClaw Skill

> Drop the HasData skill into OpenClaw for real-time web data via the hasdata CLI.

The **HasData skill** for [OpenClaw](https://clawhub.ai) wraps the [HasData CLI](/cli) so agents can fetch real-time web data: search, maps, e-commerce, real estate, jobs, social, and arbitrary scraping.

Marketplace listing: [clawhub.ai/hasdata/hasdata-api](https://clawhub.ai/hasdata/hasdata-api). Source: [github.com/HasData/hasdata-cli](https://github.com/HasData/hasdata-cli).

## Install

<CodeGroup>
  ```bash OpenClaw theme={null}
  openclaw skills install hasdata/hasdata-api
  ```

  ```bash ClawHub theme={null}
  npx clawhub@latest install hasdata-api
  ```
</CodeGroup>

The skill depends on the `hasdata` binary. Install it once:

```bash theme={null}
curl -sSL https://raw.githubusercontent.com/HasData/hasdata-cli/main/install.sh | sh
```

See the [CLI page](/cli) for Go and Windows install paths.

## Configure

The skill reads your API key from the standard CLI location. Run once:

```bash theme={null}
hasdata configure
```

This writes the key to `~/.hasdata/config.yaml` (mode `0600`). You can also export `HASDATA_API_KEY` in your shell. Get the key from the [dashboard](https://app.hasdata.com).

## How the agent invokes it

The skill maps natural-language intent to one of 30+ CLI subcommands. Action names match the [CLI](/cli) one-to-one:

| Intent            | Subcommand(s)                                          |
| ----------------- | ------------------------------------------------------ |
| Web search        | `google-serp`, `google-serp-light`, `bing-serp`        |
| News              | `google-news`                                          |
| Shopping & prices | `google-shopping`, `amazon-search`, `shopify-products` |
| Maps & reviews    | `google-maps`, `google-maps-place`, `yelp-search`      |
| Real estate       | `zillow-listing`, `redfin-property`, `airbnb-listing`  |
| Jobs              | `indeed-job`, `glassdoor-job`                          |
| Social            | `instagram-profile`                                    |
| Arbitrary URLs    | `web-scraping` (JS rendering, proxies, AI extraction)  |

## Billing

Each call costs the same as the equivalent direct API request, and every response includes the credit usage. See [Credits and Concurrency](/credits-and-concurrency).

## Security

* API key lives in `~/.hasdata/config.yaml` at mode `0600`. Protect it like any other credential.
