{"uid":"cap_q235rlJlMEqSgxgnR2EzI","slug":"bright-gaming-url-assertions-e4b131ed","name":"Bright Gaming URL Assertions","description":"Check one public HTTP(S) URL against caller-defined status, header, literal text, JSON pointer and raw SHA-256 assertions. Returns PASS, FAIL, or INCONCLUSIVE with an evidence receipt. PASS and FAIL are chargeable results; INCONCLUSIVE and declared service failures are no-charge.","url":"https://playbrightgaming.com/agent-services-mainnet/url-assertions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","pattern":"^https?://","maxLength":2048,"minLength":1},"requiredText":{"type":"array","items":{"type":"string","maxLength":1024,"minLength":1},"maxItems":10,"minItems":1},"forbiddenText":{"type":"array","items":{"type":"string","maxLength":1024,"minLength":1},"maxItems":10,"minItems":1},"expectedSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"expectedStatus":{"anyOf":[{"type":"integer","maximum":599,"minimum":200},{"type":"array","items":{"type":"integer","maximum":599,"minimum":200},"maxItems":8,"minItems":1,"uniqueItems":true}]},"jsonAssertions":{"type":"array","items":{"oneOf":[{"type":"object","required":["pointer","op","value"],"properties":{"op":{"const":"exists"},"value":{"type":"boolean"},"pointer":{"type":"string","maxLength":512,"minLength":0}},"additionalProperties":false},{"type":"object","required":["pointer","op","value"],"properties":{"op":{"const":"equals"},"value":{},"pointer":{"type":"string","maxLength":512,"minLength":0}},"additionalProperties":false},{"type":"object","required":["pointer","op","value"],"properties":{"op":{"const":"type"},"value":{"enum":["null","boolean","number","integer","string","array","object"]},"pointer":{"type":"string","maxLength":512,"minLength":0}},"additionalProperties":false}]},"maxItems":20,"minItems":1},"requiredHeaders":{"type":"object","maxProperties":20,"minProperties":1,"propertyNames":{"type":"string","pattern":"^[!#$%&'*+.^_`|~0-9A-Za-z-]+$","maxLength":128,"minLength":1},"additionalProperties":{"type":"object","required":["match","value"],"properties":{"match":{"enum":["exact","contains"]},"value":{"type":"string","maxLength":1024,"minLength":0}},"additionalProperties":false}},"forbiddenHeaders":{"type":"array","items":{"type":"string","pattern":"^[!#$%&'*+.^_`|~0-9A-Za-z-]+$","maxLength":128,"minLength":1},"maxItems":20,"minItems":1,"uniqueItems":true},"expectedContentType":{"type":"string","maxLength":128,"minLength":1}}},"responseSchema":null,"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_TLUIoRvo839r-VNMMugGr","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":"Fetches a public URL and validates it against a set of declared assertions (required/forbidden text, SHA-256 hash, HTTP status, JSON pointer checks, headers, content type)","exampleAgentPrompt":"Check whether https://api.myservice.com/status is reachable with a 200 status, contains the text 'operational', does not contain the text 'degraded', and has a Content-Type of application/json.","exampleUseCases":[{"title":"API health gate before deployment","prompt":"Before we deploy, verify that https://api.staging.example.com/health returns a 200 status, includes the text 'healthy' in the body, and doesn't contain the word 'error'."},{"title":"Content integrity check for published file","prompt":"Fetch https://cdn.example.com/release/manifest.json and confirm its SHA-256 hash is a3f1b2c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2 so I know it hasn't been tampered with."},{"title":"JSON API field assertion for agent pipeline","prompt":"Hit https://data.partner.com/api/v2/config and assert that the JSON field at /featureFlags/agentEnabled equals true and that the /version field is of type string."}],"resultDescription":"Returns a structured pass/fail result for each declared assertion against the fetched URL — including the actual HTTP status code received, whether required and forbidden text strings were found or absent, whether the response body SHA-256 matches, whether JSON pointer assertions passed, whether required headers are present with matching values, and whether the content-type matches the expectation. An overall pass/fail summary indicates whether all assertions succeeded.","failureModes":["URL is unreachable or times out — network error returned","Required text not found in response body — assertion fails","Forbidden text found in response body — assertion fails","SHA-256 hash mismatch — integrity assertion fails","Unexpected HTTP status code — status assertion fails","JSON pointer does not resolve or value mismatches — JSON assertion fails","Required header missing or value mismatch — header assertion fails","Payment not provided or insufficient — 402 Payment Required returned","URL scheme is not http or https — input validation error","More than allowed number of assertions provided — schema validation error"],"whenToPreferThis":"Use this endpoint when an AI agent needs to independently verify that a public URL meets a set of precise, declarative conditions — such as confirming content integrity, validating API responses, or gating workflows on live URL state — and when you want a machine-payable, auditable, replay-safe result without managing your own HTTP fetching and assertion logic. Prefer this over generic scraping tools when you need structured pass/fail assertion semantics rather than raw content extraction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-29T00:32:54.172Z","isFirstParty":false,"canonicalSlug":"bright-gaming-url-assertions-e4b131ed"}