Ctrip Attractions Search

From 6 credits/call
ae_ctrip_attractions_search

Discover attractions for one city in Ctrip's recommended order. Results can include ratings, popularity, today's opening hours, ticket prices or free-entry indicators, and suggested visit duration. Ctrip ranking labels and dated visitor reviews are included when available.

Travel
From 6 credits/call

Pricing

A successful call costs 6 credits plus 4.6368 per result returned. Round the total once: to two decimal places below 10 credits and to one decimal place at 10 credits or more. Zero results cost 6 credits and three results cost 19.9 credits.

From 6 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
citystringYes目的地城市,例如「景德镇」或「成都」。返回携程在该目的地下推荐的景点,可能包含周边景点。—
max_resultsintegerNo最多返回多少个景点。取值 1–10,默认 10。实际返回数可能少于上限,也可能为 0。10
max_reviewsintegerNo每个景点最多返回多少条近期游客评价。取值 0–10,默认 5。设为 0 可跳过评价,实际返回条数取决于可用评价。5

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

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_ctrip_attractions_search' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "city": "xxx"
  }
}'

No response example available yet.