Purlock
API Precheck API

Catch the wrong price before it goes live.

Send a draft or a preview link, and we compare it with your Fact Sheet. A wrong price or trial length gets caught in your pipeline, not by a customer.

5 API calls per check. 30 checks a month with the Prices bundle, and 100 with Everything.

What you get

What it does for you

  • Drafts or previews

    Send text, or the address of a preview deploy.

  • Against your own facts

    It compares the draft with the prices and facts you've confirmed.

  • A clear pass or fail

    A true or false you can fail a build on, and a list of what's wrong, worst first.

  • Made for pipelines

    One request from any deploy step, with no setup beyond a key.

How it works

What it looks like in your code

Your request

POST /v1/precheck

{
  "url": "https://preview.yourshop.com/pricing"
}

Good to know

What it can't do

  • It comes with the Prices bundle or Everything, on a verified site, with a key tied to that site.
  • It can only compare with facts you've confirmed, so a thin Fact Sheet catches less.
  • It's automated and can be wrong, so treat it as a check, not a guarantee.

FAQ

Questions, answered

Can I send plain text?
Yes. Send text of at least 20 characters, or a url. A url has to be a public address we can reach.
What's a Fact Sheet?
The prices, trial lengths and other facts confirmed for your site. We build it from your site when you add it, and you confirm what's right.