API Request
api_requestSend authenticated requests to the DataForSEO API by specifying HTTP method, URL path, and optional JSON data, with a flag to disable AI-enhanced responses for full schema output.
Instructions
Make an authenticated request to the DataForSEO API
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"method": "<method>"
},
"name": "api_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Full API URL (alternative to path) | |
| data | No | Request body as JSON object or array of task objects | |
| path | No | API path (e.g. /v3/serp/google/organic/live/regular) | |
| method | Yes | HTTP method | |
| noAiMode | No | Disable the .ai path suffix and return the full response schema instead of the AI-optimized subset. Can increase context size significantly. Default: false. |