Skip to main content

Batch API Calls

Call multiple APIs in a single request. All calls execute concurrently.

Endpoint

POST /api/v1/proxy/batch

Request Body

{
  "calls": [
    { "api": "exchange-rates" },
    { "api": "restcountries", "path": "all" },
    { "api": "open-meteo-weather", "method": "GET", "params": { "latitude": 37.5 } }
  ]
}

Limits

  • Maximum 10 calls per batch
  • Each call uses its own credit allocation
  • All calls execute concurrently (fastest total time)
  • Individual call failures don't fail the batch

Via MCP

// AI Agents can use the batch_call_apis MCP tool
batch_call_apis({
  calls: [
    { api: "exchange-rates" },
    { api: "cat-facts" }
  ],
  apitree_token: "nxs_live_xxx"
})
apitree · AI-Native API Marketplace