Bulk HTTP Request Runner (API Caller)
Pricing
from $0.90 / 1,000 request sents
Bulk HTTP Request Runner (API Caller)
Send a list of HTTP requests (GET, POST, PUT, PATCH, DELETE, HEAD) to the APIs you choose and get one row per request: status, time, final URL and response body (JSON parsed). Encrypted secret headers are masked in all output. Charged per request that gets any HTTP response (4xx/5xx included).
Pricing
from $0.90 / 1,000 request sents
Rating
0.0
(0)
Developer
Dongjin Kim
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Features
Share
Bulk HTTP Request Runner sends a list of HTTP requests — GET, POST, PUT, PATCH, DELETE, HEAD, each with its own URL, headers, query and JSON or text body — to the APIs you choose, and gives you one row per request with the status code, time taken, final URL, content type and the response body (parsed when it is JSON). API keys go in an encrypted Secret headers field and are masked as *** everywhere in the output, even when an API echoes them back (as is or escaped).
Use it when you need to call an API from a place that cannot do it well itself: a batch of calls from a spreadsheet, a step in an Apify, n8n, Make or Zapier workflow, a scheduled check of a few endpoints, or a quick test of many requests at once.
It is a tool to call APIs you are allowed to use, with your own keys. It is not a web scraper: no proxies, no rotating or residential IPs, no browser, no cookie jar, no CAPTCHA solving, no crawling.
How to use
- Click Start — the input is prefilled with three requests to public test APIs (httpbin.org and JSONPlaceholder), so you see three rows in a few seconds.
- Replace them with your own requests in Requests (JSON). The smallest request is
{"url": "https://…"}(aGET). - Put API keys and tokens in Secret headers, e.g.
{"Authorization": "Bearer YOUR_TOKEN"}— not in the request list. - Click Start. Export the rows as JSON, CSV or Excel, read them with the Apify API, or let each row be POSTed to your Callback URL (an n8n / Make / Zapier webhook) as soon as it is ready.
Input
{"requests": [{"method": "GET", "url": "https://api.example.com/v1/customers", "query": {"limit": 50, "status": ["active", "trial"]}, "userData": {"sheetRow": 2}},{"method": "POST", "url": "https://api.example.com/v1/notes", "json": {"customerId": 42, "text": "Called on Monday"}},{"method": "PUT", "url": "https://api.example.com/v1/files/7", "body": "plain text body", "headers": {"Content-Type": "text/plain"}},"https://api.example.com/v1/health"],"secretHeaders": "{\"Authorization\": \"Bearer YOUR_TOKEN\"}","timeoutSecs": 30}
| Field | What it does |
|---|---|
requests | Each request is sent once. The first 1,000 are sent by default — raise maxItems (up to 10,000) for longer lists. Per request: url (required), method (default GET), headers {name: value}, query {name: value or list} (added to the URL's query string), json (any JSON value except null, sent as application/json) or body (text, sent as is — set Content-Type yourself; without it the body goes as application/x-www-form-urlencoded, like curl -d), userData (anything up to 10 KB, copied to the row so you can match results to your sheet). A plain URL string is a GET. A request with a mistake (unknown method, both json and body, a bad header) becomes an invalid_request row; the others still run. Spaces and non-ASCII characters in the URL are percent-encoded for you. |
secretHeaders | Optional JSON object, stored encrypted by Apify. {"Authorization": "Bearer …", "X-Api-Key": "…"} is sent with every request; {"api.example.com": {"Authorization": "Bearer …"}} is sent only to that host — use this form when one run calls several APIs. Values must be at least 4 characters. |
defaultHeaders | Optional headers for every request, e.g. {"Accept": "application/json"}. A request's own headers win over these, and secret headers win over both (names compared case-insensitively). |
timeoutSecs | Time limit per request, redirects and the one retry included (default 30 s, up to 120). |
maxResponseKB | Keep at most this much of each response body after gzip is unpacked (default 512 KB, up to 5,120). A longer body is cut and truncated is true; a cut JSON body is returned as text. |
includeResponseHeaders | Add a responseHeaders object (lower-case names) to every row (default off). |
followRedirects | Follow up to 5 redirects (default on). Off: the 3xx response itself is the row. |
callbackUrl | Optional webhook URL, stored encrypted. Each row is also POSTed there as JSON when it is ready (after the row is saved; 30 s timeout; one retry after 429 / 503, like the requests). The callback URL is checked like any request (public address, not on the never-call list). Callbacks that fail are listed in the run report (callbackFailures). |
maxItems | Only the first this many requests of the list are sent (default 1,000, up to 10,000) — a guard against an accidentally huge list. How many were left out is in the run report (overMaxItems) and the status message. |
maxConcurrency / maxConcurrencyPerHost | Requests in flight at once: up to 10 in total and up to 2 per host name — http / https and ports of one host count as one (defaults 10 and 2). Set the per-host value to 1 for APIs that allow one call at a time. |
delayMsPerHost | Optional pause between requests to one host, e.g. 1000 = at most one request per second per host, for rate-limited APIs. |
Headers you cannot set: Host, Content-Length, Transfer-Encoding, Connection and similar (the actor sets them), and Cookie — the actor does not use browser sessions; use the API's key or token header.
What you get
One row per request. Rows from a real run (2026-11-15), shortened:
[{"index": 0, "method": "GET", "url": "https://httpbin.org/get?x=1&page=2&tag=a&tag=b", "finalUrl": "https://httpbin.org/get?x=1&page=2&tag=a&tag=b", "status": 200, "ok": true, "elapsedMs": 113, "contentType": "application/json", "bodyType": "json", "body": {"args": {"page": "2", "tag": ["a", "b"], "x": "1"}, "headers": {"Authorization": "***", "X-Api-Key": "***", "Host": "httpbin.org"}}, "bytes": 485, "truncated": false, "redirects": 0, "retried": false, "userData": {"row": "r1"}, "error": null, "errorType": null},{"index": 4, "method": "GET", "url": "https://httpbin.org/status/404", "status": 404, "ok": false, "elapsedMs": 71, "bodyType": "empty", "body": null, "error": null, "errorType": null},{"index": 6, "method": "GET", "url": "https://httpbin.org/delay/10", "status": null, "ok": false, "error": "no response within 6 s (timeoutSecs)", "errorType": "timeout"},{"index": 7, "method": "GET", "url": "http://169.254.169.254/latest/meta-data/", "status": null, "ok": false, "error": "not a public host", "errorType": "blocked_address"}]
The first row is httpbin echoing the request back: the Authorization and X-Api-Key secret headers arrived at the API, and the output shows them as ***.
| Field | Meaning |
|---|---|
index | Position of the request in your list (0 = first). Rows are written as responses arrive, so sort by index for the original order. |
method / url | What was sent (query parameters added). |
finalUrl | Where the response finally came from after redirects. |
status / ok | The HTTP status code; ok is true for 2xx. null when there was no response (see errorType). |
elapsedMs | Time from sending to the end of the response, redirects and retry included. |
contentType | The response's Content-Type. |
bodyType / body | json (the body parsed into JSON), text, base64 (binary bodies such as images), empty, or omitted (a body too large for one dataset row — lower maxResponseKB). JSON is detected from the content type, or from a body that starts with { or [ when the server sends no type or text/plain. |
bytes / truncated | Size of the body kept, and whether it was cut at maxResponseKB. |
redirects / retried | How many redirects were followed; whether the request was sent a second time after 429 or 503. |
userData | Copied from the request. |
responseHeaders | Only with includeResponseHeaders. |
errorType / error | Why there is no response: timeout, network_error (DNS, connection refused, TLS), too_many_redirects, blocked_address (private / internal address), blocked_site / terms_of_use (on the never-call list), invalid_url, invalid_request (a mistake in that request), internal_error (a fault on our side — please report it). |
The run's key-value store also has a RUN_REPORT record: requests charged, responses by status class (2xx / 3xx / 4xx / 5xx), errors by type with up to 1,000 details, failed callbacks, and whether a limit stopped the run.
How requests are sent
- Once each. No automatic retries, except one: after
429 Too Many Requestsor503 Service Unavailablethe request is sent a second time after theRetry-Afterthe server asks for (seconds or a date), when that is 30 seconds or less; withoutRetry-Afterafter 2 seconds. A longerRetry-Afteris not waited for — you get the429/503row. Keep in mind that aPOSTretried after503may reach a server that did process the first one; most APIs answer503before doing any work. - Redirects (up to 5):
301/302after aPOST, and every303, continue as aGETwithout the body (what browsers andcurl -Ldo);307/308keep the method and body. When a redirect goes to another host or port, or fromhttpstohttp,Authorizationand every secret header are dropped — they were meant for your API, not for the place it redirects to. Anhttp→httpsredirect on the same host keeps them. Headers you put inheaders/defaultHeadersare not secret and are sent on. - Compression: the actor asks for gzip and unpacks it. If you set
Accept-Encodingyourself to something else (e.g.br), a body in an encoding the actor cannot unpack is given asbase64, with an explanation inerror. - Concurrency: up to 10 requests at once, at most 2 to the same host name (counted by the URL you list, not by redirect targets), plus your optional
delayMsPerHost. - User agent:
DojitoHttpRunner/1.0 (+https://apify.com; contact djkim@dojito.com)unless you set your ownUser-Agentheader.
Safety: what the actor will not call
- Private and internal addresses —
localhost, private networks (10.x,192.168.x, …), link-local and the cloud metadata address169.254.169.254, and host names that resolve to them. This is checked on the URL, again when the connection is opened (so a DNS answer that changes in between cannot slip through), and again at every redirect. These requests are refused before anything is sent and are not charged. - URLs with
user:password@— send credentials in a header instead (Authorization: Basic …in Secret headers). - Sites on our never-call list — large retailers and marketplaces (Amazon and eBay with their main country sites, Walmart, Etsy and others), video, social, chat and audio platforms and their media hosts (YouTube, TikTok, Instagram / Facebook, X, LinkedIn, Pinterest, Reddit, Discord, Telegram, Spotify, Twitch, SoundCloud and others), and Google web (
google.comand its country sites, with every subdomain such asscript.google.com). Each listed domain is refused with all its subdomains, so its API hosts too (api.ebay.com,graph.facebook.com,api.telegram.org, Discord webhooks); use those platforms' own SDKs and integrations. Separate API domains that are not on the list, such asgoogleapis.com, are not refused. The same check applies tocallbackUrl.blocked_site= our own policy,terms_of_use= we read the site's terms and they forbid automated access. - No proxies, rotating or residential IPs, browser, cookies or CAPTCHA solving. Requests come from Apify's servers, as themselves.
Pricing
Pay per event, only for requests that got a response:
| Event | Free plan | Bronze | Silver and higher |
|---|---|---|---|
request-sent — one request that got an HTTP response from the target (any status) | $0.001 | $0.00095 | $0.0009 |
- What counts: a request whose target answered — including
4xxand5xxresponses (the API did answer; the row has its status and body). Redirects and the one429/503retry belong to the same request: still one event. - Free: requests refused before sending (
invalid_request,invalid_url,blocked_address,blocked_site,terms_of_use), requests that got no final response (timeout,network_error,too_many_redirects— also when a redirect led there), andinternal_errorrows. Callbacks are not charged. - 1,000 requests with responses = $1.00 on the Free plan, $0.90 on Silver. Apify also charges its standard tiny actor-start event; platform usage (compute, storage) is included in the price.
- Maximum cost per run: set it in the run options. The actor does not start a request it could not charge for (it first waits for requests in flight, which may end free) and tells you how many were not started. With the default
maxItemsof 1,000 a run costs at most $1.00 on the Free plan; 10,000 requests at most $10.
Use cases
- Call an API for every row of a spreadsheet — export the rows as a list of requests (one per row,
userData= the row id), run, and join the results back byuserData. - A step in a no-code workflow — call the actor from n8n, Make or Zapier (or the Apify API) with a list of requests and get the results back in the dataset or on your webhook.
- Batch writes — create or update many records through an API you use (
POST/PUT/PATCHwith a JSON body each). - Endpoint checks — status, time and body of a set of your own endpoints on a schedule.
- Try requests quickly — many variations of one call with different query parameters or bodies, side by side.
Limits
- Not a web scraper. It sends exactly the requests you list; it does not follow links, render JavaScript, keep sessions or get around bot protection. robots.txt is not consulted because these are direct API calls you choose — do not use it to download web pages in bulk.
- Response bodies are kept up to
maxResponseKB(max 5 MB); one dataset row can hold up to 9 MB, so very large bodies with many non-ASCII characters may beomitted. - Request bodies up to 2 MB each; up to 10,000 requests per run (1,000 unless you raise
maxItems). - No
multipart/form-datafile uploads, no client certificates, no HTTP/2-only servers (HTTP/1.1 is used). - Requests come from Apify's shared server IPs. Some APIs limit unauthenticated calls per IP (for example to 60 an hour), so use your API key.
- No streaming responses (server-sent events, WebSockets): the actor waits for the whole body up to
timeoutSecs.
FAQ
Is my API key safe? Put it in Secret headers: Apify stores that field encrypted, and the actor replaces its value with *** in every row, the run report, callback bodies and log lines — the whole header value, the token after Bearer , the user and password inside Basic …, each written as is or escaped the usual ways (URL %2B, JSON \u002b / \/, HTML +, in any mix). A form the actor cannot recognise (for example the key hashed or re-encoded by the API) is not masked. Do not put keys in the request list, headers, defaultHeaders or the URL: those are normal input fields, appear in the output and follow redirects.
Why was a 404 charged? The API answered; you get its status and body (often an error message you need). Only requests without any response are free.
Can I send form data? Yes: "body": "a=1&b=2" with "headers": {"Content-Type": "application/x-www-form-urlencoded"}.
The rows are not in my order. They are written as responses arrive. Sort by index.
Can I call an API that needs one request per second? Set maxConcurrencyPerHost to 1 and delayMsPerHost to 1000.
Responsible use
You call the APIs you choose, with your own credentials and under your own responsibility: follow each API's terms of service and rate limits, and only send data you are allowed to send. The actor adds no data of its own and keeps nothing after the run beyond your run's own dataset and key-value store. General information, not legal advice.
This actor is not affiliated with, endorsed by or sponsored by any of the services named here (httpbin.org, JSONPlaceholder, n8n, Make, Zapier or the platforms on the never-call list). Names are used only to describe compatibility or refusals.