Watch an endpoint for changes
create_watchCheck an endpoint on a schedule and POST to webhook_url when its data changes. Each check is charged the endpoint's own credit cost, and refunded if it fails or comes back empty; creating a watch costs nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | The arguments that endpoint's own tool takes. | |
| endpoint | Yes | Endpoint to watch. Search, trending and popular endpoints are not watchable: they change on every request. | |
| webhook_url | Yes | URL that receives a POST on each change. | |
| interval_seconds | No | Seconds between checks, at most 604800. At least 3600 for every endpoint. Omit it to use the endpoint's suggested interval: hourly for prices and live data, every 6 hours for posts and comments, daily for profiles and ads, weekly for music, link-in-bio pages and transcripts. Each check is charged, so a slower interval costs less. |