{"uid":"cap_HxPw_SYDB0Nkfg0WTj1uy","slug":"yog-x402-api-health-check-24575d10","name":"Yog x402 API Health Check","description":"Yog x402 is a paid LLM-as-a-service API with three text capabilities plus a free-tier liveness ping, all paid via x402 USDC on Base. classify_text ($0.01) classifies text into one of your supplied labels — sentiment tagging, routing support tickets, labeling data for ML pipelines. json_repair ($0.02) fixes malformed/messy text into valid JSON — cleaning up LLM output or scraped JSON that's slightly malformed before further processing. extract_fields ($0.03) pulls named fields from source text and will not fabricate values — structured extraction from unstructured text (name/date/amount from invoices or emails).","url":"https://api.gosyog.lol/api/service/yog/api_health_check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"method":{"enum":["GET","HEAD"]},"expected_status":{"type":"integer"},"expected_json_schema":{"type":"object"}}},"responseSchema":{"type":"json","example":{"ok":true,"result":{"status":200,"reachable":true,"status_match":true}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_atru0mF3SFqOiQletN0lS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pings a URL to verify it is reachable, returns the HTTP status code, and optionally validates the response against an expected status or JSON schema","exampleAgentPrompt":"Can you do a health check on https://api.example.com/v1/status using a GET request and confirm it comes back with a 200 status?","exampleUseCases":[{"title":"Pre-call liveness check for agent pipeline","prompt":"Before my agent calls the payment API, can you ping https://api.payments.example.com/health with a GET and make sure it's reachable and returning 200?"},{"title":"Schema validation before data ingestion","prompt":"Check that https://data.myservice.io/api/feed responds to a GET with a 200 and returns JSON that matches this schema: {\"type\":\"object\",\"properties\":{\"items\":{\"type\":\"array\"}}}."},{"title":"Verify third-party webhook endpoint is live","prompt":"Can you do a HEAD request to https://hooks.partner.io/receive and tell me if it's reachable and what status code it returns?"}],"resultDescription":"Returns a JSON object with an 'ok' boolean and a 'result' object containing: whether the URL was reachable, the actual HTTP status code returned, and whether it matched the expected status code (if one was provided).","failureModes":["URL is unreachable or DNS fails — reachable: false with no status code","Expected status does not match actual status — status_match: false","Invalid URI format provided — validation error before request is made","Timeout if remote server is slow to respond","Expected JSON schema provided but response body is not JSON"],"whenToPreferThis":"Use this endpoint as a lightweight, free-tier liveness check when you need to confirm a URL is reachable and optionally validate its response status or JSON shape before invoking more expensive downstream operations. Prefer it over other Yog x402 endpoints (classify_text, json_repair, extract_fields) when you don't need LLM-based text processing — just a simple HTTP probe with optional schema assertion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:31:58.293Z","isFirstParty":false,"canonicalSlug":"yog-x402-api-health-check-24575d10"}