# HTTP Request Runner – Bulk API Calls, curl & API Monitor (`rowfeed/http-request-runner`) Actor

Send HTTP requests in bulk: GET, POST, PUT, PATCH, DELETE to any API. Paste URLs or curl commands, get status, time, headers and JSON body per request. Only-changed mode for API and page monitoring. $1 per 1,000 successful responses; failed requests free.

- **URL**: https://apify.com/rowfeed/http-request-runner.md
- **Developed by:** [Rowfeed](https://apify.com/rowfeed) (community)
- **Categories:** Developer tools, Automation, Integrations
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 successful responses

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## HTTP Request Runner – Bulk API Calls, curl & API Monitor

Send hundreds or thousands of HTTP requests in one run: GET, POST, PUT, PATCH, DELETE, HEAD or OPTIONS to any public API or web page. Paste plain URLs, `curl` commands copied from API docs or your browser, or JSON request objects. Each request comes back as one clean row with the status code, response time, final URL, headers and the body, already parsed when it is JSON. Built for developers, no-code builders (Make, n8n, Zapier) and AI agents that need to call an API without writing code.

- **Pay only for answers:** $1 per 1,000 successful responses. Timeouts, connection errors and 4xx/5xx answers are free.
- **Paste curl:** DevTools "Copy as cURL" (bash or cmd), multi-line commands, `-X`, `-H`, `-d`, `--json`, `-u`, `-G` all work.
- **Monitor mode:** with *Only changed responses* and a schedule, you get a row only when an API, a JSON feed, a price or a status page changes.

### What you get

```json
{
  "method": "GET",
  "url": "https://api.frankfurter.dev/v1/latest?base=USD&symbols=EUR,GBP",
  "status": 200,
  "ok": true,
  "response_ms": 212,
  "final_url": "https://api.frankfurter.dev/v1/latest?base=USD&symbols=EUR,GBP",
  "redirects": 0,
  "content_type": "application/json",
  "size_bytes": 85,
  "truncated": false,
  "body": {"amount": 1.0, "base": "USD", "date": "2026-11-20", "rates": {"EUR": 0.90992, "GBP": 0.76192}},
  "body_sha256": "6f0c…",
  "headers": {"content-type": "application/json", "cache-control": "public, max-age=300"},
  "error": null,
  "checked_at": "2026-11-20T18:30:00Z"
}
```

A failed request is a row too, with `error` (`timeout`, `connect_error`, `http_404`, `internal_address`, `invalid_input`) and a plain `errorMessage`, so a list of 5,000 calls never stops at the first bad one.

### How to use

1. Put your requests in **URLs or curl commands**, one per line. Accepted: `https://api.example.com/v1/items`, `POST https://api.example.com/v1/items`, a one-line curl command, or `{"url": "https://…", "method": "POST", "json": {"q": 1}, "params": {"page": 2}, "label": "page 2"}`.
2. Or paste one or more (multi-line) curl commands into **curl commands**.
3. Optional: **Headers for every request** (for example an `Authorization: Bearer …` token), a **method** and a **body** for the plain-URL lines.
4. Click **Start**. Results appear in the dataset; export to JSON, CSV or Excel, or read them through the API.
5. To monitor, switch on **Only changed responses** and add a schedule. The first run delivers everything (`change: "new"`), later runs only what changed (`change: "changed"`).

### Pricing

| Event | Price |
|---|---|
| Successful response (status below 400) | $0.001 ($1 per 1,000) |
| Timeout, connection error, 4xx or 5xx answer, unreadable line | free |
| Unchanged response in only-changed mode | free |
| Run start | $0.0005 |

Example: 10,000 API calls with 9,800 successful answers cost about $9.80.

### Limits and safety

- Up to 10,000 requests per run, up to 50 in parallel and at most 5 at a time to one host, so you do not flood a server.
- Responses longer than **Max body size** (default 500 KB) are cut and marked `truncated`; the hash covers what was read.
- Private and internal network addresses (localhost, 10.x, 169.254.x and similar) are refused, also after a redirect.
- No proxies and no CAPTCHA solving: this is a clean HTTP client for public APIs and pages. Your headers and tokens are only sent to the URL you call and are never logged.

### FAQ

**Can I send a different body to each URL?** Yes: use one JSON object per line with its own `json` or `body`.

**Does it follow redirects?** Yes, up to 10, and the row shows `final_url` and the number of `redirects`. Switch it off to see the 301/302 itself.

**Can I use it from Make, n8n, Zapier or an AI agent?** Yes. Call the Actor with the Apify integration or the Apify MCP server and pass `urls` as a list; each row is a self-contained answer.

**Is a 404 charged?** No. Only answers with a status below 400 are charged.

### Related tools from rowfeed

- [Redirect Checker & Website Status Checker](https://apify.com/rowfeed/redirect-checker) – status and every redirect hop for thousands of URLs, $0.10 per 1,000.
- [Sitemap URL Extractor](https://apify.com/rowfeed/sitemap-url-extractor) – get every URL of a site first, then call them here.
- [Google Sheets Export](https://apify.com/rowfeed/google-sheets-export) – send the results straight into a Google Sheet.

Questions or a curl command that does not parse? Open an issue on the Issues tab and it gets fixed.

# Actor input Schema

## `urls` (type: `array`):

One request per line: a URL (https://api.example.com/v1/items), "POST https://...", a one-line curl command, or a JSON object like {"url": "https://...", "method": "POST", "json": {...}}. Up to 10,000 per run. Without http:// or https://, https:// is used.

## `curl` (type: `string`):

Paste one or more curl commands, also multi-line ones from your browser's DevTools (Copy as cURL) or API docs. Each command is one request. Supported: -X, -H, -d/--data-raw, --json, -u, -A, -b, -G, -I.

## `method` (type: `string`):

Used for lines that are just a URL. curl commands and JSON objects keep their own method. Empty = GET, or POST when a body is set.

## `headers` (type: `object`):

Added to every request, e.g. {"Authorization": "Bearer YOUR_TOKEN", "Accept": "application/json"}. A curl command's own headers win.

## `body` (type: `string`):

Sent with every plain-URL line (not with curl commands or JSON objects). A JSON body gets Content-Type: application/json automatically.

## `onlyChanged` (type: `boolean`):

Remember each response between runs and deliver a request only when its response body changed (or is new). Unchanged responses are left out and not charged. Use with a schedule to watch an API, a price, a status page or a JSON feed.

## `followRedirects` (type: `boolean`):

Follow up to 10 redirects and report the final URL.

## `includeHeaders` (type: `boolean`):

Add the response headers to each row.

## `timeoutSecs` (type: `integer`):

Per request. A request that takes longer becomes a free timeout row.

## `maxBodyKb` (type: `integer`):

Longer responses are cut at this size (the row says truncated).

## `concurrency` (type: `integer`):

Requests in flight at once (max 5 per host).

## Actor input object example

```json
{
  "urls": [
    "https://jsonplaceholder.typicode.com/todos/1",
    "POST https://jsonplaceholder.typicode.com/posts"
  ],
  "curl": "curl -X POST https://jsonplaceholder.typicode.com/posts -H \"Content-Type: application/json\" -d '{\"title\": \"hello\", \"userId\": 1}'",
  "method": "",
  "headers": {
    "Accept": "application/json"
  },
  "onlyChanged": false,
  "followRedirects": true,
  "includeHeaders": true,
  "timeoutSecs": 30,
  "maxBodyKb": 500,
  "concurrency": 10
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://jsonplaceholder.typicode.com/todos/1",
        "https://api.frankfurter.dev/v1/latest?base=USD&symbols=EUR,GBP"
    ],
    "curl": "curl -X POST https://jsonplaceholder.typicode.com/posts -H \"Content-Type: application/json\" -d '{\"title\": \"hello\", \"userId\": 1}'",
    "headers": {
        "Accept": "application/json"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rowfeed/http-request-runner").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "urls": [
        "https://jsonplaceholder.typicode.com/todos/1",
        "https://api.frankfurter.dev/v1/latest?base=USD&symbols=EUR,GBP",
    ],
    "curl": "curl -X POST https://jsonplaceholder.typicode.com/posts -H \"Content-Type: application/json\" -d '{\"title\": \"hello\", \"userId\": 1}'",
    "headers": { "Accept": "application/json" },
}

# Run the Actor and wait for it to finish
run = client.actor("rowfeed/http-request-runner").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://jsonplaceholder.typicode.com/todos/1",
    "https://api.frankfurter.dev/v1/latest?base=USD&symbols=EUR,GBP"
  ],
  "curl": "curl -X POST https://jsonplaceholder.typicode.com/posts -H \\"Content-Type: application/json\\" -d '\''{\\"title\\": \\"hello\\", \\"userId\\": 1}'\''",
  "headers": {
    "Accept": "application/json"
  }
}' |
apify call rowfeed/http-request-runner --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rowfeed/http-request-runner"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/fHOFzh33xD1tAgT0F/builds/yUXBVvBc8DDNCXXAA/openapi.json
