Skip to main content
POST
Search Results

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
search_engine
enum<string>
default:google
required

Search engine to use.

Available options:
google,
youtube,
youtube_channel
query
string
required

Search terms to find specific results.

Example:

"best AI tools"

num_posts
enum<integer>
default:1
required

Number of results to return.

Available options:
1,
5,
10,
25,
50,
100

Response

200 - application/json

Search results

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action