{"openapi":"3.1.0","info":{"title":"PricingCited API","version":"2.0.0","description":"Check whether AI assistants cite your pricing page and quote its price right."},"servers":[{"url":"https://www.pricingcited.com"}],"paths":{"/api/checkout":{"post":{"operationId":"startPricingCheck","summary":"Get a Stripe checkout link for a $99 Pricing Check","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","example":"https://acme.com/pricing"},"brand":{"type":"string"},"competitors":{"type":"array","items":{"type":"string"},"maxItems":3}}}}}},"responses":{"200":{"description":"checkout_url to send the buyer to. After payment they land on /r/{id}."},"429":{"description":"Too many checkout attempts"}}}},"/api/audits/{id}":{"get":{"operationId":"getScan","summary":"Get scan progress, the extracted price sheet, or results","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"format","in":"query","schema":{"type":"string","enum":["json","md"]}}],"responses":{"200":{"description":"The scan","content":{"application/json":{},"text/markdown":{}}},"404":{"description":"Not found"}}}},"/api/audits/{id}/confirm":{"post":{"operationId":"confirmPrices","summary":"Confirm or correct the price sheet and run the engines","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"sheet":{"type":"object","required":["currency","plans","freePlan","trial","notes"],"properties":{"currency":{"type":"string","example":"USD"},"freePlan":{"type":"boolean"},"trial":{"type":"string"},"notes":{"type":"string"},"plans":{"type":"array","items":{"type":"object","required":["name","monthly","annual","unit","limits","contactSales"],"properties":{"name":{"type":"string"},"monthly":{"type":["number","null"]},"annual":{"type":["number","null"],"description":"Per-month price when billed annually"},"unit":{"type":"string","example":"per seat per month"},"limits":{"type":"array","items":{"type":"string"}},"contactSales":{"type":"boolean"}}}}}},"brand":{"type":"string"},"competitors":{"type":"array","items":{"type":"string"}}}}}}},"responses":{"202":{"description":"Engines running"},"409":{"description":"Not waiting for confirmation"}}}},"/api/check":{"get":{"operationId":"checkPage","summary":"Instant AI readiness checks for a page","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Checks"}}}}}}