# ForgeMesh HTTP Check

> ForgeMesh HTTP Check is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Probes a given URL and returns its HTTP status code, response time, server header, content type, and cache policy as an instant health check.

## Facts

- Endpoint: POST https://x402.forgemesh.io/http-check
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-http-check-afbda0b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oSLliv5ya-bla40L-PsDe

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 forgemesh-http-check-afbda0b6 -d '<json body>'
```

Example prompt: Can you check if https://api.myservice.com/health is actually up right now, and tell me its status code, how fast it responded, and what server it's running?

## When to prefer this

Use this endpoint when you need a quick, single-call HTTP health check that returns structured metadata (status, latency, server, content-type, cache) rather than full page content. Ideal for uptime monitors, pre-crawl validation, dependency health checks, and scheduled agent heartbeats. Prefer over raw fetch when you need structured diagnostics without handling raw responses yourself, and when SSRF protection is a requirement.

## Known failure modes

- SSRF protection blocks private/internal IP ranges and localhost URLs
- Target URL is unreachable or times out, returning an error or timeout status
- Malformed URL input returns a validation error
- Target returns an unexpected redirect chain that cannot be resolved
- Payment of 0.002 USDC not provided or fails, resulting in 402 response

## How this service works

HTTP check API: probe any URL and get its status code, response time in milliseconds, server header, content type, and cache policy — an instant is-it-up heartbeat. For uptime monitors, dependency health checks, and pre-crawl validation. SSRF-guarded; scheduled agents welcome.

## Output

Returns the HTTP status code, response time in milliseconds, server header value, content type, and cache policy for the probed URL — everything needed for an instant uptime heartbeat or health check.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "up": true,
  "server": "ECS",
  "status": 200,
  "response_ms": 184
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-http-check-afbda0b6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
