cloudflare · Cloudflare Workers Docs
Workers Aggregate requests
A code example demonstrating how to use Cloudflare Workers to send multiple GET requests to different URLs and combine their responses into a single response.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Aggregate requests
A code example demonstrating how to use Cloudflare Workers to send multiple GET requests to different URLs and combine their responses into a single response.
When To Use
Use when you need to implement a pattern for fetching data from multiple endpoints simultaneously and merging the results into a single output within a Cloudflare Worker.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-examples-aggregate-requests-workflow-guide.md | A markdown guide demonstrating how to use Cloudflare Workers to send multiple GET requests and aggregate their responses into a single response. | Questions about a markdown guide demonstrating how to use Cloudflare Workers to send multiple GET requests and aggregate their respon... |
examples/workers-examples-aggregate-requests-cloudflare-workers-aggregate-request.text | A JavaScript example demonstrating how to use Promise.all to fetch and aggregate multiple JSON responses within a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A JavaScript example demonstrating how to use Promise.all to fetch and aggregate multiple JSON responses within a Clo... |
examples/workers-examples-aggregate-requests-cloudflare-workers-aggregate-request-2.text | A JavaScript example demonstrating how to use Promise.all to fetch and aggregate multiple JSON responses within a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A JavaScript example demonstrating how to use Promise.all to fetch and aggregate multiple JSON responses within a Clo... |
examples/workers-examples-aggregate-requests-cloudflare-workers-aggregate-request-3.text | A Hono application implementation demonstrating how to use Promise.all to fetch and aggregate multiple JSON responses concurrently within a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A Hono application implementation demonstrating how to use Promise.all to fetch and aggregate multiple JSON responses... |
examples/workers-examples-aggregate-requests-cloudflare-workers-python-aggregate-.text | A Python implementation demonstrating how to use asyncio.gather to perform multiple fetch requests concurrently within a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A Python implementation demonstrating how to use asyncio.gather to perform multiple fetch requests concurrently withi... |
What This Skill Covers
- Send two GET request to two urls and aggregates the responses into one response.
- Main sections:
Tags.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/examples/aggregate-requests
