{"uid":"cap_cEAfln4PH7M9VyCUzPa0B","slug":"straits-live-webhook-registration-strait-of-hormuz-crisis-monitor-1368b172","name":"Straits.live Webhook Registration – Strait of Hormuz Crisis Monitor","description":"Is the Strait of Hormuz open? Effectively no, it is closed to commercial shipping as of 13 July 2026. 34 ships transited vs ~88/day normal. Brent $81.10. Updated every 5 minutes.","url":"https://straits.live/api/premium/webhooks","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"events":{"type":"string"}}},"responseSchema":{"type":"json","example":{"id":"...","schema":"https://straits.live/api/premium/webhooks","secret":"...","expiresAt":"2026-08-08T12:00:00Z","deliveriesRemaining":100}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wz8x1OekItVxxlplfAG_G","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Registers a webhook subscription to receive real-time push notifications for Strait of Hormuz shipping crisis events","exampleAgentPrompt":"Set up a webhook for me on Straits.live so I get pushed notifications whenever the Hormuz transit count or open/closed verdict changes — subscribe to all events and let me know the secret and expiry.","exampleUseCases":[{"title":"Automated oil market alert pipeline","prompt":"Register a Straits.live webhook to push me an alert whenever there's a change in the Strait of Hormuz open/closed verdict or the transit count — I want to wire it into my trading desk's Slack channel."},{"title":"Geopolitical risk dashboard integration","prompt":"I'm building a live risk dashboard — can you sign me up for all Hormuz crisis events on Straits.live so my backend gets pushed updates whenever the situation changes, and give me the webhook secret for verification?"},{"title":"Logistics disruption early-warning system","prompt":"Set up a Straits.live webhook subscription for all Hormuz shipping events so our freight operations team gets automatic push notifications the moment transit conditions or the closure status shifts."}],"resultDescription":"Returns a JSON object containing a unique webhook ID, the schema URL for the subscription, a signing secret for payload verification, an expiry timestamp (e.g. 2026-08-08T12:00:00Z), and the number of remaining deliveries (e.g. 100). The agent can use the secret to validate incoming webhook payloads and the expiry to know when to renew.","failureModes":["Invalid or missing 'events' filter string returns a 400 Bad Request","Payment of 0.5 USDC not completed via x402 protocol results in 402 Payment Required","Malformed webhook target URL causes registration failure","Quota exhausted — deliveries remaining reaches 0 before expiry, stopping further notifications","Webhook expires at expiresAt timestamp requiring re-registration","Network or service downtime at straits.live causes registration to fail with 5xx error"],"whenToPreferThis":"Choose this endpoint when you need event-driven, push-based notifications about Strait of Hormuz shipping crisis changes rather than polling. It is ideal for automated pipelines, trading systems, or dashboards that must react immediately to changes in transit counts, open/closed verdicts, or oil price triggers without continuously calling the status API. Prefer this over polling endpoints when low latency reaction to state changes is critical and you want to minimize API call costs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:31:34.197Z","isFirstParty":false}