Batch Requests
batch_requestsRun up to 100 API Direct REST requests in one call, mixing any endpoints the other tools cover (e.g. 50 twitter_user_profile and 50 instagram_user_profile lookups). Each item gives a /v1 endpoint path and that endpoint's query parameters, as documented at https://apidirect.io/docs/batch. Items run concurrently and each returns its own status and body, in input order. /v1/web/ai-mode isn't supported. Large batches can take several minutes. The batch call is free; each item is billed at its endpoint's normal rate.
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": {
"requests": "<requests>"
},
"name": "batch_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requests | Yes | 1-100 items to execute. Each item's params are exactly the query parameters that endpoint accepts when called directly (string or number values). |