Bright Data Search Engine

1.8 credits/call
ae_brightdata_search_engine

Search Bing or Google through Bright Data for current information, news, and source links. Provide the required query string. Optionally set engine to bing or google (default bing), page to a nonnegative integer starting at 0 (default 0), and country to a two-letter country code such as us or de. The optional time_range accepts hour, day, week, month, year, or any and defaults to any; Bing supports only day, week, year, and any. Returns JSON containing organic search results with links, titles, and descriptions, with 10 results per page. To read a result's full page content, retrieve its linked page separately.

Search
1.8 credits/call

Pricing

1.8 credits/call
ConditionCharge
Each call1.8 credits/call

The fixed charge is 1.8 credits per search call.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
pageintegerNoResults page, 10 results per page, starting at 00
querystringYesSearch query text to submit to the selected search engine.—
engineenum (bing | google)NoSearch engine to use: bing or google. Defaults to bing.bing
countrystringNo2-letter country code, e.g. "us", "de"—
time_rangeenum (hour | day | week | month | year | any)NoBing supports only day, week, year and anyany

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_brightdata_search_engine' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "country": "cn",
    "engine": "bing",
    "query": "\"吉安\" \"宁波\" 机票 最低 ¥260 春秋 9C8751 周二 周四 周六",
    "time_range": "any"
  }
}'
Response exampleresponse.json
JSONPartial content
"{\"organic\":[{\"description\":\"Alan Eduardo Rangel (born August 21, 1997) is a Mexican professional baseball pitcher for the Philadelphia Phillies of Major League …\",\"link\":\"https://en.wikipedia.org/wiki/Alan_Rangel\",\"title\":\"Alan Rangel - Wikipedia\"}]}"

This example shows part of the response. Copied content is valid JSON.