Dumpling AI Get Autocomplete
22.5 credits/call
ae_dumplingai_get_autocomplete
Get search query autocomplete suggestions using DumplingAI.
22.5 credits/call
Pricing
22.5 credits/call
| Condition | Charge |
|---|---|
| Each call | 22.5 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
query | string | Yes | Search phrase to autocomplete. | — |
country | string | No | 2-letter country code forwarded to the provider as `gl`. | — |
language | string | No | Language code forwarded to the provider as `hl`. | — |
location | string | No | Free-form location context used by the upstream provider. | — |
requestSource | enum (API | WEB | MAKE_DOT_COM | ZAPIER | N8N | PLAYGROUND | DEFAULT_AUTOMATION | AGENT_PREVIEW | AGENT_LIVE | AUTOPILOT | STUDIO) | No | Optional identifier describing where the API request originated. | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest 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
{
"credits": 1,
"searchParameters": {
"engine": "google",
"q": "test",
"type": "autocomplete"
},
"suggestions": [
{
"value": "test"
}
]
}This example shows part of the response. Copied content is valid JSON.

