{"uid":"cap_PbqImu8iviONNS0mWwA-s","slug":"sitesignal-public-api-endpoint-sanity-check-32196c7a","name":"SiteSignal Public API Endpoint Sanity Check","description":"Run one bounded unauthenticated GET against a public API endpoint and report status, redirects, response hash, and an optional text-presence assertion.","url":"https://phases-prot-shine-royal.trycloudflare.com/x402/api-sanity","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"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"},"expectedText":{"type":"string","maxLength":500},"caseSensitive":{"type":"boolean","default":false},"expectedStatus":{"type":"integer","default":200,"maximum":599,"minimum":100}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ObuVgIMp2d4GLLb61syRJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a single unauthenticated GET request against a public API URL and reports HTTP status, redirects, response hash, and optional text-presence assertion results.","exampleAgentPrompt":"Can you do a quick sanity check on https://api.example.com/v1/health to make sure it returns a 200 status and contains the text 'status: ok'?","exampleUseCases":[{"title":"Pre-flight check before agent workflow","prompt":"Before my workflow starts calling the OpenWeatherMap API, can you probe https://api.openweathermap.org/data/2.5/weather and confirm it's returning a 200 and the word 'weather' appears in the response?"},{"title":"Validate third-party API after reported outage","prompt":"There was a reported outage on Stripe's API earlier — can you hit https://api.stripe.com/v1 and check the status code and whether it's redirecting anywhere unexpected?"},{"title":"Assert expected content in public data feed","prompt":"Can you sanity check https://data.cityofchicago.org/api/views.json to confirm it returns a 200 and contains the text 'tableAuthor' somewhere in the response, case-insensitively?"}],"resultDescription":"Returns the observed HTTP status code, any redirect chain encountered, a hash of the response body for change detection, and whether the optional expected text string was found in the response body (with case sensitivity applied as specified).","failureModes":["Target URL is unreachable or DNS fails — returns error with connection failure detail","Target URL returns an unexpected status code — reports actual vs expected status","Expected text string not found in response body — assertion failure indicated in result","Redirect loop or too many redirects — reported in redirect chain with truncation","Target URL is not a valid URI — input validation error before request is made","Timeout on slow or unresponsive endpoints — returns timeout error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, unauthenticated probe of a single public API URL — especially when you want to combine status checking, redirect detection, response fingerprinting, and optional text assertion in a single call. Prefer this over a full monitoring service when you just need a one-off or pre-flight check without setting up recurring jobs or authentication flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:26:22.788Z","isFirstParty":false}