API reference
Search Content
POST /search/content · Search
POSThttps://api.clawifi.dev/search/content
- Send your key as
Authorization: Bearer $CLAWIFI_API_KEY; see Authentication. - Add
"dry_run": true(or?dry_run=true) to see what the call would cost; nothing runs and nothing is charged. - Credits: see Pricing and credits.
Request#
curl -X POST https://api.clawifi.dev/search/content \
-H "Authorization: Bearer $CLAWIFI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"what is the Model Context Protocol"}'
from clawifi import Clawifi
client = Clawifi() # reads CLAWIFI_API_KEY
result = client.search_content("what is the Model Context Protocol")
Body
| Field | Type | Default | Required |
|---|---|---|---|
fetch | SearchContentFetchOptions | no | |
filters | object | no | |
full | boolean (optional) | no | |
max_results | integer | 10 | no |
query | string | yes | |
source | SourceId | "ddg" | no |
Response#
200 with a SearchContentResponse object: compact, errors, fetched_count, query, results, searched_count, source, success.
Errors use the shared shape; see Errors. Try public operations without a key in the playground.
Was this page helpful? Tell us · Last updated 2026-10-22