{"uid":"cap_HrgA2lhGNHcxA0xQhxtmQ","slug":"api-strale-io-7dbd36a3","name":"API Health Check & Integration Test","description":"Test an API endpoint: send request, validate response status and schema. Integration testing as a service.","url":"https://api.strale.io/x402/api-health-check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"API endpoint URL"},"body":{},"method":{"type":"string"},"headers":{"type":"object"},"expected_schema":{"type":"object"},"expected_status":{"type":"integer"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"url":"https://httpbin.org/status/200","method":"GET","expected_status":200},"response":{"url":"https://httpbin.org/status/200","_meta":{"payment":{"method":"x402","price_usd":0.054000000000000006,"settlement_id":"0xd12aded3f7f51ad338b5903ef118e73eac84d39cd667d7380370952694e64b79"},"capability":"api-health-check","latency_ms":115,"provenance":{"source":"http-request","fetched_at":"2026-06-13T04:25:25.433Z"}},"method":"GET","is_healthy":true,"status_code":200,"content_type":"text/html; charset=utf-8","schema_valid":null,"status_valid":true,"response_body":"","expected_status":200,"response_headers":{"date":"Sat, 13 Jun 2026 04:25:25 GMT","server":"gunicorn/19.9.0","connection":"keep-alive","content-type":"text/html; charset=utf-8","content-length":"0","access-control-allow-origin":"*","access-control-allow-credentials":"true"},"response_time_ms":115}},"exampleRequest":{"url":"https://httpbin.org/status/200","method":"GET","expected_status":200},"tags":["x402"],"displayCostAmount":"0.054001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.054001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_n29p8ug9S6Wo1wEjzvuVx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends an HTTP GET, HEAD, or DELETE request to a target API endpoint and validates the response status code and/or JSON schema.","exampleAgentPrompt":"Can you test whether https://api.example.com/users returns a 200 status and matches this JSON schema: {\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\"},\"name\":{\"type\":\"string\"}}}} — use a GET request.","exampleUseCases":null,"resultDescription":"Returns a validation result indicating whether the target API endpoint responded with the expected HTTP status code and whether the response body conforms to the provided JSON schema, along with the actual status and any schema mismatch details.","failureModes":["Target URL is unreachable or times out — returns connection error","Expected status does not match actual status — returns validation failure with both values","Response body does not conform to expected_schema — returns schema diff","Invalid or malformed URL provided — returns input validation error","Method not in allowed enum (only GET, HEAD, DELETE) — returns 422 unprocessable"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify that a live API endpoint is healthy, returns the correct HTTP status, and/or conforms to an expected JSON schema — especially useful in CI/CD pipelines, automated integration tests, or pre-deployment checks. Prefer this over generic uptime monitors when schema validation is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:48:26.258Z","isFirstParty":false,"canonicalSlug":"api-strale-io-7dbd36a3"}