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 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
Replace
YOUR_API_KEY with your MoltSets API key. User-Agent is required on every request — MoltSets accepts any non-empty value, so Clay (or any label you prefer) works; requests without it are rejected with 403 Forbidden.
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 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:- Click + Add column and select Formula
- Use
/to reference the HTTP API column - Select the field you want from the field picker (e.g.
results.email)
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.Handling no results
When MoltSets finds no data for a given input, the call still succeeds: HTTP200, with status set to "not_found" and the fields in results empty or null. No tokens are charged.
In Clay, that means the row is not an error row — the HTTP API column fills in with a body like this:
status if you want to split hits from misses — for example, only run a follow-up enrichment where status is "ok". Filtering on the HTTP status code will not separate them, because both outcomes return 200.
This changed. MoltSets used to return
404 when a lookup found nothing. Tables built to treat a 404 as “no data” should now read status instead. The only 404 left is an unknown or retired tool name in the URL.Related
- Authentication — create and manage API keys
- API Reference Overview — all available tools and their endpoints
- I Have X, I Want Y — find the right tool based on your input data
- MoltSets MCP — use MoltSets directly in Claude Code or Claude.ai without HTTP setup
