# Spraay Cron Job Creator

> Spraay Cron Job Creator is a paid API for AI agents from gateway.spraay.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Creates a scheduled (cron) job for recurring payments, dollar-cost averaging, or reminders with configurable schedule, action, and run limits.

## Facts

- Endpoint: POST https://gateway.spraay.app/api/v1/cron/create
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spraay-cron-job-creator-cb87e00b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WG-TKMlOLxQ-B0ukzdOYy

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability spraay-cron-job-creator-cb87e00b -d '<json body>'
```

Example prompt: Set up a recurring DCA job that buys $50 of ETH every Monday at 9am, runs a maximum of 12 times, using a swap action with my wallet payload.

## When to prefer this

Use this endpoint when you need to automate a recurring on-chain or payment action on a time-based schedule — particularly for DCA strategies, recurring payments, or periodic reminders — rather than a one-time transaction. Prefer this over client-side scheduling when you need server-side persistence and guaranteed execution without requiring the client to remain online.

## Known failure modes

- Invalid cron expression in schedule field returns 400 bad request
- Missing required action field causes validation error
- maxRuns of zero or negative number rejected
- Malformed payload object causes downstream execution failure
- Insufficient x402 payment (must include $0.01 USDC) returns 402 Payment Required
- Duplicate job creation for identical schedule and action may result in conflict error

## How this service works

Create scheduled job for recurring payments, DCA, reminders.

## Output

Returns a confirmation of the created cron job including a job ID, the configured schedule (cron expression), the action to be executed, the maximum number of runs, and the payload that will be submitted on each run.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "action": {
   "type": "string"
  },
  "maxRuns": {
   "type": "number"
  },
  "payload": {
   "type": "object"
  },
  "schedule": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spraay-cron-job-creator-cb87e00b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.spraay.app](https://www.zero.xyz/host/gateway.spraay.app/llms.txt)
