{"uid":"cap_6sb5fuT833IGRYx18XWTL","slug":"jp-data-api-watch-alert-creator-ded42cc7","name":"JP Data API - Watch/Alert Creator","description":"Create a persistent watch (alert) that this API evaluates automatically every hour. Supported types: fx (JPY rate crosses a threshold), quake (earthquake at or above a magnitude), filing (EDINET filing by a company name). Returns a watchId; poll /watch/check to see if it triggered. Pay once to create, cheap to poll.","url":"https://jp-data-api-production.up.railway.app/watch/create","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":["type"],"properties":{"ns":{"type":"string","description":"optional namespace to group your watches"},"op":{"type":"string","description":"fx only: above | below"},"type":{"type":"string","description":"fx | quake | filing"},"value":{"type":"string","description":"fx: JPY rate, quake: magnitude, filing: unused"},"target":{"type":"string","description":"fx: currency code (USD, EUR...) | quake: unused | filing: company name substring"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UA2jsQuC9zeMHRrhixvbz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a persistent hourly-evaluated alert (watch) for FX rate thresholds, earthquake magnitudes, or EDINET company filings, returning a watchId for polling.","exampleAgentPrompt":"Set up a watch that alerts me when USD crosses above 155 JPY — I want it grouped under my 'fx-alerts' namespace so I can poll it later.","exampleUseCases":null,"resultDescription":"Returns a watchId (string) that identifies the newly created persistent watch. The watch is evaluated automatically every hour. The caller can use this watchId to poll the /watch/check endpoint to determine whether the condition has triggered (e.g. rate crossed threshold, earthquake detected, filing appeared).","failureModes":["Missing required 'type' query parameter returns error","Invalid type value (not fx/quake/filing) returns validation error","fx watch missing 'op' (above/below) or 'value' may fail","filing watch missing 'target' company name may return error","Payment not provided or invalid returns HTTP 402","Rate limit or server error returns 5xx"],"whenToPreferThis":"Use this endpoint when you need to set up a recurring, automated condition check that should be evaluated hourly without re-paying each time. Ideal for event-driven workflows where you want to be notified when a JPY FX rate crosses a threshold, when an earthquake of a specific magnitude occurs in Japan, or when a Japanese company files an EDINET document. Much cheaper per-check than repeatedly calling live data endpoints; pay once to create, then poll /watch/check cheaply.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:47:31.632Z","isFirstParty":false}