{"openapi":"3.1.0","info":{"title":"Kompass B2B Companies and Products (x402 & MCP)","version":"0.1.0","description":"Kompass B2B company directories, public contacts and products across 70+ country subdomains, one row per entity.","x-guidance":"Structured real-time web intelligence APIs paid per delivered row in USDC via x402 on Base. All endpoints are synchronous at POST /s/<site>/v1/<endpoint> and also exposed over stateless MCP at POST /mcp. Supports x402 v2 'upto' (Permit2, charged strictly for delivered rows) and 'exact' (EIP-3009). Empty/0-row (404), invalid input (422), timeout (504), and upstream failures (502) are never charged.","contact":{"email":"ops@opendata.best"}},"servers":[{"url":"https://ai.opendata.best"}],"paths":{"/s/kompass-com/v1/search":{"post":{"operationId":"kompass_com_search","summary":"Kompass B2B Companies and Products: Search Kompass companies, products, regions and sectors","description":"Company or product directory rows by country subdomain, query, region or sector. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["kompass-com","Business"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","description":"Leave on Auto to select the mode from the target field you fill. Select Product search or Company product list explicitly when you want those modes.","default":"auto","enum":["auto","company_search","product_search","region","sector"]},"country":{"type":"string","description":"Country subdomain for searches, such as au for au.kompass.com. The default and example use fr; www is a country-selection gateway.","default":"fr","enum":["ae","ar","at","au","az","be","bg","br","ca","ch","cl","cn","co","cz","de","dk","dz","ec","ee","eg","es","fi","fr","gb","ge","gr","hk","hr","hu","id","ie","il","in","it","jp","kr","kz","lb","lt","lu","lv","ma","md","mx","my","nl","no","nz","pe","ph","pk","pl","pt","ro","rs","ru","sa","se","sg","si","sk","th","tn","tr","tw","ua","us","uy","vn","za"]},"query":{"type":"string","description":"One company or product search keyword, such as machinery. This input has its own maxResults row allowance."},"searchQueries":{"type":"array","items":{"type":"string"},"description":"Several search keywords instead of query. Each keyword has its own maxResults row allowance."},"regionUrl":{"type":"string","description":"A Kompass region directory URL whose path starts with /r/. This takes priority over a region name.","pattern":"^\\s*$|^\\s*(https?://)?([A-Za-z0-9-]+\\.)*kompass\\.com/.*"},"regionCode":{"type":"string","description":"A region code, such as au_vic, when no region URL is supplied."},"region":{"type":"string","description":"A recognized region name, such as victoria, ile-de-france or new-york. Use a full region URL when the name is not recognized."},"sectorUrl":{"type":"string","description":"A Kompass sector directory URL whose path starts with /a/. This takes priority over a sector name.","pattern":"^\\s*$|^\\s*(https?://)?([A-Za-z0-9-]+\\.)*kompass\\.com/.*"},"sectorId":{"type":"string","description":"A numeric sector ID entered as text when no sector URL is supplied."},"sector":{"type":"string","description":"A recognized sector name, such as agriculture, or a numeric sector ID. Use a full sector URL when the name is not recognized."},"maxPages":{"type":"integer","description":"Page setting from 1 to 50, used to limit region, sector and company product-list pages. Search sources handle page depth differently; use maxResults to limit delivered rows.","default":1,"minimum":1,"maximum":50},"page":{"type":"integer","description":"Search start-page setting, beginning at 1. Not every search source uses this setting.","default":1,"minimum":1,"maximum":100},"enrichDetails":{"type":"boolean","description":"Read company pages to add available phones, emails, street addresses, websites and executives to the same row. Enabled by default; product rows do not inherit supplier contacts.","default":true},"includeSponsored":{"type":"boolean","description":"Keep sponsored rows when enabled; they count toward maxResults and are billed like other rows. Disabled by default; RUN_SUMMARY.sponsoredSkipped counts excluded sponsored rows.","default":false},"maxResults":{"type":"integer","description":"Most company or product rows for each keyword or URL. Default 70; larger numbers are collected in parts of 70. The whole run stops at your maximum total charge. Free platform plan: up to 200 rows per run and 10 runs of this Actor (limits set by the Actor developer).","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"mode":"company_search","country":"de","query":"armaturen","maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_kompass_com"},"example":{"jobId":"job_kompass-_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"type":"example_type","country":"example_country","name":"example_name","title":"example_title","companyName":"example_companyName","kompassId":"example_kompassId"}],"meta":{"site":"kompass-com","endpoint":"search","maxResults":10,"payment":{"scheme":"upto","network":"eip155:8453","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/kompass-com/v1/companies":{"post":{"operationId":"kompass_com_companies","summary":"Kompass B2B Companies and Products: Company profiles and company product lists","description":"Company profile or product catalog rows for a given Kompass companyUrl or detailUrls. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["kompass-com","Business"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","description":"Leave on Auto to select the mode from the target field you fill. Select Product search or Company product list explicitly when you want those modes.","default":"company","enum":["company","company_products"]},"country":{"type":"string","description":"Country subdomain for searches, such as au for au.kompass.com. The default and example use fr; www is a country-selection gateway.","default":"fr","enum":["ae","ar","at","au","az","be","bg","br","ca","ch","cl","cn","co","cz","de","dk","dz","ec","ee","eg","es","fi","fr","gb","ge","gr","hk","hr","hu","id","ie","il","in","it","jp","kr","kz","lb","lt","lu","lv","ma","md","mx","my","nl","no","nz","pe","ph","pk","pl","pt","ro","rs","ru","sa","se","sg","si","sk","th","tn","tr","tw","ua","us","uy","vn","za"]},"companyUrl":{"type":"string","description":"A Kompass company page URL, or its product-list URL for Company product list mode. This target takes priority over a keyword.","pattern":"^\\s*$|^\\s*(https?://)?([A-Za-z0-9-]+\\.)*kompass\\.com/.*"},"detailUrls":{"type":"array","items":{"type":"string"},"description":"Several company, product, region or sector URLs of the same kind; each has its own maxResults allowance. This list replaces individual target URLs, and region or sector mode requires matching /r/ or /a/ list URLs."},"enrichDetails":{"type":"boolean","description":"Read company pages to add available phones, emails, street addresses, websites and executives to the same row. Enabled by default; product rows do not inherit supplier contacts.","default":true},"maxResults":{"type":"integer","description":"Most company or product rows for each keyword or URL. Default 70; larger numbers are collected in parts of 70. The whole run stops at your maximum total charge. Free platform plan: up to 200 rows per run and 10 runs of this Actor (limits set by the Actor developer).","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"mode":"company","companyUrl":"https://fr.kompass.com/c/ipo-technologie/fr8380178/","maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_kompass_com"},"example":{"jobId":"job_kompass-_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"type":"example_type","country":"example_country","name":"example_name","title":"example_title","companyName":"example_companyName","kompassId":"example_kompassId"}],"meta":{"site":"kompass-com","endpoint":"companies","maxResults":10,"payment":{"scheme":"upto","network":"eip155:8453","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/kompass-com/v1/products":{"post":{"operationId":"kompass_com_products","summary":"Kompass B2B Companies and Products: Product details by product URL","description":"Product rows for a given Kompass productUrl or detailUrls. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["kompass-com","Business"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"country":{"type":"string","description":"Country subdomain for searches, such as au for au.kompass.com. The default and example use fr; www is a country-selection gateway.","default":"fr","enum":["ae","ar","at","au","az","be","bg","br","ca","ch","cl","cn","co","cz","de","dk","dz","ec","ee","eg","es","fi","fr","gb","ge","gr","hk","hr","hu","id","ie","il","in","it","jp","kr","kz","lb","lt","lu","lv","ma","md","mx","my","nl","no","nz","pe","ph","pk","pl","pt","ro","rs","ru","sa","se","sg","si","sk","th","tn","tr","tw","ua","us","uy","vn","za"]},"productUrl":{"type":"string","description":"A complete Kompass product-page URL whose path starts with /p/.","pattern":"^\\s*$|^\\s*(https?://)?([A-Za-z0-9-]+\\.)*kompass\\.com/.*"},"detailUrls":{"type":"array","items":{"type":"string"},"description":"Several company, product, region or sector URLs of the same kind; each has its own maxResults allowance. This list replaces individual target URLs, and region or sector mode requires matching /r/ or /a/ list URLs."},"maxResults":{"type":"integer","description":"Most company or product rows for each keyword or URL. Default 70; larger numbers are collected in parts of 70. The whole run stops at your maximum total charge. Free platform plan: up to 200 rows per run and 10 runs of this Actor (limits set by the Actor developer).","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"productUrl":"https://fr.kompass.com/p/ipo-technologie/fr8380178/panel-pc-industriel-en-coffret-metal-vitus-15m/10967/","maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_kompass_com"},"example":{"jobId":"job_kompass-_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"type":"example_type","country":"example_country","name":"example_name","title":"example_title","companyName":"example_companyName","kompassId":"example_kompassId"}],"meta":{"site":"kompass-com","endpoint":"products","maxResults":10,"payment":{"scheme":"upto","network":"eip155:8453","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/kompass-com/v1/health":{"get":{"operationId":"kompass_com_health","summary":"Kompass B2B Companies and Products: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["kompass-com","health"],"responses":{"200":{"description":"Operational","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"charged":{"type":"boolean"}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}},"Row_kompass_com":{"type":"object","properties":{"type":{"type":["string","null"],"title":"Type"},"country":{"type":["string","null"],"title":"Country"},"name":{"type":["string","null"],"title":"Name"},"title":{"type":["string","null"],"title":"Title"},"companyName":{"type":["string","null"],"title":"Company"},"kompassId":{"type":["string","null"],"title":"Kompass ID"},"url":{"type":["string","null"],"format":"uri","title":"URL"},"location":{"type":["string","null"],"title":"Location"},"companyTypes":{"type":["array","null"],"title":"Company types"},"phones":{"type":["string","null"],"title":"Phones"},"emails":{"type":["string","null"],"title":"Emails"},"address.full":{"type":["string","null"],"title":"Address"},"person.name":{"type":["string","null"],"title":"Contact person"},"executives":{"type":["array","null"],"title":"Executives"},"org.name":{"type":["string","null"],"title":"Organization"},"web.website":{"type":["string","null"],"format":"uri","title":"Website"},"leadSource":{"type":["string","null"],"title":"Lead source"},"leadReveal":{"type":["string","null"],"title":"Lead reveal"},"leadAbsences":{"type":["string","null"],"title":"Lead absences"},"productId":{"type":["string","null"],"title":"Product ID"},"companyId":{"type":["string","null"],"title":"Company ID"},"naceCodes":{"type":["array","null"],"title":"NACE codes"},"certifications":{"type":["array","null"],"title":"Certifications"},"website":{"type":["string","null"],"format":"uri","title":"Website URL"},"email":{"type":["string","null"],"title":"Email"},"employees":{"type":["string","null"],"title":"Employees"},"scrapedAt":{"type":["string","null"],"title":"Scraped"}},"additionalProperties":true},"Response_kompass_com":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"done":{"type":"boolean"},"rowCount":{"type":"integer","minimum":1},"rowsBilled":{"type":"integer","minimum":1},"rowsDelivered":{"type":"integer","minimum":1},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row_kompass_com"}},"meta":{"type":"object","properties":{"site":{"type":"string"},"endpoint":{"type":"string"},"maxResults":{"type":"integer"},"payment":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"quotedMicrousd":{"type":"integer"},"settledMicrousd":{"type":"integer"},"transaction":{"type":"string"},"payer":{"type":"string"}}}}}},"required":["jobId","status","done","rowCount","rows"]}}}}