{
  "generated_at": "2026-04-24T15:01:35.625676+00:00",
  "slug": "health-port402-com-entrypoints-api-health-check-invoke",
  "title": "Port402 \u00b7 API Health Check & Alerting",
  "url": "https://health.port402.com/entrypoints/api-health-check/invoke",
  "category": "tools",
  "summary": "Probe HTTP endpoints with timed requests and trigger alerts when status or latency thresholds fail.",
  "seo": {
    "title": "Port402 x402 API: HTTP Endpoint Health Monitoring",
    "description": "Monitor API health with 250ms-spaced probes, latency checks, and webhook alerts via x402. $0.001 per health check on Base."
  },
  "use_cases": [
    "Monitor API uptime with configurable probe intervals",
    "Validate latency budgets for SLA compliance",
    "Dispatch webhook alerts on endpoint failures",
    "Run distributed health checks from multiple regions"
  ],
  "ideal_buyer": "DevOps automation agents and SRE systems requiring low-cost API monitoring infrastructure.",
  "example_prompt": "Check if https://api.example.com/health is responding within 500ms and alert me via webhook if it fails.",
  "example_request_body": {
    "url": "https://api.example.com/health",
    "webhook": "https://alerts.example.com/webhook",
    "latencyBudgetMs": 500
  },
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "cheap_outlier",
    "ratio": 0.05,
    "median_category_atomic": 20000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0x64c2310bd1151266aa2ad2410447e133b7f84e29",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "1000",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "Send four 250 ms-spaced HEAD/GET probes to an HTTP(S) endpoint, evaluate status + latency budgets, and optionally dispatch alert webhooks on failure.",
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST",
          "bodyType": "json",
          "bodyFields": {
            "input": {
              "type": "object",
              "required": [
                "url",
                "method",
                "expectedStatus",
                "maxLatencyMs"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "description": "HTTP(S) endpoint to verify (e.g., https://api.example.com/)"
                },
                "method": {
                  "enum": [
                    "HEAD",
                    "GET"
                  ],
                  "type": "string",
                  "description": "HTTP method used for the probe (HEAD or GET)"
                },
                "maxLatencyMs": {
                  "type": "integer",
                  "description": "Latency budget in milliseconds (e.g., 1000)"
                },
                "expectedStatus": {
                  "type": "integer",
                  "description": "Status code considered healthy (e.g., 200)"
                },
                "alertWebhookUrl": {
                  "type": "string",
                  "description": "Webhook invoked when the health check fails (e.g., https://example.com/my-webhook)"
                }
              }
            }
          }
        },
        "output": {
          "output": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "health",
              "context"
            ],
            "properties": {
              "alert": {
                "type": "object",
                "required": [
                  "dispatched",
                  "message"
                ],
                "properties": {
                  "status": {
                    "type": "number"
                  },
                  "message": {
                    "type": "string"
                  },
                  "webhook": {
                    "type": "string"
                  },
                  "dispatched": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "health": {
                "type": "object",
                "required": [
                  "url",
                  "method",
                  "checkedAt",
                  "status",
                  "expectedStatus",
                  "ok",
                  "expectedStatusMet",
                  "latencyMs",
                  "withinLatencyBudget"
                ],
                "properties": {
                  "ok": {
                    "type": "boolean"
                  },
                  "url": {
                    "type": "string"
                  },
                  "method": {
                    "enum": [
                      "HEAD",
                      "GET"
                    ],
                    "type": "string"
                  },
                  "status": {
                    "type": "number"
                  },
                  "checkedAt": {
                    "type": "string"
                  },
                  "latencyMs": {
                    "type": "number"
                  },
                  "errorMessage": {
                    "type": "string"
                  },
                  "expectedStatus": {
                    "type": "number"
                  },
                  "expectedStatusMet": {
                    "type": "boolean"
                  },
                  "withinLatencyBudget": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "context": {
                "type": "object",
                "required": [
                  "runId",
                  "agentVersion"
                ],
                "properties": {
                  "runId": {
                    "type": "string"
                  },
                  "agentVersion": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          }
        }
      }
    }
  ],
  "duplicate_cluster_id": "data-cl-9803abbd90d4",
  "origin": {
    "slug": "health-port402-com",
    "host": "health.port402.com",
    "url": "https://health.port402.com"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/health-port402-com-entrypoints-api-health-check-invoke",
    "url": "https://x402all.com/resource/health-port402-com-entrypoints-api-health-check-invoke",
    "name": "Port402 \u00b7 API Health Check & Alerting",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/health-port402-com-entrypoints-api-health-check-invoke",
      "@type": "Offer",
      "price": "0.001",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.001000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent",
      "additionalProperty": [
        {
          "@type": "PropertyValue",
          "name": "paymentNetwork",
          "value": "base"
        },
        {
          "@type": "PropertyValue",
          "name": "paymentAsset",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ]
    },
    "sameAs": "https://health.port402.com/entrypoints/api-health-check/invoke",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/health-port402-com",
      "url": "https://health.port402.com",
      "name": "health.port402.com",
      "@type": "Organization"
    },
    "identifier": "health-port402-com-entrypoints-api-health-check-invoke",
    "description": "Monitor API health with 250ms-spaced probes, latency checks, and webhook alerts via x402. $0.001 per health check on Base.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=health-port402-com-entrypoints-api-health-check-invoke",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "tools"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=health-port402-com-entrypoints-api-health-check-invoke"
}
