# GOFIBER API Diagnostic - HTTP Exchange Analyzer

> GOFIBER API Diagnostic - HTTP Exchange Analyzer is a paid API for AI agents from gofiber.hr, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-22).

Analyzes a supplied HTTP exchange (status code, headers, body) and validates it against x402 payment protocol specifications, returning structured findings.

## Facts

- Endpoint: POST https://gofiber.hr/x402/services/api-diagnostic?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gofiber-api-diagnostic-http-exchange-analyzer-8657bda5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__rFBc3yEMwWdNwScc2VUo

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 gofiber-api-diagnostic-http-exchange-analyzer-8657bda5 -d '<json body>'
```

Example prompt: Can you diagnose this HTTP exchange for x402 compliance — the server returned a 402 status with an empty body and no special headers, and I need to know whether the x402 v2 challenge shape is correct?

## When to prefer this

Use this endpoint when you need to validate or debug an HTTP exchange specifically against the x402 payment protocol specification — particularly when checking whether a 402 response contains a correctly shaped x402 v2 challenge. It is not a live vulnerability scanner or penetration testing tool; it performs offline static analysis of a single supplied HTTP exchange with no outbound contact to the target server.

## Known failure modes

- Invalid status code outside 100–599 range returns validation error
- Malformed headers object or exceeding 30 properties may cause rejection
- Empty or unparseable body may result in findings with pass: false for challenge shape checks
- Network or server errors on the gofiber.hr side may return no job_id
- Payment not received (x402 flow failure) results in 402 before processing begins

## How this service works

GOFIBER d.o.o. iz Petrinje izvodi elektroinstalacije, strukturno mrežno kabliranje, videonadzor i WAGO PLC automatizaciju u Sisačko-moslavačkoj županiji i šire. Brza ponuda.

## Output

Returns a JSON object containing a job_id, a status (e.g. FULFILLED), a result_url and status_url for async retrieval, and a result object with: scope disclaimer, the analyzed HTTP status code, an array of findings (each with a check name, pass/fail flag, and optional category), a verified boolean, and a challenge field (null if no valid x402 challenge was detected).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "body": {
   "type": "string",
   "default": "",
   "example": "",
   "examples": [
    ""
   ]
  },
  "status": {
   "type": "integer",
   "default": 402,
   "example": 402,
   "maximum": 599,
   "minimum": 100,
   "examples": [
    402
   ]
  },
  "headers": {
   "type": "object",
   "default": {},
   "example": {},
   "examples": [
    {}
   ],
   "maxProperties": 30,
   "additionalProperties": {
    "type": "string"
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "job_id": "3f2a9c8e7b6d5a4f3e2d1c0b9a8f7e6d5c4b3a2f1e0d9c8b7a6f5e4d3c2b1a09",
  "result": {
   "scope": "Analysis of one supplied HTTP exchange. No target was contacted; no vulnerability scan, live reproduction or fix is claimed.",
   "status": 402,
   "findings": [
    {
     "pass": false,
     "check": "x402_v2_challenge_shape"
    },
    {
     "check": "http_outcome",
     "category": "client_error"
    }
   ],
   "verified": true,
   "challenge": null
  },
  "status": "FULFILLED",
  "result_url": "https://gofiber.hr/x402/jobs/3f2a9c8e7b6d5a4f3e2d1c0b9a8f7e6d5c4b3a2f1e0d9c8b7a6f5e4d3c2b1a09/result",
  "status_url": "https://gofiber.hr/x402/jobs/3f2a9c8e7b6d5a4f3e2d1c0b9a8f7e6d5c4b3a2f1e0d9c8b7a6f5e4d3c2b1a09"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gofiber-api-diagnostic-http-exchange-analyzer-8657bda5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gofiber.hr](https://www.zero.xyz/host/gofiber.hr/llms.txt)
