{"uid":"cap_c1fGYUDPpEsHkZNU9UzzP","slug":"agentindex-x402-agent-health-check-ef938b08","name":"AgentIndex x402 Agent Health Check","description":"Fresh operational audit of any public agent or paid API: reachability, latency, HTTP status, x402 challenge, price/network/payTo, OpenAPI, agent card and MCP manifest. Returns a 0-100 score, verdict and issues. Try GET /agent-health/sample.","url":"https://x402.agentindex.world/agent-health?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":"Public agent, MCP or x402 endpoint URL to audit."},"body":{"description":"Optional JSON body when probing a non-GET target."},"method":{"enum":["GET","POST","PUT","HEAD"],"type":"string","description":"HTTP method for the target endpoint; defaults to GET."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["url","origin","operational","verdict","score","latency_ms","target","x402","discovery","issues"],"properties":{"url":{"type":"string"},"x402":{"type":"object"},"score":{"type":"integer"},"issues":{"type":"array","items":{"type":"string"}},"origin":{"type":"string"},"target":{"type":"object"},"verdict":{"enum":["operational","degraded","unreachable"],"type":"string"},"discovery":{"type":"object"},"latency_ms":{"type":"integer"},"operational":{"type":"boolean"},"x402_receipt":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"url":"https://x402.agentindex.world/search","x402":{"valid":true,"network":"eip155:8453","version":2,"price_usdc":0.0001},"score":100,"issues":[],"origin":"https://x402.agentindex.world","target":{"reachable":true,"http_status":402},"verdict":"operational","discovery":{"openapi":{"found":true,"status":200,"path_count":18},"agent_card":{"found":true,"status":200,"skill_count":27},"mcp_manifest":{"found":true,"status":200},"x402_manifest":{"found":true,"status":200}},"latency_ms":84,"operational":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jZMDX81-uLeeDEEvJcDPh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Audits a public agent, MCP, or x402 endpoint URL and returns an operational health score, discovery metadata, x402 payment config validity, and reachability verdict.","exampleAgentPrompt":"Can you audit the endpoint at https://x402.example.com/search and tell me if it's operational, what health score it gets, and whether its x402 payment config and discovery metadata like OpenAPI and agent card are correctly set up?","exampleUseCases":[{"title":"Verify agent before integration","prompt":"Before I integrate this agent tool at https://x402.someagent.dev/tools into my workflow, can you check if it's reachable, what its health score is, and whether it has a valid x402 payment setup on Base?"},{"title":"Debug a degraded MCP server","prompt":"My MCP server at https://mcp.myproject.io/mcp is acting up — can you probe it and tell me what issues are detected, what the latency looks like, and whether it's showing as operational or degraded?"},{"title":"Confirm discovery metadata completeness","prompt":"Check https://x402.agentindex.world/search and tell me if its OpenAPI spec, agent card, and x402 manifest are all discoverable and returning 200, and what the overall discovery score looks like."}],"resultDescription":"Returns a JSON object with: operational boolean, verdict enum (operational/degraded/unreachable), integer health score (0-100), latency in milliseconds, x402 config details (network, version, price_usdc, valid flag), discovery metadata (OpenAPI path count, agent card skill count, MCP manifest status, x402 manifest status), list of issues found, and the origin URL.","failureModes":["Target URL is unreachable — verdict returns 'unreachable' with reachable:false and issues list","Target lacks x402 headers — x402.valid returns false","Discovery endpoints (OpenAPI, agent card, MCP manifest) not found — found:false in discovery object","High latency causing degraded verdict","Invalid or missing URL parameter causes request rejection","Target URL returns unexpected HTTP status codes"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify that a specific agent, MCP server, or x402-enabled API endpoint is live, correctly configured for pay-per-call payments on Base, and discoverable via standard agent protocols. Prefer this over generic uptime monitors when you specifically need x402 payment config validation, agent card/OpenAPI/MCP manifest discovery checks, and an AI-agent-oriented health score in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:49:14.489Z","isFirstParty":false,"canonicalSlug":"agentindex-x402-agent-health-check-ef938b08"}