{"uid":"cap_GIWbcph3ixfv1WqC1QwrP","slug":"magent-clinical-calculators-medical-code-lookup-ping-payment-smoke-test-6b695fd2","name":"magent Clinical Calculators & Medical Code Lookup — Ping/Payment Smoke Test","description":"Deterministic published-formula arithmetic plus ICD-10-CM, RxNorm, and LOINC. Pay in USDC on Base via x402.","url":"https://api.magentlab.com/v1/tools/ping","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"probe":{"type":"string","description":"Ignored. Payment smoke test takes no input."}}},"responseSchema":null,"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_pKab95PXeJq19y3jS0NPe","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":"Health check and payment smoke test endpoint that verifies connectivity and USDC micropayment processing on Base via x402 for the magent clinical calculator suite","exampleAgentPrompt":"Before we start running any of those clinical calculators, can you do a quick ping on the magent API to confirm it's reachable and the USDC payment channel is working?","exampleUseCases":[{"title":"Pre-flight check before clinical workflow","prompt":"Before my agent starts computing ABIC scores and QT prolongation risks for a batch of patients, can you ping the magent API to confirm it's up and the x402 payment flow is working correctly?"},{"title":"Debugging a failed calculator call","prompt":"My call to the magent CHA2DS2-VASc calculator just failed — can you hit the magent ping endpoint to check if the API itself is down or if it's a payment issue?"},{"title":"Monitoring clinical API uptime","prompt":"Set up a quick connectivity check to the magent clinical tools API using the ping endpoint so I know it's available before my clinical decision support workflow kicks off."}],"resultDescription":"Returns a simple health/status response confirming the endpoint is reachable and that the x402 USDC micropayment on Base was processed successfully. No clinical data is returned; this is purely a connectivity and payment-flow verification response.","failureModes":["Network timeout if api.magentlab.com is unreachable","x402 payment failure if USDC wallet has insufficient balance or Base network is congested","402 Payment Required if payment header is malformed or missing","Unexpected 500 if backend service is down"],"whenToPreferThis":"Use this endpoint when you need to verify that the magent API infrastructure is reachable and that x402 USDC micropayment processing is functioning before invoking any of the substantive clinical calculator or medical code lookup endpoints. It is the lowest-cost ($0.001 USDC) way to validate the full payment and connectivity stack.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:49:47.646Z","isFirstParty":false}