{"openapi":"3.0.3","info":{"title":"Lookthrough","version":"1.0.0","contact":{"email":"lookthroughsupport@proton.me"},"description":"Company background reports from official public sources. $3.00 USDC per report via x402 (EIP-3009, gasless) on Base.","x-payment-info":{"protocols":["x402"],"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"3000000","payTo":"0x1CD76fe5f38Ae5B2785962EE5a3799e846E9fA52"}},"servers":[{"url":"https://app.lookthrough.workers.dev"}],"paths":{"/api/order":{"post":{"summary":"Start an order (free coverage check)","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["company","country"],"properties":{"company":{"type":"string"},"country":{"type":"string","enum":["GB","FR","NO","FI","CZ","EE","SK","LV","IL","CA","CY","US"]},"ref":{"type":"string"}}}}}},"responses":{"200":{"description":"Candidates"},"404":{"description":"Not covered / not found"}}}},"/api/order/{order}/entity":{"post":{"summary":"Confirm entity; returns 402 payment requirements (x402)","parameters":[{"name":"order","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["idx"],"properties":{"idx":{"type":"integer"}}}}}},"responses":{"402":{"description":"Payment required - sign and POST /api/order/{order}/pay with PAYMENT-SIGNATURE header"}}}},"/api/order/{order}/pay":{"post":{"summary":"Submit x402 payment (PAYMENT-SIGNATURE header)","parameters":[{"name":"order","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Payment accepted (settled or settling)"},"402":{"description":"Payment rejected"}}}},"/api/order/{order}":{"get":{"summary":"Order status; includes report + report_text when delivered","parameters":[{"name":"order","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Status JSON"}}}},"/api/pay-demo":{"get":{"summary":"Metadata preview only; real flow starts at POST /api/order. This endpoint never accepts payment.","responses":{"402":{"description":"x402 payment requirements for directory crawlers; no pay endpoint exists on this route"}}}},"/sample":{"get":{"summary":"Free sample report (no payment)"}}}}