Search1API
Basic

Search

Search the web across multiple engines and return ranked results, optional images, and full page content for selected results.

POST
/search

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

Search parameters

TypeScript Definitions

Use the request body type in TypeScript.

Send a single search request

Response Body

application/json

application/json

curl -X POST "https://example.com/search" \  -H "Content-Type: application/json" \  -d '{    "query": "how to bake a cake"  }'
{  "searchParameters": {    "query": "how to bake a cake",    "search_service": "google",    "max_results": 5,    "crawl_results": 0,    "image": false,    "include_sites": [],    "exclude_sites": [],    "language": "en",    "time_range": "year"  },  "results": [    {      "title": "string",      "link": "string",      "snippet": "string",      "content": "string"    }  ]}
{  "error": 0,  "message": "string"}