Skip to content
Back to skills

Public Api

ASecurity

Clay Public API — HTTP access for building services, apps, and integrations: GTM database search, structured table queries, and async routine and batch runs.

  • 158 stars
  • 0 votes
  • 1 copy
  • 9 views
  • Added September 3, 2026
ai-agentsbashapidatabasedocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add clay-run/agent-plugins --skill public-api --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Public Api?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Public Api
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/clay-run-public-api/badge)](https://www.skillsdirectory.com/skills/clay-run-public-api)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: public-api
description: 'Clay Public API — HTTP access for building services, apps, and integrations: GTM database search, structured table queries, and async routine and batch runs.'
---

# The Clay Public API

Before using this skill, read the `clay` entry skill if you haven’t already this session, and follow its access guidance.

Beyond the CLI, Clay exposes a Public API you can develop against directly over HTTP.
Reach for it when building a service, app, or integration — not for one-off agent tasks
(use the `clay` entry skill to select access and the relevant domain skill).

## What it offers

- **Search** — find people or companies in Clay's GTM database with **advanced queries**:
  criteria from the fields catalog, cross-entity filters, and nested Boolean logic.
  Use the `searches` skill for one-off searches and search behavior.
- **Tables** — structured queries against Clay tables.
- **Routines / batches** — async routine and batch runs.

## Auth

The public API needs its **own** key — the credential from `clay login` is **not**
scoped for it. Issue a dedicated public-API key with the CLI:

```bash
clay api-keys create --name "<name>"   # → { ..., "apiKey": "<secret>" }
```

CLI-created keys are always scoped to the public API. The `apiKey` secret is returned
**only once**, at creation — store it immediately; it can't be retrieved later. Send it
as a Bearer token against `https://api.clay.com/public/v0`. Manage existing keys with
`clay api-keys list | update | delete`.

## Reference

Full developer documentation — Public API reference, CLI reference, concepts, and the
OpenAPI spec — lives at:

- <https://developers.clay.com/llms.txt>

Fetch that first to get exact endpoints, request/response shapes, pagination, and rate
limits before writing integration code.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.