{"openapi":"3.1.0","info":{"title":"Provenant API","version":"1.0.0","description":"Company and domain due diligence for AI agents and humans. Pay per call with x402 (USDC) or prepaid card credits. No signup required for x402.","x-guidance":"Use Provenant before an agent pays, onboards, links to or recommends an unknown business. Start with the free GET /v1/preview?domain= for a 0-100 trust score. For a decision that involves money or personal data, call GET /v1/dossier?domain= ($0.05): it returns proceed / caution / avoid with evidence. For UK companies, find the number with GET /v1/uk/search?q= ($0.005), then GET /v1/uk/company?number= ($0.02). For lists, POST /v1/batch/domain ($0.006 per domain, 1-25). Every paid call answers 402 with x402 v2 payment terms (USDC on Base). You are never charged for errors.","contact":{"name":"Provenant","url":"https://provenant.provenant.workers.dev/contact.html"}},"servers":[{"url":"https://provenant.provenant.workers.dev"}],"components":{"securitySchemes":{"credits":{"type":"http","scheme":"bearer","description":"Prepaid credit key (pv_...) bought by card"}}},"paths":{"/v1/domain":{"get":{"operationId":"domain_check","summary":"Domain & website trust check ($0.01)","description":"One call returns a domain's registration age and registrar (RDAP), DNS, mail provider, SPF/DMARC posture, HTTPS status, security headers, site metadata, detected UK company number, and a 0-100 trust score with the reasons behind it.\n\nPrice: $0.01 per call. Pay with x402 (USDC, Base) by retrying with a PAYMENT-SIGNATURE header, or with a prepaid key (Authorization: Bearer pv_...). Not charged on errors.","x-price-usd":0.01,"x-payment":{"protocol":"x402","version":2,"scheme":"exact","network":"eip155:8453"},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","amount":"0.010000","currency":"USD"},"network":"eip155:8453","asset":"USDC"},"tags":["paid"],"parameters":[{"name":"domain","in":"query","required":true,"description":"Domain or URL, e.g. monzo.com","schema":{"type":"string","example":"monzo.com"}}],"security":[{},{"credits":[]}],"responses":{"200":{"description":"Result plus a payment receipt. PAYMENT-RESPONSE header carries the x402 settlement.","content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"trust":{"type":"object","properties":{"score":{"type":"number"},"band":{"type":"string"},"reasons":{"type":"array","items":{"type":"string"}}}},"registration":{"type":"object","properties":{"created":{"type":"string"},"registrar":{"type":"string"},"expires":{"type":"string"},"ageDays":{"type":"number"}}},"email":{"type":"object","properties":{"provider":{"type":"string"},"spf":{"type":"string"},"dmarcPolicy":{"type":"string"}}},"web":{"type":"object","properties":{"https":{"type":"boolean"},"status":{"type":"number"},"title":{"type":"string"},"hsts":{"type":"boolean"},"ukCompanyNumbers":{"type":"array","items":{"type":"string"}}}},"receipt":{"type":"object","description":"Proof of payment","properties":{"receiptId":{"type":"string"},"product":{"type":"string"},"amount":{"type":"string"},"network":{"type":"string"},"payer":{"type":"string"},"transaction":{"type":"string"},"explorer":{"type":"string"},"settledAt":{"type":"string","format":"date-time"}}}}},"example":{"domain":"example.co.uk","trust":{"score":82,"band":"good","reasons":["Registered 14.2 years ago","DMARC policy is reject","HTTPS with HSTS"]},"registration":{"created":"2011-03-02","registrar":"Example Registrar Ltd","expires":"2027-03-02","ageDays":5380},"email":{"provider":"Google Workspace","spf":"v=spf1 include:_spf.google.com ~all","dmarcPolicy":"reject"},"web":{"https":true,"status":200,"title":"Example Ltd","hsts":true,"ukCompanyNumbers":["01234567"]}}}}},"400":{"description":"Invalid input or malformed payment. Not charged."},"402":{"description":"Payment required. PAYMENT-REQUIRED header (base64 JSON) lists accepted payment requirements."},"409":{"description":"Payment authorization already used (replay). Not charged."},"429":{"description":"Rate limited. Not charged."},"502":{"description":"Upstream source unavailable. Not charged; safe to retry with the same payment."}}}},"/v1/uk/company":{"get":{"operationId":"uk_company","summary":"UK company report (Companies House) ($0.02)","description":"Official UK registry profile for a company number: status, age, registered address, SIC codes, accounts and confirmation-statement deadlines (with overdue flags), officers, persons with significant control, insolvency and charges history, plus a risk assessment with reasons.\n\nPrice: $0.02 per call. Pay with x402 (USDC, Base) by retrying with a PAYMENT-SIGNATURE header, or with a prepaid key (Authorization: Bearer pv_...). Not charged on errors.","x-price-usd":0.02,"x-payment":{"protocol":"x402","version":2,"scheme":"exact","network":"eip155:8453"},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","amount":"0.020000","currency":"USD"},"network":"eip155:8453","asset":"USDC"},"tags":["paid"],"parameters":[{"name":"number","in":"query","required":true,"description":"8-character Companies House number, e.g. 09446231","schema":{"type":"string","example":"09446231"}}],"security":[{},{"credits":[]}],"responses":{"200":{"description":"Result plus a payment receipt. PAYMENT-RESPONSE header carries the x402 settlement.","content":{"application/json":{"schema":{"type":"object","properties":{"company":{"type":"object","properties":{"number":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"type":{"type":"string"},"incorporated":{"type":"string"},"ageYears":{"type":"number"}}},"filings":{"type":"object","properties":{"accountsOverdue":{"type":"boolean"},"confirmationStatementOverdue":{"type":"boolean"},"nextAccountsDue":{"type":"string"}}},"officers":{"type":"object","properties":{"active":{"type":"number"},"resignedLast12m":{"type":"number"}}},"psc":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"natureOfControl":{"type":"array","items":{"type":"string"}}}}},"risk":{"type":"object","properties":{"score":{"type":"number"},"band":{"type":"string"},"flags":{"type":"array"}}},"receipt":{"type":"object","description":"Proof of payment","properties":{"receiptId":{"type":"string"},"product":{"type":"string"},"amount":{"type":"string"},"network":{"type":"string"},"payer":{"type":"string"},"transaction":{"type":"string"},"explorer":{"type":"string"},"settledAt":{"type":"string","format":"date-time"}}}}},"example":{"company":{"number":"01234567","name":"EXAMPLE TRADING LIMITED","status":"active","type":"ltd","incorporated":"2011-03-01","ageYears":15.7},"filings":{"accountsOverdue":false,"confirmationStatementOverdue":false,"nextAccountsDue":"2026-12-31"},"officers":{"active":4,"resignedLast12m":1},"psc":[{"name":"Jane Example","natureOfControl":["ownership-of-shares-75-to-100-percent"]}],"risk":{"score":18,"band":"low","flags":[]}}}}},"400":{"description":"Invalid input or malformed payment. Not charged."},"402":{"description":"Payment required. PAYMENT-REQUIRED header (base64 JSON) lists accepted payment requirements."},"409":{"description":"Payment authorization already used (replay). Not charged."},"429":{"description":"Rate limited. Not charged."},"502":{"description":"Upstream source unavailable. Not charged; safe to retry with the same payment."}}}},"/v1/uk/search":{"get":{"operationId":"uk_search","summary":"UK company search ($0.005)","description":"Find UK companies by name. Returns up to 10 matches with number, status, incorporation date and address so an agent can pick the right entity before buying a report.\n\nPrice: $0.005 per call. Pay with x402 (USDC, Base) by retrying with a PAYMENT-SIGNATURE header, or with a prepaid key (Authorization: Bearer pv_...). Not charged on errors.","x-price-usd":0.005,"x-payment":{"protocol":"x402","version":2,"scheme":"exact","network":"eip155:8453"},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","amount":"0.005000","currency":"USD"},"network":"eip155:8453","asset":"USDC"},"tags":["paid"],"parameters":[{"name":"q","in":"query","required":true,"description":"Company name (or part of it) to search for, min 2 characters, e.g. monzo","schema":{"type":"string","example":"monzo"}}],"security":[{},{"credits":[]}],"responses":{"200":{"description":"Result plus a payment receipt. PAYMENT-RESPONSE header carries the x402 settlement.","content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string"},"results":{"type":"array","items":{"type":"object","properties":{"number":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"incorporated":{"type":"string"},"address":{"type":"string"}}}},"receipt":{"type":"object","description":"Proof of payment","properties":{"receiptId":{"type":"string"},"product":{"type":"string"},"amount":{"type":"string"},"network":{"type":"string"},"payer":{"type":"string"},"transaction":{"type":"string"},"explorer":{"type":"string"},"settledAt":{"type":"string","format":"date-time"}}}}},"example":{"query":"monzo","results":[{"number":"09446231","name":"MONZO BANK LIMITED","status":"active","incorporated":"2015-02-06","address":"Broadwalk House, 5 Appold Street, London, EC2A 2AG"}]}}}},"400":{"description":"Invalid input or malformed payment. Not charged."},"402":{"description":"Payment required. PAYMENT-REQUIRED header (base64 JSON) lists accepted payment requirements."},"409":{"description":"Payment authorization already used (replay). Not charged."},"429":{"description":"Rate limited. Not charged."},"502":{"description":"Upstream source unavailable. Not charged; safe to retry with the same payment."}}}},"/v1/dossier":{"get":{"operationId":"dossier","summary":"Counterparty dossier (domain + company + verdict) ($0.05)","description":"The full due-diligence answer for 'who is behind this website and are they safe to deal with?'. Combines the domain check, extracts the legally-required UK company number from the site, pulls the Companies House report, cross-checks that they match, and returns one verdict (proceed / caution / avoid) with evidence and a plain-English summary.\n\nPrice: $0.05 per call. Pay with x402 (USDC, Base) by retrying with a PAYMENT-SIGNATURE header, or with a prepaid key (Authorization: Bearer pv_...). Not charged on errors.","x-price-usd":0.05,"x-payment":{"protocol":"x402","version":2,"scheme":"exact","network":"eip155:8453"},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","amount":"0.050000","currency":"USD"},"network":"eip155:8453","asset":"USDC"},"tags":["paid"],"parameters":[{"name":"domain","in":"query","required":true,"description":"Domain or URL of the counterparty","schema":{"type":"string","example":"monzo.com"}}],"security":[{},{"credits":[]}],"responses":{"200":{"description":"Result plus a payment receipt. PAYMENT-RESPONSE header carries the x402 settlement.","content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string"},"verdict":{"type":"object","properties":{"decision":{"type":"string"},"confidence":{"type":"string"},"summary":{"type":"string"}}},"entityMatch":{"type":"object","properties":{"method":{"type":"string"},"companyNumber":{"type":"string"},"nameMatch":{"type":"boolean"}}},"domainCheck":{"type":"object","properties":{"domain":{"type":"string"},"trust":{"type":"object","properties":{"score":{"type":"number"},"band":{"type":"string"},"reasons":{"type":"array","items":{"type":"string"}}}},"registration":{"type":"object","properties":{"created":{"type":"string"},"registrar":{"type":"string"},"expires":{"type":"string"},"ageDays":{"type":"number"}}},"email":{"type":"object","properties":{"provider":{"type":"string"},"spf":{"type":"string"},"dmarcPolicy":{"type":"string"}}},"web":{"type":"object","properties":{"https":{"type":"boolean"},"status":{"type":"number"},"title":{"type":"string"},"hsts":{"type":"boolean"},"ukCompanyNumbers":{"type":"array","items":{"type":"string"}}}}}},"company":{"type":"object","properties":{"company":{"type":"object","properties":{"number":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"type":{"type":"string"},"incorporated":{"type":"string"},"ageYears":{"type":"number"}}},"filings":{"type":"object","properties":{"accountsOverdue":{"type":"boolean"},"confirmationStatementOverdue":{"type":"boolean"},"nextAccountsDue":{"type":"string"}}},"officers":{"type":"object","properties":{"active":{"type":"number"},"resignedLast12m":{"type":"number"}}},"risk":{"type":"object","properties":{"score":{"type":"number"},"band":{"type":"string"},"flags":{"type":"array"}}}}},"receipt":{"type":"object","description":"Proof of payment","properties":{"receiptId":{"type":"string"},"product":{"type":"string"},"amount":{"type":"string"},"network":{"type":"string"},"payer":{"type":"string"},"transaction":{"type":"string"},"explorer":{"type":"string"},"settledAt":{"type":"string","format":"date-time"}}}}},"example":{"domain":"example.co.uk","verdict":{"decision":"proceed","confidence":"high","summary":"Established UK limited company (est. 2011), filings up to date, domain registered 14 years, strong email security. Website names the same company number found at Companies House."},"entityMatch":{"method":"website-footer-company-number","companyNumber":"01234567","nameMatch":true},"domainCheck":{"domain":"example.co.uk","trust":{"score":82,"band":"good","reasons":["Registered 14.2 years ago","DMARC policy is reject","HTTPS with HSTS"]},"registration":{"created":"2011-03-02","registrar":"Example Registrar Ltd","expires":"2027-03-02","ageDays":5380},"email":{"provider":"Google Workspace","spf":"v=spf1 include:_spf.google.com ~all","dmarcPolicy":"reject"},"web":{"https":true,"status":200,"title":"Example Ltd","hsts":true,"ukCompanyNumbers":["01234567"]}},"company":{"company":{"number":"01234567","name":"EXAMPLE TRADING LIMITED","status":"active","type":"ltd","incorporated":"2011-03-01","ageYears":15.7},"filings":{"accountsOverdue":false,"confirmationStatementOverdue":false,"nextAccountsDue":"2026-12-31"},"officers":{"active":4,"resignedLast12m":1},"risk":{"score":18,"band":"low","flags":[]}}}}}},"400":{"description":"Invalid input or malformed payment. Not charged."},"402":{"description":"Payment required. PAYMENT-REQUIRED header (base64 JSON) lists accepted payment requirements."},"409":{"description":"Payment authorization already used (replay). Not charged."},"429":{"description":"Rate limited. Not charged."},"502":{"description":"Upstream source unavailable. Not charged; safe to retry with the same payment."}}}},"/v1/read":{"get":{"operationId":"read_page","summary":"Web page reader (URL to clean Markdown) ($0.003)","description":"Fetch any public web page and get its readable content back as clean Markdown, with title, meta description, language, word count and the first 50 links. Scripts, navigation and boilerplate are stripped. Handles redirects, HTML, plain text and JSON; output is capped at 40,000 characters.\n\nPrice: $0.003 per call. Pay with x402 (USDC, Base) by retrying with a PAYMENT-SIGNATURE header, or with a prepaid key (Authorization: Bearer pv_...). Not charged on errors.","x-price-usd":0.003,"x-payment":{"protocol":"x402","version":2,"scheme":"exact","network":"eip155:8453"},"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","amount":"0.003000","currency":"USD"},"network":"eip155:8453","asset":"USDC"},"tags":["paid"],"parameters":[{"name":"url","in":"query","required":true,"description":"Public http(s) URL of the page to read, e.g. https://www.gov.uk/limited-company-formation","schema":{"type":"string","example":"https://www.gov.uk/limited-company-formation"}}],"security":[{},{"credits":[]}],"responses":{"200":{"description":"Result plus a payment receipt. PAYMENT-RESPONSE header carries the x402 settlement.","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"finalUrl":{"type":"string"},"status":{"type":"number"},"contentType":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"lang":{"type":"string"},"wordCount":{"type":"number"},"truncated":{"type":"boolean"},"markdown":{"type":"string"},"links":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"url":{"type":"string"}}}},"fetchedAt":{"type":"string"},"receipt":{"type":"object","description":"Proof of payment","properties":{"receiptId":{"type":"string"},"product":{"type":"string"},"amount":{"type":"string"},"network":{"type":"string"},"payer":{"type":"string"},"transaction":{"type":"string"},"explorer":{"type":"string"},"settledAt":{"type":"string","format":"date-time"}}}}},"example":{"url":"https://www.gov.uk/limited-company-formation","finalUrl":"https://www.gov.uk/limited-company-formation","status":200,"contentType":"text/html","title":"Set up a private limited company: Overview - GOV.UK","description":"How to set up a limited company - choose a name, directors, shareholders, register your company.","lang":"en","wordCount":412,"truncated":false,"markdown":"# Set up a private limited company\n\nYou can set up a private limited company yourself...","links":[{"text":"Choose a company name","url":"https://www.gov.uk/limited-company-formation/choose-company-name"}],"fetchedAt":"2026-11-27T20:00:00.000Z"}}}},"400":{"description":"Invalid input or malformed payment. Not charged."},"402":{"description":"Payment required. PAYMENT-REQUIRED header (base64 JSON) lists accepted payment requirements."},"409":{"description":"Payment authorization already used (replay). Not charged."},"429":{"description":"Rate limited. Not charged."},"502":{"description":"Upstream source unavailable. Not charged; safe to retry with the same payment."}}}},"/v1/batch/domain":{"post":{"operationId":"batch_domain","summary":"Batch domain trust check (1-25 domains, $0.006 each) ($0.006 per domain)","description":"Run the full domain & website trust check on 1-25 domains in one paid call. Priced per unique domain: $0.006 each (40% less than single calls), so 2 domains cost $0.012 and 25 cost $0.15. Ideal for vetting lead lists, supplier lists, marketplaces and outbound links.\n\nPrice: $0.006 per unique domain in the body. Pay with x402 (USDC, Base) by retrying with a PAYMENT-SIGNATURE header, or with a prepaid key (Authorization: Bearer pv_...). Not charged on errors.","x-price-usd":0.006,"x-payment":{"protocol":"x402","version":2,"scheme":"exact","network":"eip155:8453"},"x-payment-info":{"protocols":["x402"],"price":{"mode":"dynamic","min":"0.006000","max":"0.150000","currency":"USD"},"network":"eip155:8453","asset":"USDC"},"tags":["paid"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["domains"],"properties":{"domains":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":25}}},"example":{"domains":["monzo.com","bbc.co.uk"]}}}},"security":[{},{"credits":[]}],"responses":{"200":{"description":"Result plus a payment receipt. PAYMENT-RESPONSE header carries the x402 settlement.","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"number"},"results":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"trust":{"type":"object","properties":{"score":{"type":"number"},"band":{"type":"string"},"reasons":{"type":"array","items":{"type":"string"}}}},"registration":{"type":"object","properties":{"created":{"type":"string"},"ageDays":{"type":"number"}}},"web":{"type":"object","properties":{"https":{"type":"boolean"},"status":{"type":"number"}}}}}},"receipt":{"type":"object","description":"Proof of payment","properties":{"receiptId":{"type":"string"},"product":{"type":"string"},"amount":{"type":"string"},"network":{"type":"string"},"payer":{"type":"string"},"transaction":{"type":"string"},"explorer":{"type":"string"},"settledAt":{"type":"string","format":"date-time"}}}}},"example":{"count":2,"results":[{"domain":"example.co.uk","trust":{"score":82,"band":"good","reasons":["Registered 14.2 years ago","DMARC policy is reject"]},"registration":{"created":"2011-03-02","ageDays":5380},"web":{"https":true,"status":200}},{"domain":"new-shop-example.top","trust":{"score":31,"band":"poor","reasons":["Registered 9 days ago","No DMARC record"]},"registration":{"created":"2026-11-18","ageDays":9},"web":{"https":true,"status":200}}]}}}},"400":{"description":"Invalid input or malformed payment. Not charged."},"402":{"description":"Payment required. PAYMENT-REQUIRED header (base64 JSON) lists accepted payment requirements."},"409":{"description":"Payment authorization already used (replay). Not charged."},"429":{"description":"Rate limited. Not charged."},"502":{"description":"Upstream source unavailable. Not charged; safe to retry with the same payment."}}}},"/v1/preview":{"get":{"operationId":"preview","summary":"Free domain preview (rate limited)","tags":["free"],"security":[],"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Trust score and band only"}}}},"/v1/examples":{"get":{"operationId":"examples","summary":"Free static sample output for every paid endpoint","tags":["free"],"security":[],"responses":{"200":{"description":"Example responses keyed by product id"}}}},"/mcp":{"post":{"operationId":"mcp","summary":"MCP server (streamable HTTP, JSON-RPC 2.0). Paid tools use the x402 MCP transport: retry tools/call with _meta['x402/payment'].","tags":["mcp"],"security":[],"requestBody":{"required":true,"content":{"application/json":{"example":{"jsonrpc":"2.0","id":1,"method":"tools/list"}}}},"responses":{"200":{"description":"JSON-RPC response"}}}},"/health":{"get":{"operationId":"health","summary":"Health check","tags":["free"],"security":[],"responses":{"200":{"description":"ok"}}}}}}