# Kompass Company Data Scraper

> Kompass Company Data Scraper is a paid API for AI agents from api.scrapeforagents.tech, paid per call via x402, $0.06/call, status unknown (last checked 2026-10-02).

Scrapes structured company profile data from Kompass business directories by keyword search or direct profile URLs, returning enriched company records.

## Facts

- Endpoint: POST https://api.scrapeforagents.tech/v1/kompass?utm_source=zero.xyz
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kompass-company-data-scraper-191268cf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hT_2S5OqQf3VNHtVurQc1

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability kompass-company-data-scraper-191268cf -d '<json body>'
```

Example prompt: Search Kompass for up to 200 hydraulic equipment manufacturers in Germany, visit each company profile for full details, and also fetch any PDF catalogue links you find.

## When to prefer this

Choose this endpoint when you need structured, machine-readable company data from the Kompass B2B directory — especially for supplier discovery, lead generation, or competitor research across specific countries or industries. It is particularly useful when you have Kompass search URLs or sitemap leaves and need bulk extraction without writing custom scrapers. Prefer this over generic web scrapers when the target is specifically Kompass, as it handles Kompass's authentication patterns, pagination, and sitemap structure natively.

## Known failure modes

- Kompass blocks scraping for certain profiles, returning partial records with detailStatus marked as failed
- Country code mismatch causes no results to be returned for keyword searches
- Search URLs pointing to gated or members-only Kompass content yield empty or minimal records
- Sitemap leaf URLs may only yield IDs and URL-derived names if profile pages are inaccessible
- Exceeding maxResults cap silently truncates results at the specified limit

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

Returns a JSON object with a count of matched companies and an array of company records. Each record includes the company's internal ID, display name, data source, name source, URL slug, description, detail status (indicating whether profile details were successfully fetched), and the discovery URL. When catalogue fetching is enabled, PDF and video links are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "country": {
   "type": "string",
   "description": "Two-letter country code for keyword searches; with searchUrls, exclude results hosted on other country subdomains."
  },
  "maxResults": {
   "type": "integer",
   "default": 100,
   "maximum": 10000,
   "minimum": 1,
   "description": "Stop after this many company records across all input URLs."
  },
  "searchUrls": {
   "type": "array",
   "description": "Public Kompass search URLs, direct profiles, or company news/product sitemap .txt leaves. Sitemap leaves yield IDs and URL-derived names when profiles are blocked. When supplied, these take priority over searchQuery."
  },
  "searchQuery": {
   "type": "string",
   "description": "Keyword to search when searchUrls is empty. The country code selects the country subdomain."
  },
  "includeDetails": {
   "type": "boolean",
   "default": false,
   "description": "Visit each company profile for public details. If access fails, keep discoverable listing or sitemap fields and mark detailStatus. Direct profile URLs always fetch the profile."
  },
  "fetchCatalogueLinks": {
   "type": "boolean",
   "default": false,
   "description": "Visit each company media page to look for public PDF catalogue and video links; adds one request per company."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "id": null,
    "name": null,
    "dataSource": null,
    "nameSource": null,
    "companySlug": null,
    "description": null,
    "detailStatus": null,
    "discoveryUrl": null
   }
  ],
  "product": "kompass"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kompass-company-data-scraper-191268cf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.scrapeforagents.tech](https://www.zero.xyz/host/api.scrapeforagents.tech/llms.txt)
