API Test Runner — HTTP Checks, Assertions & Latency for Any API
Pricing
from $0.50 / 1,000 results
API Test Runner — HTTP Checks, Assertions & Latency for Any API
Run a list of HTTP requests with assertions on status, timing, body, headers and JSON values; chain login → token → calls; p50/p95 latency; secrets never logged; private addresses refused. Schedule it as an API monitor.
Pricing
from $0.50 / 1,000 results
Rating
0.0
(0)
Developer
Alauddin burki
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Features
Share
Write your API checks once as a list of requests and expectations; run them on demand or on a schedule as an API monitor. Each request is checked for status, response time, body text, headers and JSON values; values can be captured and reused (log in → take the token → call the API); requests can be repeated for p50/p95 latency. Every check is reported pass/fail with the reason.
Safe by design
- Secrets (tokens, API keys) go in a secret field, are used as
{{NAME}}, and are masked everywhere in the output and never logged. - Private, loopback and cloud-metadata addresses are refused — also when a public URL redirects to one — so the Actor cannot be pointed at internal systems.
Example
{"requests": [{ "name": "login", "method": "POST", "url": "https://api.example.com/login","json": { "user": "monitor", "password": "{{PASSWORD}}" },"expect": { "status": 200, "json": [{ "path": "token", "exists": true }] },"capture": { "token": "token" } },{ "name": "orders", "url": "https://api.example.com/orders?limit=5","headers": { "authorization": "Bearer {{token}}" },"expect": { "status": 200, "maxMs": 800, "json": [{ "path": "items", "type": "array", "minLength": 1 }] } }],"secrets": "PASSWORD=…","repeat": 5}
Assertions: status (one or a list), maxMs, bodyContains, bodyNotContains, headers (name, contains),
json (path with equals, exists, type, minLength, matches). Capture from json.path, header:Name or
status. Turn on failRunOnFailure so a scheduled run fails — and Apify alerts you — when an API breaks.
Output
| Field | Example |
|---|---|
name, passed, status | orders · true · 200 |
ms, p50Ms, p95Ms, runs | 142 · 150 · 210 · 5 |
failedChecks | ["status 404 — got 200"] |
checks | every assertion with its result |
error | timeouts, network errors, refused addresses |
responseExcerpt | first 500 characters, secrets masked |
Pricing
Pay per result: $0.0005 per row. Plus a start fee of $0.0001 per GB of allocated memory (minimum one event). One row is one request (all its repeats).
Verification status (2026-11-11, local)
- ✅ 6 unit tests: JSON paths, templating, every assertion type, percentiles, the private-address guard (incl. 169.254.169.254 and IPv6 local), redaction.
- ✅ Live (jsonplaceholder.typicode.com): list → capture → get, POST 201, an intentionally wrong expectation reported, metadata and localhost refused, an http→https redirect followed with each hop checked; the secret token appeared in neither the log nor the dataset; 0 schema mismatches.