Dumpling AI Get Autocomplete

22.5 credits/call
ae_dumplingai_get_autocomplete

Get search query autocomplete suggestions using DumplingAI.

Search
22.5 credits/call

Pricing

22.5 credits/call
ConditionCharge
Each call22.5 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
querystringYesSearch phrase to autocomplete.—
countrystringNo2-letter country code forwarded to the provider as `gl`.—
languagestringNoLanguage code forwarded to the provider as `hl`.—
locationstringNoFree-form location context used by the upstream provider.—
requestSourceenum (API | WEB | MAKE_DOT_COM | ZAPIER | N8N | PLAYGROUND | DEFAULT_AUTOMATION | AGENT_PREVIEW | AGENT_LIVE | AUTOPILOT | STUDIO)NoOptional identifier describing where the API request originated.—

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_dumplingai_get_autocomplete' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "query": "test"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "credits": 1,
  "searchParameters": {
    "engine": "google",
    "q": "test",
    "type": "autocomplete"
  },
  "suggestions": [
    {
      "value": "test"
    }
  ]
}

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