Search
Search the public web and return structured DuckDuckGo results with region, recency and cursor controls.
Try on PlaygroundAuthentication
Send your Crawlkit API key directly in the Authorization header.
Authorization: ck_your_api_keyRequest Parameters
Send these JSON body fields in your request payload.
| Name | Type | Description |
|---|---|---|
query | string | Search query text. |
options.region | string | Region code. |
options.timeRange | string | Recency filter. |
options.maxResults | number | Maximum result count. |
Example Request
Use direct HTTP requests against the public API base URL.
Example request
const response = await fetch('https://api.crawlkit.sh/search', {
method: 'POST',
headers: {
Authorization: 'ck_your_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"query": "web research APIs",
"options": {
"region": "us-en",
"timeRange": "m",
"maxResults": 10
}
})
});
console.log(await response.json());Response
Success (200 OK): Returns service-specific structured payload.
Success response (200 OK)
{
"success": true,
"requestId": "example-request-id",
"data": {
"query": "web research APIs",
"totalResults": 10,
"results": [
{
"position": 1,
"title": "Example result",
"url": "https://example.com/result",
"snippet": "A structured search result."
}
],
"pagination": {
"nextCursor": null,
"hasMore": false
},
"creditsUsed": 1
}
}