Skip to main content
POST
Estimate a Template Run
Checks the inputs the same way a run does and returns the credits a run should cost. It’s free and needs no API key, so it’s also a quick way to validate inputs.
note explains what can add to the number, such as AI tokens or a second step that visits each website. credits is null when the cost can’t be known in advance. Inputs that need fixing return 422:

Path Parameters

slug
string
required

The template's slug.

Body

application/json
inputs
object

The template's inputs, by key.

Response

The estimate.

status
enum<string>
Available options:
success
credits
number | null

Credits the run should cost. Null when it can't be known in advance.

note
string | null

What can add to the estimate, such as AI tokens or a second step.

pages
integer | null

Pages the run reads.