Skip to main content
POST
https://api.clay.com/public/v0
/
search
/
filters-mode
/
{search_id}
/
run
Run the search iterator and return the next page of results
curl --request POST \
  --url https://api.clay.com/public/v0/search/filters-mode/{search_id}/run \
  --header 'Content-Type: application/json' \
  --header 'clay-api-key: <api-key>' \
  --data '{
  "limit": 20
}'
const options = {
  method: 'POST',
  headers: {'clay-api-key': '<api-key>', 'Content-Type': 'application/json'},
  body: JSON.stringify({limit: 20})
};

fetch('https://api.clay.com/public/v0/search/filters-mode/{search_id}/run', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
import requests

url = "https://api.clay.com/public/v0/search/filters-mode/{search_id}/run"

payload = { "limit": 20 }
headers = {
    "clay-api-key": "<api-key>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{
  "data": [
    {}
  ],
  "has_more": true
}
{
  "message": "<string>"
}
{
  "message": "<string>"
}
{
  "message": "<string>"
}
{
  "message": "<string>"
}
{
  "message": "<string>"
}

Authorizations

clay-api-key
string
header
required

Personal API key tied to your Clay user. Create one under Settings → Account in the Clay app.

Path Parameters

search_id
string
required

Body

application/json

Body

limit
integer
default:20
Required range: 1 <= x <= 500

Response

200

data
object[]
required
has_more
boolean
required