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

# Clay HTTP API

> Use MoltSets tools directly in Clay via the HTTP API enrichment.

## Overview

Clay's HTTP API enrichment lets you call any REST API and map the response into your table. This guide walks through connecting any MoltSets tool to Clay.

## Prerequisites

* A MoltSets API key — see [Authentication](/getting-started/authentication) for how to create one
* A Clay table with a column containing the input data your chosen tool requires

## Setup

### 1. Add an HTTP API enrichment column

In your Clay table, click **+ Add column** and select **HTTP API**.

### 2. Configure the request

Set the following fields in the HTTP API configuration panel:

**Method**

```
POST
```

**Endpoint**

Enter the endpoint URL for the MoltSets tool you want to use. Find the correct URL on the tool's API reference page. Not sure which tool you need? See [I Have X, I Want Y](/use-cases/i-have-x-i-want-y).

**Headers**

| Key             | Value                 |
| --------------- | --------------------- |
| `Content-Type`  | `application/json`    |
| `Authorization` | `Bearer YOUR_API_KEY` |

Replace `YOUR_API_KEY` with your MoltSets API key.

**Body**

Enter the request body as shown in the tool's API reference page. For any fields that should pull from a Clay column, use Clay's `/` shortcut to insert a column reference in place of the value.

### 3. Configure the response

In the **Response values to return** field, enter:

```
results
```

This captures the entire `results` object from the MoltSets response into the HTTP API column.

### 4. Extract values into their own columns

Add a separate column for each value you want to extract from the response:

1. Click **+ Add column** and select **Formula**
2. Use `/` to reference the HTTP API column
3. Select the field you want from the field picker (e.g. `results.email`)

Repeat for each field you need.

<Note>
  Clay's HTTP API path traversal stops at one level deep, so entering `results.email` directly in the **Response values to return** field will not drill into the nested object. The two-column approach above is the expected workflow.
</Note>

## Handling no results

When MoltSets finds no data for a given input, it returns a 404 error.

***

## Related

* [Authentication](/getting-started/authentication) — create and manage API keys
* [API Reference Overview](/getting-started/overview) — all available tools and their endpoints
* [I Have X, I Want Y](/use-cases/i-have-x-i-want-y) — find the right tool based on your input data
* [MoltSets MCP](/moltsets-mcp) — use MoltSets directly in Claude Code or Claude.ai without HTTP setup
