# Forest Infra HTTP Latency Sampler

> Forest Infra HTTP Latency Sampler is a paid API for AI agents from http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Measures sequential HTTP response-time samples (up to 3) for a public endpoint, returning bounded timing data without load-testing or port-scanning.

## Facts

- Endpoint: POST https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/http/latency?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forest-infra-http-latency-sampler-9415fdc2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D1_4ebZlJa30Ay7zOmRUa

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability forest-infra-http-latency-sampler-9415fdc2 -d '<json body>'
```

Example prompt: Can you measure the response time of https://api.example.com/health with 3 timing samples so I can see how consistently fast it is?

## When to prefer this

Choose this endpoint when you need lightweight, bounded latency measurements for a single public HTTP endpoint with up to 3 sequential samples. It is not a load-testing or port-scanning tool, making it safe and appropriate for routine monitoring, pre-deployment checks, or quick performance spot-checks. Prefer it over full monitoring platforms when you only need a quick, point-in-time latency reading without side effects or infrastructure setup.

## Known failure modes

- URL is not publicly reachable or times out — returns an error or no timing data
- URL fails pattern validation (must start with http:// or https://) — request rejected
- samples value outside allowed range (must be 1-3) — request rejected
- Target server returns non-standard response interfering with timing measurement
- Payment not received or insufficient — request blocked by x402 payment requirement

## How this service works

Measure bounded sequential timing samples for one public HTTP endpoint. Samples are hard-capped at three and this is never a load-testing or port-scanning service. Base mainnet USDC

## Output

Returns a set of sequential HTTP timing samples (between 1 and 3) for the given public URL, including measured response durations per request. Hard-capped at 3 samples; no load-testing or parallel probing is performed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "pattern": "^https?://",
   "maxLength": 2048,
   "description": "Public HTTP(S) URL to inspect, resolve, or compare."
  },
  "samples": {
   "type": "integer",
   "maximum": 3,
   "minimum": 1,
   "description": "Number of sequential timing samples to collect."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forest-infra-http-latency-sampler-9415fdc2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run](https://www.zero.xyz/host/http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/llms.txt)
