curl --request POST \
--url https://api.weblinq.dev/v1/web/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"query": "<string>",
"limit": 5
}'
{
"success": true,
"data": {
"results": [
{
"title": "<string>",
"url": "<string>",
"snippet": "<string>",
"source": "duckduckgo"
}
],
"metadata": {
"query": "<string>",
"totalResults": 123,
"searchTime": 123,
"sources": [
"<string>"
],
"timestamp": "<string>"
}
},
"creditsCost": 123,
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
Perform a web search and return results
curl --request POST \
--url https://api.weblinq.dev/v1/web/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"query": "<string>",
"limit": 5
}'
{
"success": true,
"data": {
"results": [
{
"title": "<string>",
"url": "<string>",
"snippet": "<string>",
"source": "duckduckgo"
}
],
"metadata": {
"query": "<string>",
"totalResults": 123,
"searchTime": 123,
"sources": [
"<string>"
],
"timestamp": "<string>"
}
},
"creditsCost": 123,
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
Enter your API token or session token
Search parameters
The body is of type object
.
Search completed successfully
The response is of type object
.